	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wmt_mci_send_command
_wmt_mci_send_command:                  ## @wmt_mci_send_command
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r13d
	callq	_mmc_priv
	movq	%rax, %rbx
	movq	_SDMMC_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	%r13d, %edi
	callq	_writeb
	movq	_SDMMC_ARG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	%r12d, %edi
	callq	_writel
	movq	_SDMMC_RSPTYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	%r15d, %edi
	callq	_writeb
	movq	_SDMMC_CTLR@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rbx), %rdi
	callq	_readb
	movq	_CTLR_FIFO_RESET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writeb
	movq	_WMT_SD_POWER_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wmt_set_sd_power
	movq	_SDMMC_STS0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$255, %edi
	callq	_writeb
	movq	_SDMMC_STS1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$255, %edi
	callq	_writeb
	movq	_SDMMC_STS2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$255, %edi
	callq	_writeb
	movq	_SDMMC_STS3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$255, %edi
	callq	_writeb
	movq	(%r15), %rdi
	addq	(%rbx), %rdi
	callq	_readb
	andl	$15, %eax
	shll	$4, %r14d
	orl	%eax, %r14d
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	movl	%r14d, %edi
	callq	_writeb
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDMMC_CMD,8,3                  ## @SDMMC_CMD
	.comm	_SDMMC_ARG,8,3                  ## @SDMMC_ARG
	.comm	_SDMMC_RSPTYPE,8,3              ## @SDMMC_RSPTYPE
	.comm	_SDMMC_CTLR,8,3                 ## @SDMMC_CTLR
	.comm	_CTLR_FIFO_RESET,4,2            ## @CTLR_FIFO_RESET
	.comm	_WMT_SD_POWER_ON,4,2            ## @WMT_SD_POWER_ON
	.comm	_SDMMC_STS0,8,3                 ## @SDMMC_STS0
	.comm	_SDMMC_STS1,8,3                 ## @SDMMC_STS1
	.comm	_SDMMC_STS2,8,3                 ## @SDMMC_STS2
	.comm	_SDMMC_STS3,8,3                 ## @SDMMC_STS3
	.no_dead_strip	_wmt_mci_send_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wmt_mci_send_command
_wmt_mci_send_command:                  ; @wmt_mci_send_command
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	bl	_mmc_priv
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SDMMC_CMD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDMMC_CMD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x23
	bl	_writeb
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _SDMMC_ARG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDMMC_ARG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x22
	bl	_writel
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _SDMMC_RSPTYPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDMMC_RSPTYPE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writeb
	ldr	x8, [x20]
Lloh9:
	adrp	x21, _SDMMC_CTLR@GOTPAGE
Lloh10:
	ldr	x21, [x21, _SDMMC_CTLR@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readb
Lloh11:
	adrp	x8, _CTLR_FIFO_RESET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTLR_FIFO_RESET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writeb
Lloh14:
	adrp	x8, _WMT_SD_POWER_ON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WMT_SD_POWER_ON@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wmt_set_sd_power
	ldr	x8, [x20]
Lloh17:
	adrp	x9, _SDMMC_STS0@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SDMMC_STS0@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #255
	bl	_writeb
	ldr	x8, [x20]
Lloh20:
	adrp	x9, _SDMMC_STS1@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SDMMC_STS1@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #255
	bl	_writeb
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _SDMMC_STS2@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SDMMC_STS2@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #255
	bl	_writeb
	ldr	x8, [x20]
Lloh26:
	adrp	x9, _SDMMC_STS3@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SDMMC_STS3@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #255
	bl	_writeb
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readb
	bfi	w0, w19, #4, #28
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writeb
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDMMC_CMD,8,3                  ; @SDMMC_CMD
	.comm	_SDMMC_ARG,8,3                  ; @SDMMC_ARG
	.comm	_SDMMC_RSPTYPE,8,3              ; @SDMMC_RSPTYPE
	.comm	_SDMMC_CTLR,8,3                 ; @SDMMC_CTLR
	.comm	_CTLR_FIFO_RESET,4,2            ; @CTLR_FIFO_RESET
	.comm	_WMT_SD_POWER_ON,4,2            ; @WMT_SD_POWER_ON
	.comm	_SDMMC_STS0,8,3                 ; @SDMMC_STS0
	.comm	_SDMMC_STS1,8,3                 ; @SDMMC_STS1
	.comm	_SDMMC_STS2,8,3                 ; @SDMMC_STS2
	.comm	_SDMMC_STS3,8,3                 ; @SDMMC_STS3
	.no_dead_strip	_wmt_mci_send_command
.subsections_via_symbols
