	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_sdio_suspend
_mmc_sdio_suspend:                      ## @mmc_sdio_suspend
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_ENOSYS@GOTPCREL(%rip), %r12
	jmp	LBB0_3
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	subl	(%r12), %r15d
	testl	%r15d, %r15d
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%r14), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_sdio_func_present
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	*%rcx
	movl	%eax, %r15d
	testl	%r15d, %r15d
	je	LBB0_10
LBB0_14:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.15:
	incq	%rbx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	decq	%rbx
	cmpq	$1, %rbx
	jle	LBB0_13
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %eax
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movq	(%rcx,%rax,8), %r12
	testq	%r12, %r12
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	callq	_sdio_func_present
	testq	%rax, %rax
	je	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%rax), %rax
	movq	%r12, %rdi
	callq	*8(%rax)
	jmp	LBB0_16
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_mmc_sdio_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_sdio_suspend
_mmc_sdio_suspend:                      ; @mmc_sdio_suspend
	.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
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x19, x0
	mov	x21, #0
Lloh0:
	adrp	x22, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ENOSYS@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	neg	w20, w8
	cbnz	w20, LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.ge	LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	x20, [x8, x21, lsl #3]
	cbz	x20, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_sdio_func_present
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x9]
	cbz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	blr	x8
	mov	x20, x0
	cbz	w20, LBB0_3
LBB0_11:
	cbz	x21, LBB0_19
; %bb.12:
	add	x22, x21, #1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x22, x22, #1
	cmp	x22, #1
	b.le	LBB0_19
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w22, #2
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
	ldr	x21, [x9, w8, uxtw #3]
	cbz	x21, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_sdio_func_present
	cbz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
	b	LBB0_13
LBB0_18:
	mov	w20, #0
LBB0_19:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_mmc_sdio_suspend
.subsections_via_symbols
