	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_tegra_start_signal_voltage_switch
_sdhci_tegra_start_signal_voltage_switch: ## @sdhci_tegra_start_signal_voltage_switch
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_mmc_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	%rax, %r14
	movl	(%r12), %esi
	movq	_MMC_SIGNAL_VOLTAGE_330@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_tegra_sdhci_set_padctrl
	testl	%eax, %eax
	js	LBB0_10
## %bb.2:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_sdhci_start_signal_voltage_switch
	jmp	LBB0_6
LBB0_3:
	movq	_MMC_SIGNAL_VOLTAGE_180@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %esi
	jne	LBB0_7
## %bb.4:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_sdhci_start_signal_voltage_switch
	testl	%eax, %eax
	js	LBB0_10
## %bb.5:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_tegra_sdhci_set_padctrl
LBB0_6:
	movl	%eax, %ebx
LBB0_7:
	cmpq	$0, (%r14)
	je	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	callq	_tegra_sdhci_pad_autocalib
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_SIGNAL_VOLTAGE_330,4,2     ## @MMC_SIGNAL_VOLTAGE_330
	.comm	_MMC_SIGNAL_VOLTAGE_180,4,2     ## @MMC_SIGNAL_VOLTAGE_180
	.no_dead_strip	_sdhci_tegra_start_signal_voltage_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_tegra_start_signal_voltage_switch
_sdhci_tegra_start_signal_voltage_switch: ; @sdhci_tegra_start_signal_voltage_switch
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x22, x0
	bl	_mmc_priv
	mov	x19, x0
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
	mov	x20, x0
	ldr	w1, [x21]
Lloh0:
	adrp	x8, _MMC_SIGNAL_VOLTAGE_330@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_SIGNAL_VOLTAGE_330@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w2, #1
	bl	_tegra_sdhci_set_padctrl
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x0, x22
	mov	x1, x21
	bl	_sdhci_start_signal_voltage_switch
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _MMC_SIGNAL_VOLTAGE_180@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMC_SIGNAL_VOLTAGE_180@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_8
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	bl	_sdhci_start_signal_voltage_switch
	tbnz	w0, #31, LBB0_7
; %bb.5:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	bl	_tegra_sdhci_set_padctrl
LBB0_6:
	mov	x23, x0
	ldr	x8, [x20]
	cbnz	x8, LBB0_9
	b	LBB0_10
LBB0_7:
	mov	x23, x0
	b	LBB0_10
LBB0_8:
	mov	w23, #0
	ldr	x8, [x20]
	cbz	x8, LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_tegra_sdhci_pad_autocalib
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_SIGNAL_VOLTAGE_330,4,2     ; @MMC_SIGNAL_VOLTAGE_330
	.comm	_MMC_SIGNAL_VOLTAGE_180,4,2     ; @MMC_SIGNAL_VOLTAGE_180
	.no_dead_strip	_sdhci_tegra_start_signal_voltage_switch
.subsections_via_symbols
