	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_sdio_probe
_mwifiex_sdio_probe:                    ## @mwifiex_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	%rsi, %r15
	movq	%rdi, %rbx
	movl	28(%rdi), %esi
	movl	24(%rdi), %edx
	movl	16(%rdi), %r8d
	movl	20(%rdi), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_init_completion
	movq	%rbx, 64(%r14)
	movq	_MMC_QUIRK_BLKSZ_FOR_BYTE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	orl	%eax, (%rcx)
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	48(%rax), %ecx
	movl	%ecx, 56(%r14)
	movups	32(%rax), %xmm0
	movups	%xmm0, 40(%r14)
	movups	16(%rax), %xmm0
	movups	%xmm0, 24(%r14)
	movups	(%rax), %xmm0
	movups	%xmm0, 8(%r14)
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	_mwifiex_sdio_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
LBB0_4:
	movq	%rbx, %rdi
	callq	_sdio_claim_host
	movq	%rbx, %rdi
	callq	_sdio_enable_func
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_sdio_release_host
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_12
LBB0_6:
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_mwifiex_sdio_probe_of
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
LBB0_8:
	movq	_MWIFIEX_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_sdio_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%rbx, %r8
	callq	_mwifiex_add_card
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
LBB0_11:
	movq	%rbx, %rdi
	callq	_sdio_claim_host
	movq	%rbx, %rdi
	callq	_sdio_disable_func
	movq	%rbx, %rdi
	callq	_sdio_release_host
	jmp	LBB0_12
LBB0_9:
	xorl	%r15d, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info: vendor=0x%4.04X device=0x%4.04X class=%d function=%d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MMC_QUIRK_BLKSZ_FOR_BYTE_MODE,4,2 ## @MMC_QUIRK_BLKSZ_FOR_BYTE_MODE
	.comm	_mwifiex_sdio_work,4,2          ## @mwifiex_sdio_work
L_.str.1:                               ## @.str.1
	.asciz	"failed to enable function\n"

	.comm	_sdio_ops,4,2                   ## @sdio_ops
	.comm	_MWIFIEX_SDIO,4,2               ## @MWIFIEX_SDIO
L_.str.2:                               ## @.str.2
	.asciz	"add card failed\n"

	.no_dead_strip	_mwifiex_sdio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_sdio_probe
_mwifiex_sdio_probe:                    ; @mwifiex_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	x21, x1
	mov	x19, x0
	ldp	w2, w1, [x0, #24]
	ldp	w4, w3, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	bl	_init_completion
	str	x19, [x20, #64]
Lloh5:
	adrp	x8, _MMC_QUIRK_BLKSZ_FOR_BYTE_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMC_QUIRK_BLKSZ_FOR_BYTE_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w9, [x8, #48]
	str	w9, [x20, #56]
	ldr	q0, [x8, #32]
	stur	q0, [x20, #40]
	ldr	q0, [x8, #16]
	stur	q0, [x20, #24]
	ldr	q0, [x8]
	stur	q0, [x20, #8]
	add	x0, x20, #4
Lloh8:
	adrp	x8, _mwifiex_sdio_work@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mwifiex_sdio_work@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_WORK
LBB0_3:
	mov	x0, x19
	bl	_sdio_claim_host
	mov	x0, x19
	bl	_sdio_enable_func
	mov	x21, x0
	mov	x0, x19
	bl	_sdio_release_host
	cbz	w21, LBB0_6
; %bb.4:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_11
LBB0_5:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_6:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_mwifiex_sdio_probe_of
	mov	x21, x0
	cbnz	w0, LBB0_10
LBB0_8:
Lloh16:
	adrp	x8, _MWIFIEX_SDIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MWIFIEX_SDIO@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x2, _sdio_ops@GOTPAGE
Lloh20:
	ldr	x2, [x2, _sdio_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x20
	mov	x4, x19
	bl	_mwifiex_add_card
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.9:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_10:
	mov	x0, x19
	bl	_sdio_claim_host
	mov	x0, x19
	bl	_sdio_disable_func
	mov	x0, x19
	bl	_sdio_release_host
LBB0_11:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info: vendor=0x%4.04X device=0x%4.04X class=%d function=%d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MMC_QUIRK_BLKSZ_FOR_BYTE_MODE,4,2 ; @MMC_QUIRK_BLKSZ_FOR_BYTE_MODE
	.comm	_mwifiex_sdio_work,4,2          ; @mwifiex_sdio_work
l_.str.1:                               ; @.str.1
	.asciz	"failed to enable function\n"

	.comm	_sdio_ops,4,2                   ; @sdio_ops
	.comm	_MWIFIEX_SDIO,4,2               ; @MWIFIEX_SDIO
l_.str.2:                               ; @.str.2
	.asciz	"add card failed\n"

	.no_dead_strip	_mwifiex_sdio_probe
.subsections_via_symbols
