	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st21nfca_get_iso15693_inventory
_st21nfca_get_iso15693_inventory:       ## @st21nfca_get_iso15693_inventory
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	$0, -24(%rbp)
	movq	_ST21NFCA_RF_READER_ISO15693_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ST21NFCA_RF_READER_ISO15693_INVENTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	callq	_nfc_hci_get_param
	movl	%eax, %ebx
	movq	-24(%rbp), %rdi
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	$2, %esi
	callq	_skb_pull
	movq	-24(%rbp), %rdi
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movq	_NFC_ISO15693_UID_MAXSIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jg	LBB0_3
## %bb.4:
	movl	8(%r14), %eax
	movq	8(%rdi), %rsi
	movl	%eax, %edi
	callq	_memcpy
	movq	-24(%rbp), %rdi
	movq	8(%rdi), %rax
	movl	4(%rax), %eax
	movl	%eax, 4(%r14)
	movl	$1, (%r14)
	jmp	LBB0_5
LBB0_3:
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	callq	_kfree_skb
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST21NFCA_RF_READER_ISO15693_GATE,4,2 ## @ST21NFCA_RF_READER_ISO15693_GATE
	.comm	_ST21NFCA_RF_READER_ISO15693_INVENTORY,4,2 ## @ST21NFCA_RF_READER_ISO15693_INVENTORY
	.comm	_NFC_ISO15693_UID_MAXSIZE,8,3   ## @NFC_ISO15693_UID_MAXSIZE
	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_st21nfca_get_iso15693_inventory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st21nfca_get_iso15693_inventory
_st21nfca_get_iso15693_inventory:       ; @st21nfca_get_iso15693_inventory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _ST21NFCA_RF_READER_ISO15693_GATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ST21NFCA_RF_READER_ISO15693_GATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ST21NFCA_RF_READER_ISO15693_INVENTORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ST21NFCA_RF_READER_ISO15693_INVENTORY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_nfc_hci_get_param
	mov	x19, x0
	ldr	x0, [sp, #8]
	tbnz	w19, #31, LBB0_4
; %bb.1:
	mov	w1, #2
	bl	_skb_pull
	ldr	x0, [sp, #8]
	ldr	x2, [x0]
Lloh6:
	adrp	x8, _NFC_ISO15693_UID_MAXSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFC_ISO15693_UID_MAXSIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x2, #0
	ccmp	x2, x8, #0, ne
	b.le	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _EPROTO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_4
LBB0_3:
	ldr	w8, [x20, #8]
	ldr	x1, [x0, #8]
	mov	x0, x8
	bl	_memcpy
	ldr	x0, [sp, #8]
	ldr	x8, [x0, #8]
	ldr	w8, [x8, #4]
	mov	w9, #1
	stp	w9, w8, [x20]
LBB0_4:
	bl	_kfree_skb
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ST21NFCA_RF_READER_ISO15693_GATE,4,2 ; @ST21NFCA_RF_READER_ISO15693_GATE
	.comm	_ST21NFCA_RF_READER_ISO15693_INVENTORY,4,2 ; @ST21NFCA_RF_READER_ISO15693_INVENTORY
	.comm	_NFC_ISO15693_UID_MAXSIZE,8,3   ; @NFC_ISO15693_UID_MAXSIZE
	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_st21nfca_get_iso15693_inventory
.subsections_via_symbols
