	.file	"extr_fdp.c_fdp_nci_post_setup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Vendor specific config set error %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Clock set error %d\n"
	.text
	.p2align 4
	.type	fdp_nci_post_setup, @function
fdp_nci_post_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	nci_get_drvdata@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR 16[rax]
	mov	r13, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	je	.L2
	cmp	QWORD PTR [rax], 0
	jne	.L13
.L2:
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	rdi, rbp
	call	fdp_nci_set_clock@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L14
	mov	rdi, rbp
	call	nci_core_reset@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	nci_core_init@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r13
	mov	edx, eax
	lea	rsi, .LC1[rip]
	call	nfc_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rsi, QWORD PTR 24[rax]
	lea	rdx, 32[rax]
	mov	rdi, rbp
	call	fdp_nci_set_production_data@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L2
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	nfc_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fdp_nci_post_setup, .-fdp_nci_post_setup
	.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_fdp.c_fdp_nci_post_setup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Vendor specific config set error %d\012\000"
	.align	2
.LC1:
	.ascii	"Clock set error %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fdp_nci_post_setup, %function
fdp_nci_post_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	nci_get_drvdata
	ldr	r3, [r0, #8]
	ldr	r2, [r0, #12]
	cmp	r3, #0
	mov	r5, r0
	ldr	r7, [r2]
	beq	.L2
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L16
.L2:
	mov	r0, r6
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	bl	fdp_nci_set_clock
	subs	r4, r0, #0
	bne	.L17
	mov	r0, r6
	bl	nci_core_reset
	subs	r4, r0, #0
	beq	.L18
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	nci_core_init
.L17:
	mov	r0, r7
	mov	r2, r4
	ldr	r1, .L19
	bl	nfc_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r0, r6
	ldr	r1, [r3, #12]
	add	r2, r3, #16
	bl	fdp_nci_set_production_data
	subs	r4, r0, #0
	beq	.L2
	mov	r0, r7
	mov	r2, r4
	ldr	r1, .L19+4
	bl	nfc_err
	b	.L1
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	.LC0
	.size	fdp_nci_post_setup, .-fdp_nci_post_setup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
