	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfcmrvl_usb_nci_open
_nfcmrvl_usb_nci_open:                  ## @nfcmrvl_usb_nci_open
	.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	(%rdi), %r14
	movq	(%r14), %rdi
	callq	_usb_autopm_get_interface
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	movl	$1, (%rax)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_nfcmrvl_submit_bulk_urb
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_NFCMRVL_USB_BULK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_set_bit
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_nfcmrvl_submit_bulk_urb
	xorl	%ebx, %ebx
LBB0_3:
	movq	(%r14), %rdi
	callq	_usb_autopm_put_interface
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_NFCMRVL_USB_BULK_RUNNING,4,2   ## @NFCMRVL_USB_BULK_RUNNING
	.no_dead_strip	_nfcmrvl_usb_nci_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfcmrvl_usb_nci_open
_nfcmrvl_usb_nci_open:                  ; @nfcmrvl_usb_nci_open
	.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
	ldr	x19, [x0]
	ldr	x0, [x19]
	bl	_usb_autopm_get_interface
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_nfcmrvl_submit_bulk_urb
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _NFCMRVL_USB_BULK_RUNNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NFCMRVL_USB_BULK_RUNNING@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_set_bit
	ldr	w1, [x21]
	mov	x0, x19
	bl	_nfcmrvl_submit_bulk_urb
LBB0_3:
	ldr	x0, [x19]
	bl	_usb_autopm_put_interface
LBB0_4:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_NFCMRVL_USB_BULK_RUNNING,4,2   ; @NFCMRVL_USB_BULK_RUNNING
	.no_dead_strip	_nfcmrvl_usb_nci_open
.subsections_via_symbols
