	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_sdio_probe
_cw1200_sdio_probe:                     ## @cw1200_sdio_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	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	cmpl	$1, (%r15)
	jne	LBB0_1
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	_MMC_QUIRK_LENIENT_FN0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	orl	%eax, (%rcx)
	movq	_global_plat_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r15, 16(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sdio_set_drvdata
	movq	%r15, %rdi
	callq	_sdio_claim_host
	movq	%r15, %rdi
	callq	_sdio_enable_func
	movq	%r15, %rdi
	callq	_sdio_release_host
	movq	%r14, %rdi
	callq	_cw1200_sdio_irq_subscribe
	leaq	4(%r15), %rdx
	movq	%r14, %rcx
	addq	$8, %rcx
	movq	(%r14), %rax
	movl	12(%rax), %r8d
	movl	8(%rax), %r9d
	movl	(%rax), %ebx
	movl	4(%rax), %eax
	movq	_cw1200_sdio_hwbus_ops@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	pushq	%rbx
	pushq	%rax
	callq	_cw1200_core_probe
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_cw1200_sdio_irq_unsubscribe
	movq	%r15, %rdi
	callq	_sdio_claim_host
	movq	%r15, %rdi
	callq	_sdio_disable_func
	movq	%r15, %rdi
	callq	_sdio_release_host
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_sdio_set_drvdata
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cw1200_wlan_sdio: Probe called\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate SDIO hwbus_priv.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MMC_QUIRK_LENIENT_FN0,4,2      ## @MMC_QUIRK_LENIENT_FN0
	.comm	_global_plat_data,8,3           ## @global_plat_data
	.comm	_cw1200_sdio_hwbus_ops,4,2      ## @cw1200_sdio_hwbus_ops
	.no_dead_strip	_cw1200_sdio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_sdio_probe
_cw1200_sdio_probe:                     ; @cw1200_sdio_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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh5:
	adrp	x8, _MMC_QUIRK_LENIENT_FN0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMC_QUIRK_LENIENT_FN0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh8:
	adrp	x8, _global_plat_data@GOTPAGE
Lloh9:
	ldr	x8, [x8, _global_plat_data@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x0]
	str	x19, [x0, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_sdio_set_drvdata
	mov	x0, x19
	bl	_sdio_claim_host
	mov	x0, x19
	bl	_sdio_enable_func
	mov	x0, x19
	bl	_sdio_release_host
	mov	x0, x20
	bl	_cw1200_sdio_irq_subscribe
	add	x2, x19, #4
	add	x3, x20, #8
	ldr	x8, [x20]
	ldp	w5, w4, [x8, #8]
	ldp	w7, w6, [x8]
Lloh11:
	adrp	x0, _cw1200_sdio_hwbus_ops@GOTPAGE
Lloh12:
	ldr	x0, [x0, _cw1200_sdio_hwbus_ops@GOTPAGEOFF]
	mov	x1, x20
	bl	_cw1200_core_probe
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_cw1200_sdio_irq_unsubscribe
	mov	x0, x19
	bl	_sdio_claim_host
	mov	x0, x19
	bl	_sdio_disable_func
	mov	x0, x19
	bl	_sdio_release_host
	mov	x0, x19
	mov	x1, #0
	bl	_sdio_set_drvdata
	mov	x0, x20
	bl	_kfree
	b	LBB0_7
LBB0_4:
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cw1200_wlan_sdio: Probe called\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate SDIO hwbus_priv.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MMC_QUIRK_LENIENT_FN0,4,2      ; @MMC_QUIRK_LENIENT_FN0
	.comm	_global_plat_data,8,3           ; @global_plat_data
	.comm	_cw1200_sdio_hwbus_ops,4,2      ; @cw1200_sdio_hwbus_ops
	.no_dead_strip	_cw1200_sdio_probe
.subsections_via_symbols
