	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renesas_sdhi_start_signal_voltage_switch
_renesas_sdhi_start_signal_voltage_switch: ## @renesas_sdhi_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_mmc_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_host_to_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.2:
	leaq	16(%r14), %rax
	jmp	LBB0_4
LBB0_3:
	leaq	8(%r14), %rax
LBB0_4:
	movq	(%rax), %r12
	movq	(%r14), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpl	$128, (%rbx)
	cmovel	%edx, %eax
	jmp	LBB0_10
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_mmc_regulator_set_vqmmc
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	(%r14), %rdi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pinctrl_select_state           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_renesas_sdhi_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 renesas_sdhi_start_signal_voltage_switch
_renesas_sdhi_start_signal_voltage_switch: ; @renesas_sdhi_start_signal_voltage_switch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_mmc_priv
	mov	x21, x0
	bl	_host_to_priv
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.2:
	add	x8, x20, #16
	b	LBB0_4
LBB0_3:
	add	x8, x20, #8
LBB0_4:
	ldr	x22, [x8]
	ldr	x0, [x20]
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_IS_ERR
	cbz	x0, LBB0_9
LBB0_6:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _EINVAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #128
	csneg	w0, wzr, w9, eq
	b	LBB0_8
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_mmc_regulator_set_vqmmc
	cbnz	w0, LBB0_8
; %bb.10:
	ldr	x0, [x20]
	mov	x1, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pinctrl_select_state
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_renesas_sdhi_start_signal_voltage_switch
.subsections_via_symbols
