	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st21nfca_hci_ready
_st21nfca_hci_ready:                    ## @st21nfca_hci_ready
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_nfc_hci_get_clientdata
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.2:
	movq	_NFC_HCI_UICC_HOST_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movl	$1, %r8d
	cmpq	$0, (%rax)
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r8d, %r8d
	cmpq	$0, (%rax)
	je	LBB0_5
LBB0_3:
	movq	_ST21NFCA_ESE_HOST_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r8d, %ecx
	incl	%r8d
	movl	%eax, -48(%rbp,%rcx,4)
LBB0_4:
	movq	_NFC_HCI_ADMIN_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFC_HCI_ADMIN_WHITELIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r12, %rdi
	callq	_nfc_hci_set_param
	testl	%eax, %eax
	js	LBB0_13
LBB0_5:
	movq	_ST21NFCA_DEVICE_MGNT_GATE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_ST21NFCA_NFC_MODE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	callq	_nfc_hci_get_param
	testl	%eax, %eax
	js	LBB0_13
## %bb.6:
	movq	-64(%rbp), %rdi
	movq	(%rdi), %rax
	movl	(%rax), %ebx
	movl	%ebx, -52(%rbp)
	callq	_kfree_skb
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.7:
	movl	$1, -52(%rbp)
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	-52(%rbp), %rcx
	movq	%r12, %rdi
	movl	$1, %r8d
	callq	_nfc_hci_set_param
	testl	%eax, %eax
	js	LBB0_13
LBB0_8:
	movq	_NFC_HCI_RF_READER_A_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFC_HCI_EVT_END_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_nfc_hci_send_event
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	movq	_NFC_HCI_ID_MGMT_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFC_HCI_ID_MGMT_VERSION_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	callq	_nfc_hci_get_param
	testl	%eax, %eax
	js	LBB0_13
## %bb.10:
	movq	-64(%rbp), %rdi
	movq	8(%rdi), %rbx
	movq	_FULL_VERSION_LEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_11
## %bb.12:
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DUMP_PREFIX_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	(%rdi), %r9
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	$16, %ecx
	movl	$1, %r8d
	pushq	$0
	pushq	%rbx
	callq	_print_hex_dump
	addq	$16, %rsp
	movq	-64(%rbp), %rdi
	callq	_kfree_skb
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_11:
	callq	_kfree_skb
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NFC_HCI_UICC_HOST_ID,4,2       ## @NFC_HCI_UICC_HOST_ID
	.comm	_ST21NFCA_ESE_HOST_ID,4,2       ## @ST21NFCA_ESE_HOST_ID
	.comm	_NFC_HCI_ADMIN_GATE,4,2         ## @NFC_HCI_ADMIN_GATE
	.comm	_NFC_HCI_ADMIN_WHITELIST,4,2    ## @NFC_HCI_ADMIN_WHITELIST
	.comm	_ST21NFCA_DEVICE_MGNT_GATE,4,2  ## @ST21NFCA_DEVICE_MGNT_GATE
	.comm	_ST21NFCA_NFC_MODE,4,2          ## @ST21NFCA_NFC_MODE
	.comm	_NFC_HCI_RF_READER_A_GATE,4,2   ## @NFC_HCI_RF_READER_A_GATE
	.comm	_NFC_HCI_EVT_END_OPERATION,4,2  ## @NFC_HCI_EVT_END_OPERATION
	.comm	_NFC_HCI_ID_MGMT_GATE,4,2       ## @NFC_HCI_ID_MGMT_GATE
	.comm	_NFC_HCI_ID_MGMT_VERSION_SW,4,2 ## @NFC_HCI_ID_MGMT_VERSION_SW
	.comm	_FULL_VERSION_LEN,8,3           ## @FULL_VERSION_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FULL VERSION SOFTWARE INFO: "

	.comm	_DUMP_PREFIX_NONE,4,2           ## @DUMP_PREFIX_NONE
	.no_dead_strip	_st21nfca_hci_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st21nfca_hci_ready
_st21nfca_hci_ready:                    ; @st21nfca_hci_ready
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_nfc_hci_get_clientdata
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _NFC_HCI_UICC_HOST_ID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NFC_HCI_UICC_HOST_ID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [sp, #16]
	ldr	x8, [x8]
	mov	w4, #1
	cbnz	x8, LBB0_4
	b	LBB0_5
LBB0_2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	w4, #0
LBB0_4:
Lloh6:
	adrp	x8, _ST21NFCA_ESE_HOST_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ST21NFCA_ESE_HOST_ID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	x9, sp, #16
	str	w8, [x9, w4, uxtw #2]
	add	w4, w4, #1
LBB0_5:
Lloh9:
	adrp	x8, _NFC_HCI_ADMIN_GATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NFC_HCI_ADMIN_GATE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _NFC_HCI_ADMIN_WHITELIST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NFC_HCI_ADMIN_WHITELIST@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x3, sp, #16
	mov	x0, x19
	bl	_nfc_hci_set_param
	tbnz	w0, #31, LBB0_14
LBB0_6:
Lloh15:
	adrp	x20, _ST21NFCA_DEVICE_MGNT_GATE@GOTPAGE
Lloh16:
	ldr	x20, [x20, _ST21NFCA_DEVICE_MGNT_GATE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh17:
	adrp	x21, _ST21NFCA_NFC_MODE@GOTPAGE
Lloh18:
	ldr	x21, [x21, _ST21NFCA_NFC_MODE@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x3, sp, #8
	mov	x0, x19
	bl	_nfc_hci_get_param
	tbnz	w0, #31, LBB0_14
; %bb.7:
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	ldr	w22, [x8]
	str	w22, [sp, #4]
	bl	_kfree_skb
	cbnz	w22, LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [sp, #4]
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x3, sp, #4
	mov	x0, x19
	mov	w4, #1
	bl	_nfc_hci_set_param
	tbnz	w0, #31, LBB0_14
LBB0_9:
Lloh19:
	adrp	x8, _NFC_HCI_RF_READER_A_GATE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NFC_HCI_RF_READER_A_GATE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _NFC_HCI_EVT_END_OPERATION@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NFC_HCI_EVT_END_OPERATION@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	bl	_nfc_hci_send_event
	tbnz	w0, #31, LBB0_14
; %bb.10:
Lloh25:
	adrp	x8, _NFC_HCI_ID_MGMT_GATE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NFC_HCI_ID_MGMT_GATE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _NFC_HCI_ID_MGMT_VERSION_SW@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NFC_HCI_ID_MGMT_VERSION_SW@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_nfc_hci_get_param
	tbnz	w0, #31, LBB0_14
; %bb.11:
	ldr	x0, [sp, #8]
	ldr	x6, [x0, #8]
Lloh31:
	adrp	x8, _FULL_VERSION_LEN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FULL_VERSION_LEN@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x6, x8
	b.ne	LBB0_13
; %bb.12:
Lloh34:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _DUMP_PREFIX_NONE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _DUMP_PREFIX_NONE@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x9]
	ldr	x5, [x0]
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	w3, #16
	mov	w4, #1
	mov	w7, #0
	bl	_print_hex_dump
	ldr	x0, [sp, #8]
	bl	_kfree_skb
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	bl	_kfree_skb
Lloh42:
	adrp	x8, _EINVAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldr	x8, [sp, #24]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_NFC_HCI_UICC_HOST_ID,4,2       ; @NFC_HCI_UICC_HOST_ID
	.comm	_ST21NFCA_ESE_HOST_ID,4,2       ; @ST21NFCA_ESE_HOST_ID
	.comm	_NFC_HCI_ADMIN_GATE,4,2         ; @NFC_HCI_ADMIN_GATE
	.comm	_NFC_HCI_ADMIN_WHITELIST,4,2    ; @NFC_HCI_ADMIN_WHITELIST
	.comm	_ST21NFCA_DEVICE_MGNT_GATE,4,2  ; @ST21NFCA_DEVICE_MGNT_GATE
	.comm	_ST21NFCA_NFC_MODE,4,2          ; @ST21NFCA_NFC_MODE
	.comm	_NFC_HCI_RF_READER_A_GATE,4,2   ; @NFC_HCI_RF_READER_A_GATE
	.comm	_NFC_HCI_EVT_END_OPERATION,4,2  ; @NFC_HCI_EVT_END_OPERATION
	.comm	_NFC_HCI_ID_MGMT_GATE,4,2       ; @NFC_HCI_ID_MGMT_GATE
	.comm	_NFC_HCI_ID_MGMT_VERSION_SW,4,2 ; @NFC_HCI_ID_MGMT_VERSION_SW
	.comm	_FULL_VERSION_LEN,8,3           ; @FULL_VERSION_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FULL VERSION SOFTWARE INFO: "

	.comm	_DUMP_PREFIX_NONE,4,2           ; @DUMP_PREFIX_NONE
	.no_dead_strip	_st21nfca_hci_ready
.subsections_via_symbols
