	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_mmc_set_response_bits
_meson_mmc_set_response_bits:           ## @meson_mmc_set_response_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_MMC_RSP_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.1:
	movq	_MMC_RSP_136@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.3:
	movq	_CMD_CFG_RESP_128@GOTPCREL(%rip), %rcx
	movl	(%rsi), %eax
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
	jmp	LBB0_4
LBB0_8:
	movl	(%rsi), %eax
	movq	_CMD_CFG_NO_RESP@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_2:
	movl	(%rsi), %eax
LBB0_4:
	movq	_CMD_CFG_RESP_NUM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
	movl	(%rdi), %ecx
	movq	_MMC_RSP_CRC@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_6
## %bb.5:
	movq	_CMD_CFG_RESP_NOCRC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
	movl	(%rdi), %ecx
LBB0_6:
	movq	_MMC_RSP_BUSY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_10
## %bb.7:
	movq	_CMD_CFG_R1B@GOTPCREL(%rip), %rcx
LBB0_9:
	orl	(%rcx), %eax
	movl	%eax, (%rsi)
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_RSP_PRESENT,4,2            ## @MMC_RSP_PRESENT
	.comm	_MMC_RSP_136,4,2                ## @MMC_RSP_136
	.comm	_CMD_CFG_RESP_128,4,2           ## @CMD_CFG_RESP_128
	.comm	_CMD_CFG_RESP_NUM,4,2           ## @CMD_CFG_RESP_NUM
	.comm	_MMC_RSP_CRC,4,2                ## @MMC_RSP_CRC
	.comm	_CMD_CFG_RESP_NOCRC,4,2         ## @CMD_CFG_RESP_NOCRC
	.comm	_MMC_RSP_BUSY,4,2               ## @MMC_RSP_BUSY
	.comm	_CMD_CFG_R1B,4,2                ## @CMD_CFG_R1B
	.comm	_CMD_CFG_NO_RESP,4,2            ## @CMD_CFG_NO_RESP
	.no_dead_strip	_meson_mmc_set_response_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_mmc_set_response_bits
_meson_mmc_set_response_bits:           ; @meson_mmc_set_response_bits
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MMC_RSP_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_RSP_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _MMC_RSP_136@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_RSP_136@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _CMD_CFG_RESP_128@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CMD_CFG_RESP_128@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x1]
	orr	w8, w9, w8
	str	w8, [x1]
	b	LBB0_5
LBB0_3:
	ldr	w8, [x1]
Lloh9:
	adrp	x9, _CMD_CFG_NO_RESP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CMD_CFG_NO_RESP@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	ldr	w8, [x1]
LBB0_5:
Lloh11:
	adrp	x9, _CMD_CFG_RESP_NUM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CMD_CFG_RESP_NUM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x1]
	ldr	w9, [x0]
Lloh14:
	adrp	x10, _MMC_RSP_CRC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MMC_RSP_CRC@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.6:
Lloh17:
	adrp	x9, _CMD_CFG_RESP_NOCRC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CMD_CFG_RESP_NOCRC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1]
	ldr	w9, [x0]
LBB0_7:
Lloh20:
	adrp	x10, _MMC_RSP_BUSY@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MMC_RSP_BUSY@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.8:
Lloh23:
	adrp	x9, _CMD_CFG_R1B@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CMD_CFG_R1B@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x1]
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_RSP_PRESENT,4,2            ; @MMC_RSP_PRESENT
	.comm	_MMC_RSP_136,4,2                ; @MMC_RSP_136
	.comm	_CMD_CFG_RESP_128,4,2           ; @CMD_CFG_RESP_128
	.comm	_CMD_CFG_RESP_NUM,4,2           ; @CMD_CFG_RESP_NUM
	.comm	_MMC_RSP_CRC,4,2                ; @MMC_RSP_CRC
	.comm	_CMD_CFG_RESP_NOCRC,4,2         ; @CMD_CFG_RESP_NOCRC
	.comm	_MMC_RSP_BUSY,4,2               ; @MMC_RSP_BUSY
	.comm	_CMD_CFG_R1B,4,2                ; @CMD_CFG_R1B
	.comm	_CMD_CFG_NO_RESP,4,2            ; @CMD_CFG_NO_RESP
	.no_dead_strip	_meson_mmc_set_response_bits
.subsections_via_symbols
