	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_omap_release_slot
_mmc_omap_release_slot:                 ## @mmc_omap_release_slot
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	xorl	%edi, %edi
	cmpq	$0, 16(%r12)
	sete	%dil
	callq	_BUG_ON
	leaq	56(%r12), %rdi
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	jmp	LBB0_3
LBB0_2:
	callq	_del_timer
	movq	%r14, %rdi
	callq	_mmc_omap_fclk_offdelay
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_mmc_omap_fclk_enable
LBB0_3:
	leaq	4(%r12), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	movq	48(%r12), %rcx
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%rdx)
	je	LBB0_7
## %bb.9:
	xorl	%edi, %edi
	cmpq	$0, 32(%r12)
	setne	%dil
	callq	_BUG_ON
	movq	48(%r12), %rax
	movq	(%rax,%rbx,8), %rbx
	xorl	%edi, %edi
	cmpq	40(%r12), %rbx
	sete	%dil
	callq	_BUG_ON
	movq	%rbx, 32(%r12)
	movq	(%rbx), %rax
	movq	%rax, 16(%r12)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	28(%r12), %edi
	addq	$24, %r12
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_8:
	movq	$0, 16(%r12)
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_wake_up
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_mmc_omap_release_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_omap_release_slot
_mmc_omap_release_slot:                 ; @mmc_omap_release_slot
	.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	x20, x0
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x0, x19, #56
	cbz	w21, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _HZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	add	x1, x8, w9, sxtw
	bl	_mod_timer
	b	LBB0_3
LBB0_2:
	bl	_del_timer
	mov	x0, x20
	bl	_mmc_omap_fclk_offdelay
	mov	x0, x19
	mov	w1, #0
	bl	_mmc_omap_fclk_enable
LBB0_3:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x21, #0
	ldr	x8, [x19, #48]
	lsl	x9, x9, #3
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #8
	cmp	x9, x21
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8, x21]
	cbz	x10, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_5
; %bb.8:
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUG_ON
	ldp	x9, x8, [x19, #40]
	ldr	x21, [x8, x21]
	cmp	x21, x9
	cset	w0, eq
	bl	_BUG_ON
	str	x21, [x19, #32]
	ldr	x8, [x21]
	str	x8, [x19, #16]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w0, [x19, #28]
	add	x1, x19, #24
	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
	b	_queue_work
LBB0_9:
	str	xzr, [x19, #16]
	add	x0, x19, #8
	bl	_wake_up
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_mmc_omap_release_slot
.subsections_via_symbols
