	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st21nfca_hci_discover_se       ## -- Begin function st21nfca_hci_discover_se
	.p2align	4, 0x90
_st21nfca_hci_discover_se:              ## @st21nfca_hci_discover_se
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_nfc_hci_get_clientdata
	movq	%rax, %r14
	movq	_ST21NFCA_FACTORY_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.1:
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	movq	_NFC_HCI_UICC_HOST_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFC_SE_UICC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_nfc_add_se
	movq	(%r14), %rax
	movl	$1, %ecx
	cmpq	$0, (%rax)
	je	LBB0_6
LBB0_5:
	movl	(%rbx), %edi
	movq	_ST21NFCA_ESE_HOST_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFC_SE_EMBEDDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_nfc_add_se
	movl	$1, %ecx
LBB0_6:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ST21NFCA_FACTORY_MODE,4,2      ## @ST21NFCA_FACTORY_MODE
	.comm	_NFC_HCI_UICC_HOST_ID,4,2       ## @NFC_HCI_UICC_HOST_ID
	.comm	_NFC_SE_UICC,4,2                ## @NFC_SE_UICC
	.comm	_ST21NFCA_ESE_HOST_ID,4,2       ## @ST21NFCA_ESE_HOST_ID
	.comm	_NFC_SE_EMBEDDED,4,2            ## @NFC_SE_EMBEDDED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st21nfca_hci_discover_se       ; -- Begin function st21nfca_hci_discover_se
	.p2align	2
_st21nfca_hci_discover_se:              ; @st21nfca_hci_discover_se
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_nfc_hci_get_clientdata
	mov	x20, x0
Lloh0:
	adrp	x8, _ST21NFCA_FACTORY_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ST21NFCA_FACTORY_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _NFC_HCI_UICC_HOST_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFC_HCI_UICC_HOST_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _NFC_SE_UICC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFC_SE_UICC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_nfc_add_se
	ldr	x8, [x20]
	mov	w9, #1
LBB0_4:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _ST21NFCA_ESE_HOST_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ST21NFCA_ESE_HOST_ID@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _NFC_SE_EMBEDDED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NFC_SE_EMBEDDED@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_nfc_add_se
	mov	w9, #1
LBB0_6:
	cmp	w9, #0
	cset	w0, eq
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ST21NFCA_FACTORY_MODE,4,2      ; @ST21NFCA_FACTORY_MODE
	.comm	_NFC_HCI_UICC_HOST_ID,4,2       ; @NFC_HCI_UICC_HOST_ID
	.comm	_NFC_SE_UICC,4,2                ; @NFC_SE_UICC
	.comm	_ST21NFCA_ESE_HOST_ID,4,2       ; @ST21NFCA_ESE_HOST_ID
	.comm	_NFC_SE_EMBEDDED,4,2            ; @NFC_SE_EMBEDDED
.subsections_via_symbols
