	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_send_cxd_data
_mmc_send_cxd_data:                     ## @mmc_send_cxd_data
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movups	%xmm0, -64(%rbp)
	movq	$0, -32(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, -120(%rbp)
	leaq	-72(%rbp), %rax
	movq	%rax, -128(%rbp)
	movq	%rdx, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	_MMC_RSP_SPI_R1@GOTPCREL(%rip), %rax
	movq	_MMC_RSP_R1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_MMC_CMD_ADTC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -112(%rbp)
	movl	%r8d, -72(%rbp)
	movl	$1, -68(%rbp)
	movq	_MMC_DATA_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	-80(%rbp), %rdi
	movq	%rdi, -40(%rbp)
	movl	$1, -64(%rbp)
	movq	%rcx, %rsi
	movl	%r8d, %edx
	callq	_sg_init_one
	movq	_MMC_SEND_CSD@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_MMC_SEND_CID@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_2
## %bb.3:
	leaq	-72(%rbp), %rdi
	movq	%r14, %rsi
	callq	_mmc_set_data_timeout
	jmp	LBB0_4
LBB0_2:
	movq	$0, -48(%rbp)
	movl	$64, -60(%rbp)
LBB0_4:
	leaq	-128(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mmc_wait_for_req
	movl	-108(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	-56(%rbp), %eax
LBB0_6:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_RSP_SPI_R1,4,2             ## @MMC_RSP_SPI_R1
	.comm	_MMC_RSP_R1,4,2                 ## @MMC_RSP_R1
	.comm	_MMC_CMD_ADTC,4,2               ## @MMC_CMD_ADTC
	.comm	_MMC_DATA_READ,4,2              ## @MMC_DATA_READ
	.comm	_MMC_SEND_CSD,8,3               ## @MMC_SEND_CSD
	.comm	_MMC_SEND_CID,8,3               ## @MMC_SEND_CID
	.no_dead_strip	_mmc_send_cxd_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_send_cxd_data
_mmc_send_cxd_data:                     ; @mmc_send_cxd_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #40]
	stur	q0, [sp, #24]
	add	x8, sp, #64
	add	x9, sp, #16
	stp	x9, x8, [x29, #-48]
	stp	xzr, x2, [sp, #72]
	str	xzr, [sp, #64]
Lloh0:
	adrp	x8, _MMC_RSP_SPI_R1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_RSP_SPI_R1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MMC_RSP_R1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMC_RSP_R1@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _MMC_CMD_ADTC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMC_CMD_ADTC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #64]
	str	w4, [sp, #16]
Lloh9:
	adrp	x8, _MMC_DATA_READ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMC_DATA_READ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	x9, sp, #8
	stp	x9, xzr, [sp, #48]
	str	w8, [sp, #56]
	movi.2s	v0, #1
	stur	d0, [sp, #20]
	add	x0, sp, #8
	mov	x1, x3
	mov	x2, x4
	bl	_sg_init_one
Lloh12:
	adrp	x8, _MMC_SEND_CSD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MMC_SEND_CSD@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_3
; %bb.1:
Lloh15:
	adrp	x8, _MMC_SEND_CID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MMC_SEND_CID@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_3
; %bb.2:
	add	x0, sp, #16
	mov	x1, x20
	bl	_mmc_set_data_timeout
	b	LBB0_4
LBB0_3:
	str	xzr, [sp, #40]
	mov	w8, #64
	str	w8, [sp, #28]
LBB0_4:
	sub	x1, x29, #48
	mov	x0, x19
	bl	_mmc_wait_for_req
	ldr	w8, [sp, #68]
	ldr	w9, [sp, #32]
	cmp	w8, #0
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_RSP_SPI_R1,4,2             ; @MMC_RSP_SPI_R1
	.comm	_MMC_RSP_R1,4,2                 ; @MMC_RSP_R1
	.comm	_MMC_CMD_ADTC,4,2               ; @MMC_CMD_ADTC
	.comm	_MMC_DATA_READ,4,2              ; @MMC_DATA_READ
	.comm	_MMC_SEND_CSD,8,3               ; @MMC_SEND_CSD
	.comm	_MMC_SEND_CID,8,3               ; @MMC_SEND_CID
	.no_dead_strip	_mmc_send_cxd_data
.subsections_via_symbols
