	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ushc_set_ios
_ushc_set_ios:                          ## @ushc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_mmc_priv
	movq	%rax, %r14
	movl	20(%rbx), %esi
	movq	%rax, %rdi
	callq	_ushc_set_power
	movb	(%rbx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	%r14, %rdi
	callq	_ushc_set_bus_width
	movl	16(%rbx), %esi
	movq	8(%rbx), %rax
	movq	_MMC_TIMING_SD_HS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ushc_set_bus_freq              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_TIMING_SD_HS,8,3           ## @MMC_TIMING_SD_HS
	.no_dead_strip	_ushc_set_ios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ushc_set_ios
_ushc_set_ios:                          ; @ushc_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
	mov	x20, x0
	ldr	w1, [x19, #20]
	bl	_ushc_set_power
	ldr	w8, [x19]
	mov	w9, #1
	lsl	w1, w9, w8
	mov	x0, x20
	bl	_ushc_set_bus_width
	ldr	w1, [x19, #16]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _MMC_TIMING_SD_HS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_TIMING_SD_HS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ushc_set_bus_freq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_TIMING_SD_HS,8,3           ; @MMC_TIMING_SD_HS
	.no_dead_strip	_ushc_set_ios
.subsections_via_symbols
