	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_omap_set_pbias
_sdhci_omap_set_pbias:                  ## @sdhci_omap_set_pbias
	.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
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	4(%rdi), %edi
	callq	_IS_ERR
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.2:
	movl	4(%rbx), %edi
	movl	%r12d, %esi
	movl	%r12d, %edx
	callq	_regulator_set_voltage
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_9:
	cmpl	$0, (%rbx)
	je	LBB0_13
## %bb.10:
	movl	4(%rbx), %edi
	callq	_regulator_disable
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	cmpl	$0, (%rbx)
	jne	LBB0_13
## %bb.6:
	movl	4(%rbx), %edi
	callq	_regulator_enable
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	%r14, %rdi
	callq	_dev_err
	movl	%r12d, %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$0, (%rbx)
	jmp	LBB0_13
LBB0_8:
	movl	$1, (%rbx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pbias set voltage failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"pbias reg enable fail\n"

L_.str.2:                               ## @.str.2
	.asciz	"pbias reg disable fail\n"

	.no_dead_strip	_sdhci_omap_set_pbias
.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_pbias
_sdhci_omap_set_pbias:                  ; @sdhci_omap_set_pbias
	.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	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	ldr	w0, [x0, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	mov	w20, #0
	b	LBB0_12
LBB0_2:
	cbz	w22, LBB0_5
; %bb.3:
	ldr	w0, [x21, #4]
	mov	x1, x20
	mov	x2, x20
	bl	_regulator_set_voltage
	cbz	w0, LBB0_8
; %bb.4:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_5:
	ldr	w8, [x21]
	cbz	w8, LBB0_1
; %bb.6:
	ldr	w0, [x21, #4]
	bl	_regulator_disable
	mov	x20, x0
	cbz	w0, LBB0_13
; %bb.7:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_8:
	ldr	w8, [x21]
	cbnz	w8, LBB0_1
; %bb.9:
	ldr	w0, [x21, #4]
	bl	_regulator_enable
	mov	x20, x0
	cbz	w0, LBB0_14
; %bb.10:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dev_err
LBB0_12:
	mov	x0, x20
	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_13:
	str	wzr, [x21]
	b	LBB0_12
LBB0_14:
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pbias set voltage failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"pbias reg enable fail\n"

l_.str.2:                               ; @.str.2
	.asciz	"pbias reg disable fail\n"

	.no_dead_strip	_sdhci_omap_set_pbias
.subsections_via_symbols
