	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_send_relative_addr         ## -- Begin function mmc_send_relative_addr
	.p2align	4, 0x90
_mmc_send_relative_addr:                ## @mmc_send_relative_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movaps	%xmm0, -48(%rbp)
	movq	_MMC_RSP_R6@GOTPCREL(%rip), %rax
	movq	_MMC_CMD_BCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SD_SEND_RELATIVE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	%ecx, -48(%rbp)
	movq	_MMC_CMD_RETRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	callq	_mmc_wait_for_cmd
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	-40(%rbp), %rcx
	movswl	2(%rcx), %ecx
	movl	%ecx, (%rbx)
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SD_SEND_RELATIVE_ADDR,4,2      ## @SD_SEND_RELATIVE_ADDR
	.comm	_MMC_RSP_R6,4,2                 ## @MMC_RSP_R6
	.comm	_MMC_CMD_BCR,4,2                ## @MMC_CMD_BCR
	.comm	_MMC_CMD_RETRIES,4,2            ## @MMC_CMD_RETRIES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_send_relative_addr         ; -- Begin function mmc_send_relative_addr
	.p2align	2
_mmc_send_relative_addr:                ; @mmc_send_relative_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
Lloh0:
	adrp	x8, _MMC_RSP_R6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_RSP_R6@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MMC_CMD_BCR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_CMD_BCR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SD_SEND_RELATIVE_ADDR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SD_SEND_RELATIVE_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [sp, #24]
	str	w8, [sp]
Lloh9:
	adrp	x8, _MMC_CMD_RETRIES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMC_CMD_RETRIES@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x1, sp
	bl	_mmc_wait_for_cmd
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	ldrsh	w8, [x8, #2]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SD_SEND_RELATIVE_ADDR,4,2      ; @SD_SEND_RELATIVE_ADDR
	.comm	_MMC_RSP_R6,4,2                 ; @MMC_RSP_R6
	.comm	_MMC_CMD_BCR,4,2                ; @MMC_CMD_BCR
	.comm	_MMC_CMD_RETRIES,4,2            ; @MMC_CMD_RETRIES
.subsections_via_symbols
