	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_mmc_read_resp
_meson_mmc_read_resp:                   ## @meson_mmc_read_resp
	.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
	callq	_mmc_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	movq	_MMC_RSP_136@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_SD_EMMC_CMD_RSP3@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	_SD_EMMC_CMD_RSP2@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	_SD_EMMC_CMD_RSP1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	8(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	_SD_EMMC_CMD_RSP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	8(%rbx), %rcx
	movq	%rax, 24(%rcx)
	jmp	LBB0_4
LBB0_2:
	movq	_MMC_RSP_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_SD_EMMC_CMD_RSP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_RSP_136,4,2                ## @MMC_RSP_136
	.comm	_SD_EMMC_CMD_RSP3,8,3           ## @SD_EMMC_CMD_RSP3
	.comm	_SD_EMMC_CMD_RSP2,8,3           ## @SD_EMMC_CMD_RSP2
	.comm	_SD_EMMC_CMD_RSP1,8,3           ## @SD_EMMC_CMD_RSP1
	.comm	_SD_EMMC_CMD_RSP,8,3            ## @SD_EMMC_CMD_RSP
	.comm	_MMC_RSP_PRESENT,4,2            ## @MMC_RSP_PRESENT
	.no_dead_strip	_meson_mmc_read_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_mmc_read_resp
_meson_mmc_read_resp:                   ; @meson_mmc_read_resp
	.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
	bl	_mmc_priv
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MMC_RSP_136@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_RSP_136@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _SD_EMMC_CMD_RSP3@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SD_EMMC_CMD_RSP3@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #8]
	str	x0, [x8]
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _SD_EMMC_CMD_RSP2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SD_EMMC_CMD_RSP2@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _SD_EMMC_CMD_RSP1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SD_EMMC_CMD_RSP1@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #8]
	str	x0, [x8, #16]
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _SD_EMMC_CMD_RSP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SD_EMMC_CMD_RSP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #8]
	str	x0, [x8, #24]
	b	LBB0_4
LBB0_2:
Lloh15:
	adrp	x9, _MMC_RSP_PRESENT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MMC_RSP_PRESENT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x20]
Lloh18:
	adrp	x9, _SD_EMMC_CMD_RSP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SD_EMMC_CMD_RSP@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	x8, [x19, #8]
	str	x0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_RSP_136,4,2                ; @MMC_RSP_136
	.comm	_SD_EMMC_CMD_RSP3,8,3           ; @SD_EMMC_CMD_RSP3
	.comm	_SD_EMMC_CMD_RSP2,8,3           ; @SD_EMMC_CMD_RSP2
	.comm	_SD_EMMC_CMD_RSP1,8,3           ; @SD_EMMC_CMD_RSP1
	.comm	_SD_EMMC_CMD_RSP,8,3            ; @SD_EMMC_CMD_RSP
	.comm	_MMC_RSP_PRESENT,4,2            ; @MMC_RSP_PRESENT
	.no_dead_strip	_meson_mmc_read_resp
.subsections_via_symbols
