	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdp_nci_probe                  ## -- Begin function fdp_nci_probe
	.p2align	4, 0x90
_fdp_nci_probe:                         ## @fdp_nci_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	24(%rbp), %rax
	movl	16(%rbp), %ecx
	movq	%r13, 48(%r12)
	movq	%rbx, 40(%r12)
	movl	%r14d, 32(%r12)
	movl	%ecx, (%r12)
	movq	%rax, 24(%r12)
	movq	%r12, %rdi
	addq	$16, %rdi
	callq	_init_waitqueue_head
	movq	_NFC_PROTO_JEWEL_MASK@GOTPCREL(%rip), %rax
	movq	_NFC_PROTO_MIFARE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_NFC_PROTO_FELICA_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_NFC_PROTO_ISO14443_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_NFC_PROTO_ISO14443_B_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_NFC_PROTO_NFC_DEP_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_NFC_PROTO_ISO15693_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_nci_ops@GOTPCREL(%rip), %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_nci_allocate_device
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_nci_register_device
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_nci_free_device
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_nfc_err
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	%r14, 8(%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_nci_set_drvdata
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NFC_PROTO_JEWEL_MASK,4,2       ## @NFC_PROTO_JEWEL_MASK
	.comm	_NFC_PROTO_MIFARE_MASK,4,2      ## @NFC_PROTO_MIFARE_MASK
	.comm	_NFC_PROTO_FELICA_MASK,4,2      ## @NFC_PROTO_FELICA_MASK
	.comm	_NFC_PROTO_ISO14443_MASK,4,2    ## @NFC_PROTO_ISO14443_MASK
	.comm	_NFC_PROTO_ISO14443_B_MASK,4,2  ## @NFC_PROTO_ISO14443_B_MASK
	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ## @NFC_PROTO_NFC_DEP_MASK
	.comm	_NFC_PROTO_ISO15693_MASK,4,2    ## @NFC_PROTO_ISO15693_MASK
	.comm	_nci_ops,4,2                    ## @nci_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot allocate nfc ndev\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdp_nci_probe                  ; -- Begin function fdp_nci_probe
	.p2align	2
_fdp_nci_probe:                         ; @fdp_nci_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x7
	mov	x25, x6
	mov	x26, x5
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x27, x1
	mov	x28, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	stp	x27, x28, [x0, #40]
	str	w26, [x0, #32]
	str	w25, [x0], #16
	str	x24, [x20, #24]
	bl	_init_waitqueue_head
Lloh3:
	adrp	x8, _NFC_PROTO_JEWEL_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFC_PROTO_JEWEL_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _NFC_PROTO_MIFARE_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NFC_PROTO_MIFARE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _NFC_PROTO_FELICA_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NFC_PROTO_FELICA_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _NFC_PROTO_ISO14443_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NFC_PROTO_ISO14443_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _NFC_PROTO_ISO14443_B_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NFC_PROTO_ISO14443_B_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _NFC_PROTO_NFC_DEP_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NFC_PROTO_NFC_DEP_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _NFC_PROTO_ISO15693_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NFC_PROTO_ISO15693_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh24:
	adrp	x0, _nci_ops@GOTPAGE
Lloh25:
	ldr	x0, [x0, _nci_ops@GOTPAGEOFF]
	mov	x2, x23
	mov	x3, x22
	bl	_nci_allocate_device
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	bl	_nci_register_device
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_nci_free_device
	b	LBB0_7
LBB0_4:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_nfc_err
LBB0_5:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_6:
	str	x22, [x19]
	str	x22, [x20, #8]
	mov	x0, x22
	mov	x1, x20
	bl	_nci_set_drvdata
LBB0_7:
	mov	x0, x21
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NFC_PROTO_JEWEL_MASK,4,2       ; @NFC_PROTO_JEWEL_MASK
	.comm	_NFC_PROTO_MIFARE_MASK,4,2      ; @NFC_PROTO_MIFARE_MASK
	.comm	_NFC_PROTO_FELICA_MASK,4,2      ; @NFC_PROTO_FELICA_MASK
	.comm	_NFC_PROTO_ISO14443_MASK,4,2    ; @NFC_PROTO_ISO14443_MASK
	.comm	_NFC_PROTO_ISO14443_B_MASK,4,2  ; @NFC_PROTO_ISO14443_B_MASK
	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ; @NFC_PROTO_NFC_DEP_MASK
	.comm	_NFC_PROTO_ISO15693_MASK,4,2    ; @NFC_PROTO_ISO15693_MASK
	.comm	_nci_ops,4,2                    ; @nci_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot allocate nfc ndev\n"

.subsections_via_symbols
