	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_probe                   ## -- Begin function wlcore_probe
	.p2align	4, 0x90
_wlcore_probe:                          ## @wlcore_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_dev_get_platdata
	cmpl	$0, 28(%r14)
	je	LBB0_3
## %bb.1:
	cmpl	$0, 24(%r14)
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, (%r14)
	movq	%rbx, 16(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.6:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FW_ACTION_HOTPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_wlcore_nvs_cb@GOTPCREL(%rip), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r14, %r9
	callq	_request_firmware_nowait
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_9
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_wl1271_error
	leaq	8(%r14), %rdi
	callq	_complete_all
	jmp	LBB0_9
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_wlcore_nvs_cb
LBB0_9:
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	movq	_wlcore_pm_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	$50, %esi
	callq	_pm_runtime_set_autosuspend_delay
	movq	(%r14), %rdi
	callq	_pm_runtime_use_autosuspend
	movq	(%r14), %rdi
	callq	_pm_runtime_enable
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_FW_ACTION_HOTPLUG,4,2          ## @FW_ACTION_HOTPLUG
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request_firmware_nowait failed for %s: %d"

	.comm	_wlcore_pm_ops,4,2              ## @wlcore_pm_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_probe                   ; -- Begin function wlcore_probe
	.p2align	2
_wlcore_probe:                          ; @wlcore_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_dev_get_platdata
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w8, [x19, #24]
	cmp	w8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_9
LBB0_3:
	str	x20, [x19]
	str	x20, [x19, #16]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x21, [x8]
	cbz	x21, LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _FW_ACTION_HOTPLUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_ACTION_HOTPLUG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x6, _wlcore_nvs_cb@GOTPAGE
Lloh13:
	ldr	x6, [x6, _wlcore_nvs_cb@GOTPAGEOFF]
	mov	x2, x21
	mov	x3, x20
	mov	x5, x19
	bl	_request_firmware_nowait
	mov	x20, x0
	tbz	w0, #31, LBB0_8
; %bb.6:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	bl	_wl1271_error
	add	x0, x19, #8
	bl	_complete_all
	b	LBB0_8
LBB0_7:
	mov	x0, #0
	mov	x1, x19
	bl	_wlcore_nvs_cb
	mov	w20, #0
LBB0_8:
	ldr	x0, [x19]
	ldr	x8, [x0]
Lloh16:
	adrp	x9, _wlcore_pm_ops@GOTPAGE
Lloh17:
	ldr	x9, [x9, _wlcore_pm_ops@GOTPAGEOFF]
	str	x9, [x8]
	mov	w1, #50
	bl	_pm_runtime_set_autosuspend_delay
	ldr	x0, [x19]
	bl	_pm_runtime_use_autosuspend
	ldr	x0, [x19]
	bl	_pm_runtime_enable
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_FW_ACTION_HOTPLUG,4,2          ; @FW_ACTION_HOTPLUG
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request_firmware_nowait failed for %s: %d"

	.comm	_wlcore_pm_ops,4,2              ; @wlcore_pm_ops
.subsections_via_symbols
