	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zet6223_power_on
_zet6223_power_on:                      ## @zet6223_power_on
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	movq	8(%r15), %r14
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rdi)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 8(%rdi)
	callq	_ARRAY_SIZE
	movq	(%r15), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_devm_regulator_bulk_get
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_regulator_bulk_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	_ZET6223_POWER_ON_DELAY_MSEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
	movq	_zet6223_power_off@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_add_action_or_reset
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vio"

L_.str.1:                               ## @.str.1
	.asciz	"vcc"

	.comm	_ZET6223_POWER_ON_DELAY_MSEC,4,2 ## @ZET6223_POWER_ON_DELAY_MSEC
	.comm	_zet6223_power_off,4,2          ## @zet6223_power_off
L_.str.2:                               ## @.str.2
	.asciz	"failed to install poweroff action: %d\n"

	.no_dead_strip	_zet6223_power_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zet6223_power_on
_zet6223_power_on:                      ; @zet6223_power_on
	.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, x0
	ldp	x0, x19, [x0]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [x0]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	x2, [x20]
	mov	x0, x19
	bl	_devm_regulator_bulk_get
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	ldr	x1, [x20]
	bl	_regulator_bulk_enable
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.2:
Lloh4:
	adrp	x8, _ZET6223_POWER_ON_DELAY_MSEC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ZET6223_POWER_ON_DELAY_MSEC@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_msleep
Lloh7:
	adrp	x8, _zet6223_power_off@GOTPAGE
Lloh8:
	ldr	x8, [x8, _zet6223_power_off@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_add_action_or_reset
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
LBB0_4:
	mov	x0, x21
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vio"

l_.str.1:                               ; @.str.1
	.asciz	"vcc"

	.comm	_ZET6223_POWER_ON_DELAY_MSEC,4,2 ; @ZET6223_POWER_ON_DELAY_MSEC
	.comm	_zet6223_power_off,4,2          ; @zet6223_power_off
l_.str.2:                               ; @.str.2
	.asciz	"failed to install poweroff action: %d\n"

	.no_dead_strip	_zet6223_power_on
.subsections_via_symbols
