	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_vga_pwrctrl_init
_zx_vga_pwrctrl_init:                   ## @zx_vga_pwrctrl_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %r8
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_of_parse_phandle_with_fixed_args
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	-32(%rbp), %edi
	callq	_syscon_node_to_regmap
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, 16(%r14)
	movq	-24(%rbp), %rax
	movl	(%rax), %ecx
	movl	%ecx, 12(%r14)
	movl	4(%rax), %eax
	movl	%eax, 8(%r14)
	xorl	%ebx, %ebx
LBB0_4:
	movl	-32(%rbp), %edi
	callq	_of_node_put
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zte,vga-power-control"

	.no_dead_strip	_zx_vga_pwrctrl_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_vga_pwrctrl_init
_zx_vga_pwrctrl_init:                   ; @zx_vga_pwrctrl_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, sp
	mov	w2, #2
	mov	w3, #0
	bl	_of_parse_phandle_with_fixed_args
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	w0, [sp]
	bl	_syscon_node_to_regmap
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_4
LBB0_3:
	mov	w20, #0
	str	x21, [x19, #16]
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	str	w9, [x19, #12]
	ldr	w8, [x8, #4]
	str	w8, [x19, #8]
LBB0_4:
	ldr	w0, [sp]
	bl	_of_node_put
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zte,vga-power-control"

	.no_dead_strip	_zx_vga_pwrctrl_init
.subsections_via_symbols
