	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_sprd_request
_sdhci_sprd_request:                    ## @sdhci_sprd_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_mmc_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TO_SPRD_HOST
	movq	_SDHCI_AUTO_CMD23@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	andl	(%rax), %ecx
	orl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	movq	8(%rbx), %rax
	movq	_SDHCI_SPEC_410@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jl	LBB0_5
## %bb.1:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_SDHCI_SPRD_ARG2_STUFF@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rax)
	je	LBB0_5
## %bb.3:
	movl	(%rdx), %eax
	testl	%ecx, %eax
	je	LBB0_5
## %bb.4:
	notl	%eax
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdhci_request                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_AUTO_CMD23,4,2           ## @SDHCI_AUTO_CMD23
	.comm	_SDHCI_SPEC_410,8,3             ## @SDHCI_SPEC_410
	.comm	_SDHCI_SPRD_ARG2_STUFF,4,2      ## @SDHCI_SPRD_ARG2_STUFF
	.no_dead_strip	_sdhci_sprd_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_sprd_request
_sdhci_sprd_request:                    ; @sdhci_sprd_request
	.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, x1
	mov	x20, x0
	bl	_mmc_priv
	mov	x21, x0
	bl	_TO_SPRD_HOST
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SDHCI_AUTO_CMD23@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDHCI_AUTO_CMD23@GOTPAGEOFF]
	ldr	w10, [x9]
	and	w8, w10, w8
	ldr	w10, [x21]
	orr	w8, w10, w8
	str	w8, [x21]
	ldr	x10, [x21, #8]
Lloh2:
	adrp	x11, _SDHCI_SPEC_410@GOTPAGE
Lloh3:
	ldr	x11, [x11, _SDHCI_SPEC_410@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	cmp	x10, x11
	b.lt	LBB0_5
; %bb.1:
	ldr	x10, [x19]
	cbz	x10, LBB0_5
; %bb.2:
	ldr	w10, [x10]
Lloh5:
	adrp	x11, _SDHCI_SPRD_ARG2_STUFF@GOTPAGE
Lloh6:
	ldr	x11, [x11, _SDHCI_SPRD_ARG2_STUFF@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_5
; %bb.3:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	bic	w8, w8, w9
	str	w8, [x21]
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	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	_sdhci_request
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_AUTO_CMD23,4,2           ; @SDHCI_AUTO_CMD23
	.comm	_SDHCI_SPEC_410,8,3             ; @SDHCI_SPEC_410
	.comm	_SDHCI_SPRD_ARG2_STUFF,4,2      ; @SDHCI_SPRD_ARG2_STUFF
	.no_dead_strip	_sdhci_sprd_request
.subsections_via_symbols
