	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfcmrvl_spi_probe
_nfcmrvl_spi_probe:                     ## @nfcmrvl_spi_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%rbx, 16(%rax)
	movq	$0, 8(%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_spi_set_drvdata
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_4
LBB0_7:
	movq	16(%r12), %rdi
	movl	(%r14), %esi
	movq	_nfcmrvl_spi_int_irq_thread_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%r12, (%rsp)
	leaq	L_.str(%rip), %r9
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	_NFCMRVL_PHY_SPI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r12), %rcx
	movq	_spi_ops@GOTPCREL(%rip), %rdx
	movq	%r12, %rsi
	movq	%r14, %r8
	callq	_nfcmrvl_nci_register_dev
	movq	%rax, 8(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	8(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	callq	_PTR_ERR
	movl	%eax, %r15d
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %r14
	movq	%r14, %rsi
	callq	_nfcmrvl_spi_parse_dt
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_12
LBB0_8:
	movq	16(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_nfc_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_12
LBB0_11:
	movl	$1, (%rdi)
	movq	16(%r12), %rax
	movl	4(%rdi), %ecx
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_nci_spi_allocate_spi
	movl	%eax, 24(%r12)
	movq	%r12, %rdi
	callq	_init_completion
LBB0_12:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_nfcmrvl_spi_int_irq_thread_fn,4,2 ## @nfcmrvl_spi_int_irq_thread_fn
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nfcmrvl_spi_int"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to register IRQ handler"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_NFCMRVL_PHY_SPI,4,2            ## @NFCMRVL_PHY_SPI
	.comm	_spi_ops,4,2                    ## @spi_ops
	.no_dead_strip	_nfcmrvl_spi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfcmrvl_spi_probe
_nfcmrvl_spi_probe:                     ; @nfcmrvl_spi_probe
	.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	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	stp	xzr, x21, [x0, #8]
	mov	x0, x21
	mov	x1, x19
	bl	_spi_set_drvdata
	ldr	x20, [x21, #8]
	cbz	x20, LBB0_6
LBB0_2:
	ldr	x0, [x19, #16]
	ldr	w1, [x20]
Lloh3:
	adrp	x8, _nfcmrvl_spi_int_irq_thread_fn@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nfcmrvl_spi_int_irq_thread_fn@GOTPAGEOFF]
Lloh5:
	adrp	x9, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh12:
	adrp	x5, l_.str@PAGE
Lloh13:
	add	x5, x5, l_.str@PAGEOFF
	mov	x2, #0
	mov	x6, x19
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_9
; %bb.3:
Lloh14:
	adrp	x8, _NFCMRVL_PHY_SPI@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NFCMRVL_PHY_SPI@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x3, [x19, #16]
Lloh17:
	adrp	x2, _spi_ops@GOTPAGE
Lloh18:
	ldr	x2, [x2, _spi_ops@GOTPAGEOFF]
	mov	x1, x19
	mov	x4, x20
	bl	_nfcmrvl_nci_register_dev
	str	x0, [x19, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19, #8]
	cbz	x8, LBB0_12
; %bb.4:
	bl	_PTR_ERR
	b	LBB0_11
LBB0_5:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	ldr	x0, [x21]
	cbz	x0, LBB0_8
; %bb.7:
	add	x20, sp, #8
	add	x1, sp, #8
	bl	_nfcmrvl_spi_parse_dt
	cbz	x0, LBB0_2
LBB0_8:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	ldr	x0, [x19, #16]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_nfc_err
Lloh25:
	adrp	x8, _ENODEV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
LBB0_12:
	mov	w8, #1
	str	w8, [x0]
	ldr	x8, [x19, #16]
	ldr	w3, [x0, #4]
	mov	x0, x8
	mov	w1, #0
	mov	w2, #10
	bl	_nci_spi_allocate_spi
	str	w0, [x19, #24]
	mov	x0, x19
	bl	_init_completion
	mov	w0, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_nfcmrvl_spi_int_irq_thread_fn,4,2 ; @nfcmrvl_spi_int_irq_thread_fn
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nfcmrvl_spi_int"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to register IRQ handler"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_NFCMRVL_PHY_SPI,4,2            ; @NFCMRVL_PHY_SPI
	.comm	_spi_ops,4,2                    ; @spi_ops
	.no_dead_strip	_nfcmrvl_spi_probe
.subsections_via_symbols
