	.file	"extr_trf7970a.c_trf7970a_tg_listen_md.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Listen MD - state: %d, timeout: %d ms\n"
	.text
	.p2align 4
	.type	trf7970a_tg_listen_md, @function
trf7970a_tg_listen_md:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	nfc_digital_get_drvdata@PLT
	lea	rsi, .LC0[rip]
	mov	ecx, ebp
	mov	edi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	call	dev_dbg@PLT
	mov	edx, DWORD PTR NFC_DIGITAL_RF_TECH_106A[rip]
	mov	esi, DWORD PTR NFC_DIGITAL_CONFIG_RF_TECH[rip]
	mov	rdi, r14
	call	trf7970a_tg_configure_hw@PLT
	test	eax, eax
	je	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, DWORD PTR NFC_DIGITAL_FRAMING_NFCA_NFC_DEP[rip]
	mov	esi, DWORD PTR NFC_DIGITAL_CONFIG_FRAMING[rip]
	mov	rdi, r14
	call	trf7970a_tg_configure_hw@PLT
	test	eax, eax
	jne	.L1
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rcx, r13
	mov	edx, r12d
	mov	esi, ebp
	mov	rdi, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	r8d, 1
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	_trf7970a_tg_listen@PLT
	.cfi_endproc
.LFE0:
	.size	trf7970a_tg_listen_md, .-trf7970a_tg_listen_md
	.comm	NFC_DIGITAL_RF_TECH_106A,4,4
	.comm	NFC_DIGITAL_FRAMING_NFCA_NFC_DEP,4,4
	.comm	NFC_DIGITAL_CONFIG_RF_TECH,4,4
	.comm	NFC_DIGITAL_CONFIG_FRAMING,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_trf7970a.c_trf7970a_tg_listen_md.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Listen MD - state: %d, timeout: %d ms\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	trf7970a_tg_listen_md, %function
trf7970a_tg_listen_md:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r5, r1
	mov	r6, r2
	mov	r7, r3
	mov	r4, r0
	bl	nfc_digital_get_drvdata
	mov	r3, r5
	ldr	r2, [r0]
	ldr	r1, .L6
	ldr	r0, [r0, #4]
	bl	dev_dbg
	ldr	r3, .L6+4
	ldr	r2, .L6+8
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	trf7970a_tg_configure_hw
	cmp	r0, #0
	beq	.L5
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	ldr	r3, .L6+12
	ldr	r2, .L6+16
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	trf7970a_tg_configure_hw
	cmp	r0, #0
	bne	.L1
	mov	ip, #1
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	str	ip, [sp]
	bl	_trf7970a_tg_listen
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	NFC_DIGITAL_CONFIG_RF_TECH
	.word	NFC_DIGITAL_RF_TECH_106A
	.word	NFC_DIGITAL_CONFIG_FRAMING
	.word	NFC_DIGITAL_FRAMING_NFCA_NFC_DEP
	.size	trf7970a_tg_listen_md, .-trf7970a_tg_listen_md
	.comm	NFC_DIGITAL_RF_TECH_106A,4,4
	.comm	NFC_DIGITAL_FRAMING_NFCA_NFC_DEP,4,4
	.comm	NFC_DIGITAL_CONFIG_RF_TECH,4,4
	.comm	NFC_DIGITAL_CONFIG_FRAMING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
