	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_send_status
_mmc_test_send_status:                  ## @mmc_test_send_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_MMC_SEND_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	(%r14), %rax
	movl	4(%rax), %edi
	callq	_mmc_host_is_spi
	movq	(%r14), %rcx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rcx), %eax
	shll	$16, %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	_MMC_RSP_SPI_R2@GOTPCREL(%rip), %rax
	movq	_MMC_RSP_R1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_MMC_CMD_AC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 4(%rbx)
	movl	4(%rcx), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmc_wait_for_cmd               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_SEND_STATUS,4,2            ## @MMC_SEND_STATUS
	.comm	_MMC_RSP_SPI_R2,4,2             ## @MMC_RSP_SPI_R2
	.comm	_MMC_RSP_R1,4,2                 ## @MMC_RSP_R1
	.comm	_MMC_CMD_AC,4,2                 ## @MMC_CMD_AC
	.no_dead_strip	_mmc_test_send_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_send_status
_mmc_test_send_status:                  ; @mmc_test_send_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _MMC_SEND_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_SEND_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	bl	_mmc_host_is_spi
	ldr	x8, [x20]
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w9, [x8]
	lsl	w9, w9, #16
	str	w9, [x19]
LBB0_2:
Lloh3:
	adrp	x9, _MMC_RSP_SPI_R2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_RSP_SPI_R2@GOTPAGEOFF]
Lloh5:
	adrp	x10, _MMC_RSP_R1@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MMC_RSP_R1@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _MMC_CMD_AC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MMC_CMD_AC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #4]
	ldr	w0, [x8, #4]
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmc_wait_for_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_SEND_STATUS,4,2            ; @MMC_SEND_STATUS
	.comm	_MMC_RSP_SPI_R2,4,2             ; @MMC_RSP_SPI_R2
	.comm	_MMC_RSP_R1,4,2                 ; @MMC_RSP_R1
	.comm	_MMC_CMD_AC,4,2                 ; @MMC_CMD_AC
	.no_dead_strip	_mmc_test_send_status
.subsections_via_symbols
