	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_omap_set_capabilities
_sdhci_omap_set_capabilities:           ## @sdhci_omap_set_capabilities
	.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	%rdi, %r14
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_regulator_get
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_2:
	movq	_SDHCI_OMAP_CAPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sdhci_omap_readl
	movq	_CAPA_VS18@GOTPCREL(%rip), %rdx
	movq	_CAPA_VS30@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rdx), %r13d
	movq	_CAPA_VS33@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r13d
	notl	%r13d
	andl	%eax, %r13d
	movq	_IOV_3V3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%edx, %esi
	callq	_regulator_is_supported_voltage
	xorl	%r15d, %r15d
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_CAPA_VS33@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	orl	%r13d, %ebx
	movq	_IOV_1V8@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%edx, %esi
	callq	_regulator_is_supported_voltage
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_CAPA_VS18@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_6:
	orl	%ecx, %ebx
	movq	_SDHCI_OMAP_CAPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_sdhci_omap_writel
LBB0_7:
	movq	%r12, %rdi
	callq	_regulator_put
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vqmmc"

	.comm	_SDHCI_OMAP_CAPA,4,2            ## @SDHCI_OMAP_CAPA
	.comm	_CAPA_VS18,4,2                  ## @CAPA_VS18
	.comm	_CAPA_VS30,4,2                  ## @CAPA_VS30
	.comm	_CAPA_VS33,4,2                  ## @CAPA_VS33
	.comm	_IOV_3V3,4,2                    ## @IOV_3V3
	.comm	_IOV_1V8,4,2                    ## @IOV_1V8
	.no_dead_strip	_sdhci_omap_set_capabilities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_omap_set_capabilities
_sdhci_omap_set_capabilities:           ; @sdhci_omap_set_capabilities
	.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	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_regulator_get
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x21, _SDHCI_OMAP_CAPA@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SDHCI_OMAP_CAPA@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_sdhci_omap_readl
Lloh4:
	adrp	x22, _CAPA_VS18@GOTPAGE
Lloh5:
	ldr	x22, [x22, _CAPA_VS18@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh6:
	adrp	x9, _CAPA_VS30@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAPA_VS30@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x23, _CAPA_VS33@GOTPAGE
Lloh10:
	ldr	x23, [x23, _CAPA_VS33@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
	bic	w24, w0, w8
Lloh11:
	adrp	x8, _IOV_3V3@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IOV_3V3@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x1
	bl	_regulator_is_supported_voltage
	ldr	w8, [x23]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w8, w24
Lloh14:
	adrp	x8, _IOV_1V8@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IOV_1V8@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x1
	bl	_regulator_is_supported_voltage
	ldr	w8, [x22]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w2, w23, w8
	ldr	w1, [x21]
	mov	x0, x20
	bl	_sdhci_omap_writel
	mov	w20, #0
LBB0_3:
	mov	x0, x19
	bl	_regulator_put
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vqmmc"

	.comm	_SDHCI_OMAP_CAPA,4,2            ; @SDHCI_OMAP_CAPA
	.comm	_CAPA_VS18,4,2                  ; @CAPA_VS18
	.comm	_CAPA_VS30,4,2                  ; @CAPA_VS30
	.comm	_CAPA_VS33,4,2                  ; @CAPA_VS33
	.comm	_IOV_3V3,4,2                    ; @IOV_3V3
	.comm	_IOV_1V8,4,2                    ; @IOV_1V8
	.no_dead_strip	_sdhci_omap_set_capabilities
.subsections_via_symbols
