	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfcmrvl_probe
_nfcmrvl_probe:                         ## @nfcmrvl_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_interface_to_usbdev
	movq	%rax, %r15
	leaq	-48(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_nfc_info
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	cmpl	$0, 8(%rax)
	movq	%rbx, %rdx
	jle	LBB0_9
## %bb.2:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	56(%rcx), %r12
	leaq	48(%rcx), %r15
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_usb_endpoint_is_bulk_out
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, (%rcx)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movq	8(%rdx), %rax
	movslq	8(%rax), %rcx
	addq	$4, %r14
	cmpq	%rcx, %r13
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rbx
	addq	%r14, %rbx
	cmpq	$0, (%r12)
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r15)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_usb_endpoint_is_bulk_in
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 56(%rbx)
	je	LBB0_11
## %bb.10:
	cmpq	$0, 48(%rbx)
	je	LBB0_11
## %bb.12:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%rbx)
	movq	%rdx, 32(%rbx)
	movq	%rdx, %r14
	leaq	24(%rbx), %rdi
	movq	_nfcmrvl_waker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	leaq	16(%rbx), %rdi
	callq	_init_usb_anchor
	leaq	12(%rbx), %rdi
	callq	_init_usb_anchor
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_init_usb_anchor
	movq	_NFCMRVL_PHY_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_usb_ops@GOTPCREL(%rip), %rdx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_nfcmrvl_nci_register_dev
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	jmp	LBB0_15
LBB0_11:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_15
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_15
LBB0_14:
	movq	%r15, (%rbx)
	movl	$0, (%r15)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_usb_set_intfdata
	xorl	%r12d, %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intf %p id %p\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_nfcmrvl_waker,4,2              ## @nfcmrvl_waker
	.comm	_NFCMRVL_PHY_USB,4,2            ## @NFCMRVL_PHY_USB
	.comm	_usb_ops,4,2                    ## @usb_ops
	.no_dead_strip	_nfcmrvl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfcmrvl_probe
_nfcmrvl_probe:                         ; @nfcmrvl_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	bl	_interface_to_usbdev
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	bl	_nfc_info
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	add	x25, x20, #56
	add	x26, x20, #48
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_usb_endpoint_is_bulk_out
	mov	x8, x25
	cbz	x0, LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x22, [x8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x8, #8]
	add	x23, x23, #4
	cmp	x24, x9
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	add	x22, x8, x23
	ldr	x8, [x25]
	cbz	x8, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26]
	cbnz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_usb_endpoint_is_bulk_in
	mov	x8, x26
	cbnz	x0, LBB0_4
	b	LBB0_5
LBB0_9:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_13
; %bb.10:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_13
; %bb.11:
	stp	x19, x21, [x20, #32]
	add	x0, x20, #24
Lloh8:
	adrp	x8, _nfcmrvl_waker@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nfcmrvl_waker@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x20, #20
	bl	_spin_lock_init
	add	x0, x20, #16
	bl	_init_usb_anchor
	add	x0, x20, #12
	bl	_init_usb_anchor
	add	x0, x20, #8
	bl	_init_usb_anchor
Lloh11:
	adrp	x8, _NFCMRVL_PHY_USB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NFCMRVL_PHY_USB@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x2, _usb_ops@GOTPAGE
Lloh15:
	ldr	x2, [x2, _usb_ops@GOTPAGEOFF]
	add	x4, sp, #8
	mov	x1, x20
	mov	x3, x19
	bl	_nfcmrvl_nci_register_dev
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.12:
	mov	x0, x21
	bl	_PTR_ERR
	b	LBB0_16
LBB0_13:
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	str	x21, [x20]
	str	wzr, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_usb_set_intfdata
	mov	w0, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intf %p id %p\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_nfcmrvl_waker,4,2              ; @nfcmrvl_waker
	.comm	_NFCMRVL_PHY_USB,4,2            ; @NFCMRVL_PHY_USB
	.comm	_usb_ops,4,2                    ; @usb_ops
	.no_dead_strip	_nfcmrvl_probe
.subsections_via_symbols
