	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trf7970a_tg_listen_md
_trf7970a_tg_listen_md:                 ## @trf7970a_tg_listen_md
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_nfc_digital_get_drvdata
	movl	(%rax), %edx
	movl	4(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %ecx
	callq	_dev_dbg
	movq	_NFC_DIGITAL_CONFIG_RF_TECH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFC_DIGITAL_RF_TECH_106A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_trf7970a_tg_configure_hw
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_NFC_DIGITAL_CONFIG_FRAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFC_DIGITAL_FRAMING_NFCA_NFC_DEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_trf7970a_tg_configure_hw
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movq	%r14, %rcx
	movl	$1, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__trf7970a_tg_listen            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Listen MD - state: %d, timeout: %d ms\n"

	.comm	_NFC_DIGITAL_CONFIG_RF_TECH,4,2 ## @NFC_DIGITAL_CONFIG_RF_TECH
	.comm	_NFC_DIGITAL_RF_TECH_106A,4,2   ## @NFC_DIGITAL_RF_TECH_106A
	.comm	_NFC_DIGITAL_CONFIG_FRAMING,4,2 ## @NFC_DIGITAL_CONFIG_FRAMING
	.comm	_NFC_DIGITAL_FRAMING_NFCA_NFC_DEP,4,2 ## @NFC_DIGITAL_FRAMING_NFCA_NFC_DEP
	.no_dead_strip	_trf7970a_tg_listen_md
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trf7970a_tg_listen_md
_trf7970a_tg_listen_md:                 ; @trf7970a_tg_listen_md
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_nfc_digital_get_drvdata
	ldp	w2, w8, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	x3, x21
	bl	_dev_dbg
Lloh2:
	adrp	x8, _NFC_DIGITAL_CONFIG_RF_TECH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NFC_DIGITAL_CONFIG_RF_TECH@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _NFC_DIGITAL_RF_TECH_106A@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NFC_DIGITAL_RF_TECH_106A@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_trf7970a_tg_configure_hw
	cbnz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _NFC_DIGITAL_CONFIG_FRAMING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NFC_DIGITAL_CONFIG_FRAMING@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _NFC_DIGITAL_FRAMING_NFCA_NFC_DEP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NFC_DIGITAL_FRAMING_NFCA_NFC_DEP@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_trf7970a_tg_configure_hw
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w4, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__trf7970a_tg_listen
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Listen MD - state: %d, timeout: %d ms\n"

	.comm	_NFC_DIGITAL_CONFIG_RF_TECH,4,2 ; @NFC_DIGITAL_CONFIG_RF_TECH
	.comm	_NFC_DIGITAL_RF_TECH_106A,4,2   ; @NFC_DIGITAL_RF_TECH_106A
	.comm	_NFC_DIGITAL_CONFIG_FRAMING,4,2 ; @NFC_DIGITAL_CONFIG_FRAMING
	.comm	_NFC_DIGITAL_FRAMING_NFCA_NFC_DEP,4,2 ; @NFC_DIGITAL_FRAMING_NFCA_NFC_DEP
	.no_dead_strip	_trf7970a_tg_listen_md
.subsections_via_symbols
