	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdio_bus_probe
_sdio_bus_probe:                        ## @sdio_bus_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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_sdio_driver
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_dev_to_sdio_func
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_sdio_match_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dev_pm_domain_attach
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_MMC_CAP_POWER_OFF_CARD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_sdio_claim_host
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_sdio_set_block_size
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_sdio_release_host
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*(%r15)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_11
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_11
LBB0_5:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_8:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_MMC_CAP_POWER_OFF_CARD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_pm_runtime_put_noidle
LBB0_10:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dev_pm_domain_detach
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MMC_CAP_POWER_OFF_CARD,4,2     ## @MMC_CAP_POWER_OFF_CARD
	.no_dead_strip	_sdio_bus_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdio_bus_probe
_sdio_bus_probe:                        ; @sdio_bus_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	x19, x0
	ldr	w0, [x0]
	bl	_to_sdio_driver
	mov	x21, x0
	mov	x0, x19
	bl	_dev_to_sdio_func
	mov	x20, x0
	mov	x1, x21
	bl	_sdio_match_device
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	bl	_dev_pm_domain_attach
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.2:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh0:
	adrp	x24, _MMC_CAP_POWER_OFF_CARD@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MMC_CAP_POWER_OFF_CARD@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_sdio_claim_host
	mov	x0, x20
	mov	w1, #0
	bl	_sdio_set_block_size
	mov	x23, x0
	mov	x0, x20
	bl	_sdio_release_host
	cbnz	w23, LBB0_8
; %bb.5:
	ldr	x8, [x21]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	mov	x23, x0
	cbnz	w0, LBB0_8
	b	LBB0_11
LBB0_6:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_11
LBB0_7:
	mov	x23, x0
LBB0_8:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_pm_runtime_put_noidle
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	bl	_dev_pm_domain_detach
LBB0_11:
	mov	x0, x23
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MMC_CAP_POWER_OFF_CARD,4,2     ; @MMC_CAP_POWER_OFF_CARD
	.no_dead_strip	_sdio_bus_probe
.subsections_via_symbols
