	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_spi_skip
_mmc_spi_skip:                          ## @mmc_spi_skip
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %esi
	callq	_mmc_spi_readbytes
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	addq	%r13, %r12
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	incq	%r13
	movl	%r14d, %r12d
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15,%rcx,8), %rax
	cmpq	%rbx, %rax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rcx
	cmpq	%rcx, %r12
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_time_is_before_jiffies
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_time_is_before_jiffies
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_schedule
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_mmc_spi_readbytes
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jns	LBB0_2
	jmp	LBB0_11
LBB0_10:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_mmc_spi_skip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_spi_skip
_mmc_spi_skip:                          ; @mmc_spi_skip
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x24, [x8]
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x1, x2
	bl	_mmc_spi_readbytes
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_10
; %bb.1:
	add	x22, x23, x22
	add	x23, x23, #1
	mov	w25, w20
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x8, x25
	mov	x9, x24
	cbz	w20, LBB0_5
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x9]
	cmp	x0, x19
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_time_is_before_jiffies
	cbnz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_time_is_before_jiffies
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_schedule
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_mmc_spi_readbytes
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_2
	b	LBB0_10
LBB0_9:
Lloh3:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_mmc_spi_skip
.subsections_via_symbols
