	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_mmc_set_ios
_mxs_mmc_set_ios:                       ## @mxs_mmc_set_ios
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_mmc_priv
	movq	(%rbx), %rcx
	movq	_MMC_BUS_WIDTH_8@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	$2, (%rax)
	jmp	LBB0_5
LBB0_2:
	movq	_MMC_BUS_WIDTH_4@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movl	$1, (%rax)
	jmp	LBB0_5
LBB0_4:
	movl	$0, (%rax)
LBB0_5:
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.7:
	addq	$4, %rax
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mxs_ssp_set_clk_rate           ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_BUS_WIDTH_8,8,3            ## @MMC_BUS_WIDTH_8
	.comm	_MMC_BUS_WIDTH_4,8,3            ## @MMC_BUS_WIDTH_4
	.no_dead_strip	_mxs_mmc_set_ios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_mmc_set_ios
_mxs_mmc_set_ios:                       ; @mxs_mmc_set_ios
	.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
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _MMC_BUS_WIDTH_8@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_BUS_WIDTH_8@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #2
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _MMC_BUS_WIDTH_4@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_BUS_WIDTH_4@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	w8, #1
LBB0_4:
	str	w8, [x0]
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_7
LBB0_5:
	add	x0, x0, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mxs_ssp_set_clk_rate
LBB0_6:
	str	wzr, [x0]
	ldr	w1, [x19, #8]
	cbnz	w1, LBB0_5
LBB0_7:
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_BUS_WIDTH_8,8,3            ; @MMC_BUS_WIDTH_8
	.comm	_MMC_BUS_WIDTH_4,8,3            ; @MMC_BUS_WIDTH_4
	.no_dead_strip	_mxs_mmc_set_ios
.subsections_via_symbols
