	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s3fwrn5_probe                  ## -- Begin function s3fwrn5_probe
	.p2align	4, 0x90
_s3fwrn5_probe:                         ## @s3fwrn5_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
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	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, %rbx
	movq	%r14, 48(%rax)
	movq	%r15, 40(%rax)
	movq	%r13, 32(%rax)
	movl	%r12d, (%rax)
	movq	%rax, %rdi
	addq	$24, %rdi
	callq	_mutex_init
	movq	_S3FWRN5_MODE_COLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_s3fwrn5_set_mode
	movq	_s3fwrn5_nci_ops@GOTPCREL(%rip), %r14
	leaq	4(%r14), %rdi
	movq	%r14, %rsi
	callq	_s3fwrn5_nci_get_prop_ops
	movq	_S3FWRN5_NFC_PROTOCOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nci_allocate_device
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_nci_set_parent_dev
	movq	8(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_nci_set_drvdata
	movq	8(%rbx), %rdi
	callq	_nci_register_device
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	%rdi, 16(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rdi, (%rax)
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_7
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_7
LBB0_5:
	callq	_nci_free_device
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %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	_S3FWRN5_MODE_COLD,4,2          ## @S3FWRN5_MODE_COLD
	.comm	_s3fwrn5_nci_ops,8,2            ## @s3fwrn5_nci_ops
	.comm	_S3FWRN5_NFC_PROTOCOLS,4,2      ## @S3FWRN5_NFC_PROTOCOLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_s3fwrn5_probe                  ; -- Begin function s3fwrn5_probe
	.p2align	2
_s3fwrn5_probe:                         ; @s3fwrn5_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	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	mov	x19, 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_4
; %bb.1:
	mov	x20, x0
	stp	x21, x24, [x0, #40]
	str	x23, [x0, #32]
	add	x0, x0, #24
	str	w22, [x20]
	bl	_mutex_init
Lloh3:
	adrp	x8, _S3FWRN5_MODE_COLD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S3FWRN5_MODE_COLD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_s3fwrn5_set_mode
Lloh6:
	adrp	x22, _s3fwrn5_nci_ops@GOTPAGE
Lloh7:
	ldr	x22, [x22, _s3fwrn5_nci_ops@GOTPAGEOFF]
	add	x0, x22, #4
	mov	x1, x22
	bl	_s3fwrn5_nci_get_prop_ops
Lloh8:
	adrp	x8, _S3FWRN5_NFC_PROTOCOLS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S3FWRN5_NFC_PROTOCOLS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w3, #0
	bl	_nci_allocate_device
	str	x0, [x20, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x21
	bl	_nci_set_parent_dev
	ldr	x0, [x20, #8]
	mov	x1, x20
	bl	_nci_set_drvdata
	ldr	x0, [x20, #8]
	bl	_nci_register_device
	mov	x21, x0
	ldr	x0, [x20, #8]
	tbnz	w21, #31, LBB0_5
; %bb.3:
	str	x0, [x20, #16]
	str	x0, [x19]
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_5:
	bl	_nci_free_device
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_S3FWRN5_MODE_COLD,4,2          ; @S3FWRN5_MODE_COLD
	.comm	_s3fwrn5_nci_ops,8,2            ; @s3fwrn5_nci_ops
	.comm	_S3FWRN5_NFC_PROTOCOLS,4,2      ; @S3FWRN5_NFC_PROTOCOLS
.subsections_via_symbols
