	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t7l66xb_mmc_enable
_t7l66xb_mmc_enable:                    ## @t7l66xb_mmc_enable
	.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	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	12(%rax), %edi
	callq	_clk_prepare_enable
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %r15
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_raw_spin_lock_irqsave
	movq	_SCR_DEV_CTL@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_tmio_ioread8
	movq	_SCR_DEV_CTL_MMC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_tmio_iowrite8
	movq	%r15, %rdi
	callq	_raw_spin_unlock_irqrestore
	movl	$512, %edi                      ## imm = 0x200
	addq	(%rbx), %rdi
	movq	_t7l66xb_mmc_resources@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$65534, %edx                    ## imm = 0xFFFE
	andl	(%rax), %edx
	xorl	%esi, %esi
	callq	_tmio_core_mmc_enable
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCR_DEV_CTL,8,3                ## @SCR_DEV_CTL
	.comm	_SCR_DEV_CTL_MMC,4,2            ## @SCR_DEV_CTL_MMC
	.comm	_t7l66xb_mmc_resources,8,3      ## @t7l66xb_mmc_resources
	.no_dead_strip	_t7l66xb_mmc_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t7l66xb_mmc_enable
_t7l66xb_mmc_enable:                    ; @t7l66xb_mmc_enable
	.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	w0, [x0]
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w0, [x0, #12]
	bl	_clk_prepare_enable
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.1:
	add	x21, x20, #8
	mov	x0, x21
	bl	_raw_spin_lock_irqsave
	ldr	x8, [x20]
Lloh0:
	adrp	x22, _SCR_DEV_CTL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SCR_DEV_CTL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_tmio_ioread8
Lloh2:
	adrp	x8, _SCR_DEV_CTL_MMC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCR_DEV_CTL_MMC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_tmio_iowrite8
	mov	x0, x21
	bl	_raw_spin_unlock_irqrestore
	ldr	x8, [x20]
	add	x0, x8, #512
Lloh5:
	adrp	x8, _t7l66xb_mmc_resources@GOTPAGE
Lloh6:
	ldr	x8, [x8, _t7l66xb_mmc_resources@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x8]
	and	w2, w8, #0xfffe
	mov	w1, #0
	bl	_tmio_core_mmc_enable
LBB0_2:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SCR_DEV_CTL,8,3                ; @SCR_DEV_CTL
	.comm	_SCR_DEV_CTL_MMC,4,2            ; @SCR_DEV_CTL_MMC
	.comm	_t7l66xb_mmc_resources,8,3      ; @t7l66xb_mmc_resources
	.no_dead_strip	_t7l66xb_mmc_enable
.subsections_via_symbols
