	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_nci_loopback
_st_nci_loopback:                       ## @st_nci_loopback
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_nfc_get_drvdata
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	-32(%rbp), %rcx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_nci_nfcc_loopback
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_ST_NCI_VENDOR_OUI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-32(%rbp), %rax
	movl	4(%rax), %ecx
	movq	%r14, %rdi
	callq	_nfc_vendor_cmd_alloc_reply_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %rbx
	movq	_NFC_ATTR_VENDOR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-32(%rbp), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	callq	_nla_put
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	callq	_kfree_skb
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_9:
	callq	_nfc_vendor_cmd_reply
	movl	%eax, %ebx
LBB0_10:
	movq	-32(%rbp), %rdi
	callq	_kfree_skb
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ST_NCI_VENDOR_OUI,4,2          ## @ST_NCI_VENDOR_OUI
	.comm	_LOOPBACK,4,2                   ## @LOOPBACK
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NFC_ATTR_VENDOR_DATA,4,2       ## @NFC_ATTR_VENDOR_DATA
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_st_nci_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_nci_loopback
_st_nci_loopback:                       ; @st_nci_loopback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_nfc_get_drvdata
	cbz	x19, LBB0_5
; %bb.1:
	add	x3, sp, #8
	mov	x1, x21
	mov	x2, x19
	bl	_nci_nfcc_loopback
	tbnz	w0, #31, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _ST_NCI_VENDOR_OUI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ST_NCI_VENDOR_OUI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _LOOPBACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOOPBACK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x8, [sp, #8]
	ldr	w3, [x8, #4]
	mov	x0, x20
	bl	_nfc_vendor_cmd_alloc_reply_skb
	cbz	x0, LBB0_7
; %bb.3:
	mov	x19, x0
Lloh6:
	adrp	x8, _NFC_ATTR_VENDOR_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFC_ATTR_VENDOR_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [sp, #8]
	ldp	w3, w2, [x8]
	bl	_nla_put
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_kfree_skb
Lloh9:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x8, _EPROTO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_11
LBB0_6:
	mov	x19, x0
	b	LBB0_11
LBB0_7:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_nfc_vendor_cmd_reply
	mov	x19, x0
LBB0_10:
	ldr	x0, [sp, #8]
	bl	_kfree_skb
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ST_NCI_VENDOR_OUI,4,2          ; @ST_NCI_VENDOR_OUI
	.comm	_LOOPBACK,4,2                   ; @LOOPBACK
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NFC_ATTR_VENDOR_DATA,4,2       ; @NFC_ATTR_VENDOR_DATA
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_st_nci_loopback
.subsections_via_symbols
