	.file	"extr_kapi.c_pps_register_source.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: unsupported default parameters\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s: unspecified time format\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"%s: unable to create char device\n"
	.section	.rodata.str1.1
.LC3:
	.string	"new PPS source %s\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"%s: unable to register source\n"
	.text
	.p2align 4
	.globl	pps_register_source
	.type	pps_register_source, @function
pps_register_source:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edx, DWORD PTR [rdi]
	mov	ebx, edx
	and	ebx, esi
	cmp	ebx, esi
	jne	.L16
	mov	eax, DWORD PTR PPS_TSFMT_TSPEC[rip]
	or	eax, DWORD PTR PPS_TSFMT_NTPFP[rip]
	test	eax, edx
	je	.L17
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 40
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR PPS_API_VERS[rip]
	mov	edx, DWORD PTR 0[rbp]
	mov	DWORD PTR 32[r12], ebx
	movdqu	xmm0, XMMWORD PTR 0[rbp]
	mov	DWORD PTR 36[r12], eax
	mov	eax, DWORD PTR PPS_ECHOASSERT[rip]
	or	eax, DWORD PTR PPS_ECHOCLEAR[rip]
	movups	XMMWORD PTR 16[r12], xmm0
	test	eax, edx
	jne	.L18
.L5:
	lea	rdi, 8[r12]
	call	init_waitqueue_head@PLT
	lea	rdi, 4[r12]
	call	spin_lock_init@PLT
	mov	rdi, r12
	call	pps_register_cdev@PLT
	test	eax, eax
	js	.L19
	mov	edx, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR [r12]
	lea	rsi, .LC3[rip]
	call	dev_info@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	cmp	QWORD PTR 24[r12], 0
	jne	.L5
	mov	rax, QWORD PTR pps_echo_client_default[rip]
	mov	QWORD PTR 24[r12], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, DWORD PTR 4[rdi]
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
.L3:
	mov	esi, DWORD PTR 4[rbp]
	xor	r12d, r12d
	lea	rdi, .LC4[rip]
	call	pr_err@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rdi]
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, .LC2[rip]
	call	pr_err@PLT
	mov	rdi, r12
	call	kfree@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	pps_register_source, .-pps_register_source
	.comm	pps_echo_client_default,8,8
	.comm	PPS_TSFMT_TSPEC,4,4
	.comm	PPS_TSFMT_NTPFP,4,4
	.comm	PPS_ECHOCLEAR,4,4
	.comm	PPS_ECHOASSERT,4,4
	.comm	PPS_API_VERS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_kapi.c_pps_register_source.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: unsupported default parameters\012\000"
	.align	2
.LC1:
	.ascii	"%s: unspecified time format\012\000"
	.align	2
.LC2:
	.ascii	"%s: unable to create char device\012\000"
	.align	2
.LC3:
	.ascii	"new PPS source %s\012\000"
	.align	2
.LC4:
	.ascii	"%s: unable to register source\012\000"
	.text
	.align	2
	.global	pps_register_source
	.syntax unified
	.arm
	.fpu softvfp
	.type	pps_register_source, %function
pps_register_source:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	bics	r2, r1, r3
	mov	r5, r0
	and	r6, r3, r1
	bne	.L16
	ldr	r2, .L21
	ldr	r1, .L21+4
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r2, r2, r1
	tst	r2, r3
	beq	.L17
	ldr	r3, .L21+8
	mov	r0, #32
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L3
	ldm	r5, {r0, r1, r2}
	ldr	r3, .L21+12
	str	r6, [r4, #24]
	ldr	ip, [r3]
	add	r3, r4, #12
	str	ip, [r4, #28]
	stm	r3, {r0, r1, r2}
	ldr	r3, .L21+16
	ldr	r2, .L21+20
	ldr	r3, [r3]
	ldr	r1, [r2]
	orr	r3, r3, r1
	tst	r3, r0
	bne	.L18
.L5:
	add	r0, r4, #8
	bl	init_waitqueue_head
	add	r0, r4, #4
	bl	spin_lock_init
	mov	r0, r4
	bl	pps_register_cdev
	cmp	r0, #0
	blt	.L19
	ldr	r2, [r5, #4]
	ldr	r1, .L21+24
	ldr	r0, [r4]
	bl	dev_info
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L18:
	ldr	r3, [r4, #20]
	cmp	r3, #0
	ldreq	r3, .L21+28
	ldreq	r3, [r3]
	streq	r3, [r4, #20]
	b	.L5
.L16:
	ldr	r1, [r0, #4]
	ldr	r0, .L21+32
	bl	pr_err
.L3:
	ldr	r1, [r5, #4]
	ldr	r0, .L21+36
	bl	pr_err
	mov	r4, #0
.L20:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r1, [r0, #4]
	ldr	r0, .L21+40
	bl	pr_err
	ldr	r1, [r5, #4]
	ldr	r0, .L21+36
	bl	pr_err
	mov	r4, #0
	b	.L20
.L19:
	ldr	r1, [r5, #4]
	ldr	r0, .L21+44
	bl	pr_err
	mov	r0, r4
	bl	kfree
	b	.L3
.L22:
	.align	2
.L21:
	.word	PPS_TSFMT_TSPEC
	.word	PPS_TSFMT_NTPFP
	.word	GFP_KERNEL
	.word	PPS_API_VERS
	.word	PPS_ECHOASSERT
	.word	PPS_ECHOCLEAR
	.word	.LC3
	.word	pps_echo_client_default
	.word	.LC0
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.size	pps_register_source, .-pps_register_source
	.comm	pps_echo_client_default,4,4
	.comm	PPS_TSFMT_TSPEC,4,4
	.comm	PPS_TSFMT_NTPFP,4,4
	.comm	PPS_ECHOCLEAR,4,4
	.comm	PPS_ECHOASSERT,4,4
	.comm	PPS_API_VERS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
