	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_nci_probe                   ## -- Begin function st_nci_probe
	.p2align	4, 0x90
_st_nci_probe:                          ## @st_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	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_ISO15693_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_NFC_PROTO_NFC_DEP_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_st_nci_ops@GOTPCREL(%rip), %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_nci_allocate_device
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r15, (%rbx)
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_nci_set_drvdata
	movl	(%r15), %edi
	callq	_st_nci_vendor_cmds_init
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_6:
	movl	(%r15), %edi
	callq	_nci_register_device
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
LBB0_8:
	callq	_pr_err
	movl	(%r15), %edi
	callq	_nci_free_device
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r15), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_st_nci_se_init                 ## TAILCALL
	.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_ISO15693_MASK,4,2    ## @NFC_PROTO_ISO15693_MASK
	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ## @NFC_PROTO_NFC_DEP_MASK
	.comm	_st_nci_ops,4,2                 ## @st_nci_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot allocate nfc ndev\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot register proprietary vendor cmds\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot register nfc device to nci core\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_nci_probe                   ; -- Begin function st_nci_probe
	.p2align	2
_st_nci_probe:                          ; @st_nci_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
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_ISO15693_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NFC_PROTO_ISO15693_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _NFC_PROTO_NFC_DEP_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NFC_PROTO_NFC_DEP_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh24:
	adrp	x0, _st_nci_ops@GOTPAGE
Lloh25:
	ldr	x0, [x0, _st_nci_ops@GOTPAGEOFF]
	mov	x2, x23
	mov	x3, x21
	bl	_nci_allocate_device
	str	w0, [x19]
	cbz	w0, LBB0_4
; %bb.2:
	str	x19, [x22]
	mov	x1, x22
	bl	_nci_set_drvdata
	ldr	w0, [x19]
	bl	_st_nci_vendor_cmds_init
	cbz	w0, LBB0_6
; %bb.3:
	mov	x21, x0
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_5:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_6:
	ldr	w0, [x19]
	bl	_nci_register_device
	cbz	w0, LBB0_10
; %bb.7:
	mov	x21, x0
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_pr_err
	ldr	w0, [x19]
	bl	_nci_free_device
LBB0_9:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w0, [x19]
	mov	x1, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_st_nci_se_init
	.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 AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.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_ISO15693_MASK,4,2    ; @NFC_PROTO_ISO15693_MASK
	.comm	_NFC_PROTO_NFC_DEP_MASK,4,2     ; @NFC_PROTO_NFC_DEP_MASK
	.comm	_st_nci_ops,4,2                 ; @st_nci_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot allocate nfc ndev\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot register proprietary vendor cmds\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot register nfc device to nci core\n"

.subsections_via_symbols
