	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_omap_send_abort
_mmc_omap_send_abort:                   ## @mmc_omap_send_abort
	.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
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_USEC_PER_SEC@GOTPCREL(%rip), %rcx
	imull	$120, (%rcx), %edi
	movl	(%rax), %esi
	callq	_DIV_ROUND_UP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_STAT@GOTPCREL(%rip), %r13
	movq	_OMAP_MMC_STAT_END_OF_CMD@GOTPCREL(%rip), %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_OMAP_MMC_WRITE
	movq	_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$12416, %edx                    ## imm = 0x3080
	callq	_OMAP_MMC_WRITE
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_OMAP_MMC_READ
	movl	%eax, %ebx
	testl	%eax, (%r14)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	$1, %edi
	callq	_udelay
	decl	%r15d
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
LBB0_8:
	movq	_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OMAP_MMC_WRITE                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USEC_PER_SEC,4,2               ## @USEC_PER_SEC
	.comm	_STAT,4,2                       ## @STAT
	.comm	_CMD,4,2                        ## @CMD
	.comm	_OMAP_MMC_STAT_END_OF_CMD,4,2   ## @OMAP_MMC_STAT_END_OF_CMD
	.no_dead_strip	_mmc_omap_send_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_omap_send_abort
_mmc_omap_send_abort:                   ; @mmc_omap_send_abort
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _USEC_PER_SEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USEC_PER_SEC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	w10, #120
	mul	w0, w9, w10
	ldr	w1, [x8]
	bl	_DIV_ROUND_UP
Lloh3:
	adrp	x23, _STAT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _STAT@GOTPAGEOFF]
	cbz	w20, LBB0_7
; %bb.1:
	mov	x21, x0
	mov	w22, #0
	mov	w24, #0
Lloh5:
	adrp	x25, _CMD@GOTPAGE
Lloh6:
	ldr	x25, [x25, _CMD@GOTPAGEOFF]
Lloh7:
	adrp	x26, _OMAP_MMC_STAT_END_OF_CMD@GOTPAGE
Lloh8:
	ldr	x26, [x26, _OMAP_MMC_STAT_END_OF_CMD@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	cmp	w24, w20
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #65535
	bl	_OMAP_MMC_WRITE
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #12416
	bl	_OMAP_MMC_WRITE
	cbz	w21, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x21
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x23]
	mov	x0, x19
	bl	_OMAP_MMC_READ
	mov	x22, x0
	ldr	w8, [x26]
	tst	w8, w0
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	w0, #1
	bl	_udelay
	subs	w27, w27, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_7:
	mov	w22, #0
LBB0_8:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_OMAP_MMC_WRITE
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_USEC_PER_SEC,4,2               ; @USEC_PER_SEC
	.comm	_STAT,4,2                       ; @STAT
	.comm	_CMD,4,2                        ; @CMD
	.comm	_OMAP_MMC_STAT_END_OF_CMD,4,2   ; @OMAP_MMC_STAT_END_OF_CMD
	.no_dead_strip	_mmc_omap_send_abort
.subsections_via_symbols
