	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxcmci_softreset
_mxcmci_softreset:                      ## @mxcmci_softreset
	.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, %rbx
	movl	(%rdi), %edi
	callq	_mmc_dev
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_dbg
	movq	_STR_STP_CLK_RESET@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MMC_REG_STR_STP_CLK@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movq	_STR_STP_CLK_START_CLK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	orl	(%r12), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writew
	movq	_MMC_REG_RES_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$255, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mxcmci_writew                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mxcmci_softreset\n"

	.comm	_STR_STP_CLK_RESET,4,2          ## @STR_STP_CLK_RESET
	.comm	_MMC_REG_STR_STP_CLK,4,2        ## @MMC_REG_STR_STP_CLK
	.comm	_STR_STP_CLK_START_CLK,4,2      ## @STR_STP_CLK_START_CLK
	.comm	_MMC_REG_RES_TO,4,2             ## @MMC_REG_RES_TO
	.no_dead_strip	_mxcmci_softreset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxcmci_softreset
_mxcmci_softreset:                      ; @mxcmci_softreset
	.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	x19, x0
	ldr	w0, [x0]
	bl	_mmc_dev
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x21, _STR_STP_CLK_RESET@GOTPAGE
Lloh3:
	ldr	x21, [x21, _STR_STP_CLK_RESET@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x20, _MMC_REG_STR_STP_CLK@GOTPAGE
Lloh5:
	ldr	x20, [x20, _MMC_REG_STR_STP_CLK@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w8, [x21]
Lloh6:
	adrp	x21, _STR_STP_CLK_START_CLK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _STR_STP_CLK_START_CLK@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w1, w9, w8
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mxcmci_writew
Lloh8:
	adrp	x8, _MMC_REG_RES_TO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MMC_REG_RES_TO@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #255
	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	_mxcmci_writew
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mxcmci_softreset\n"

	.comm	_STR_STP_CLK_RESET,4,2          ; @STR_STP_CLK_RESET
	.comm	_MMC_REG_STR_STP_CLK,4,2        ; @MMC_REG_STR_STP_CLK
	.comm	_STR_STP_CLK_START_CLK,4,2      ; @STR_STP_CLK_START_CLK
	.comm	_MMC_REG_RES_TO,4,2             ; @MMC_REG_RES_TO
	.no_dead_strip	_mxcmci_softreset
.subsections_via_symbols
