	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_hsmmc_conf_bus_power
_omap_hsmmc_conf_bus_power:             ## @omap_hsmmc_conf_bus_power
	.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	%rdi, %r14
	movq	8(%rdi), %rax
	movq	_OMAP_HSMMC_SUPPORTS_DUAL_VOLT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	(%rax), %ebx
	movq	_VS30@GOTPCREL(%rip), %rax
	cmovnel	(%rax), %ebx
	movq	_SDVS30@GOTPCREL(%rip), %rax
	cmoveq	_SDVS18@GOTPCREL(%rip), %rax
	movq	_VS18@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movl	(%rax), %r15d
	movl	(%rdi), %edi
	movq	_HCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_OMAP_HSMMC_READ
	movq	_SDVS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	orl	%r15d, %edx
	movl	(%r14), %edi
	movl	(%r12), %esi
	callq	_OMAP_HSMMC_WRITE
	movl	(%r14), %edi
	movq	_CAPA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_OMAP_HSMMC_READ
	movl	(%r14), %edi
	movl	(%r15), %esi
	orl	%eax, %ebx
	movl	%ebx, %edx
	callq	_OMAP_HSMMC_WRITE
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_sd_bus_power               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_HSMMC_SUPPORTS_DUAL_VOLT,4,2 ## @OMAP_HSMMC_SUPPORTS_DUAL_VOLT
	.comm	_SDVS30,4,2                     ## @SDVS30
	.comm	_VS30,4,2                       ## @VS30
	.comm	_VS18,4,2                       ## @VS18
	.comm	_SDVS18,4,2                     ## @SDVS18
	.comm	_HCTL,4,2                       ## @HCTL
	.comm	_SDVS_MASK,4,2                  ## @SDVS_MASK
	.comm	_CAPA,4,2                       ## @CAPA
	.no_dead_strip	_omap_hsmmc_conf_bus_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_hsmmc_conf_bus_power
_omap_hsmmc_conf_bus_power:             ; @omap_hsmmc_conf_bus_power
	.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, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _OMAP_HSMMC_SUPPORTS_DUAL_VOLT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OMAP_HSMMC_SUPPORTS_DUAL_VOLT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _VS30@GOTPAGE
Lloh3:
	ldr	x10, [x10, _VS30@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _VS18@GOTPAGE
Lloh7:
	ldr	x11, [x11, _VS18@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w9, w8
	csel	w8, wzr, w10, eq
	orr	w20, w8, w11
Lloh9:
	adrp	x8, _SDVS18@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SDVS18@GOTPAGEOFF]
Lloh11:
	adrp	x9, _SDVS30@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SDVS30@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w21, [x8]
	ldr	w0, [x0]
Lloh13:
	adrp	x22, _HCTL@GOTPAGE
Lloh14:
	ldr	x22, [x22, _HCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_OMAP_HSMMC_READ
Lloh15:
	adrp	x8, _SDVS_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SDVS_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldr	w0, [x19]
	ldr	w1, [x22]
	orr	w2, w8, w21
	bl	_OMAP_HSMMC_WRITE
	ldr	w0, [x19]
Lloh18:
	adrp	x21, _CAPA@GOTPAGE
Lloh19:
	ldr	x21, [x21, _CAPA@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_OMAP_HSMMC_READ
	ldr	w8, [x19]
	ldr	w1, [x21]
	orr	w2, w20, w0
	mov	x0, x8
	bl	_OMAP_HSMMC_WRITE
	mov	x0, x19
	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	_set_sd_bus_power
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_HSMMC_SUPPORTS_DUAL_VOLT,4,2 ; @OMAP_HSMMC_SUPPORTS_DUAL_VOLT
	.comm	_SDVS30,4,2                     ; @SDVS30
	.comm	_VS30,4,2                       ; @VS30
	.comm	_VS18,4,2                       ; @VS18
	.comm	_SDVS18,4,2                     ; @SDVS18
	.comm	_HCTL,4,2                       ; @HCTL
	.comm	_SDVS_MASK,4,2                  ; @SDVS_MASK
	.comm	_CAPA,4,2                       ; @CAPA
	.no_dead_strip	_omap_hsmmc_conf_bus_power
.subsections_via_symbols
