	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gma_power_init                 ## -- Begin function gma_power_init
	.p2align	4, 0x90
_gma_power_init:                        ## @gma_power_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movzwl	4(%rbx), %eax
	movl	%eax, (%rbx)
	movzwl	8(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	$1, 12(%rbx)
	movq	$0, 32(%rbx)
	movq	_power_ctrl_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_init
	movq	_power_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_init
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_power_ctrl_lock,4,2            ## @power_ctrl_lock
	.comm	_power_mutex,4,2                ## @power_mutex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function gma_power_init
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gma_power_init
	.p2align	2
_gma_power_init:                        ; @gma_power_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	ldrh	w8, [x20, #4]
	str	w8, [x20]
	ldrh	w8, [x20, #8]
	str	w8, [x20, #8]
	str	xzr, [x20, #32]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #12]
Lloh2:
	adrp	x0, _power_ctrl_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _power_ctrl_lock@GOTPAGEOFF]
	bl	_spin_lock_init
Lloh4:
	adrp	x0, _power_mutex@GOTPAGE
Lloh5:
	ldr	x0, [x0, _power_mutex@GOTPAGEOFF]
	bl	_mutex_init
	ldr	x8, [x20, #24]
	ldr	x1, [x8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_power_ctrl_lock,4,2            ; @power_ctrl_lock
	.comm	_power_mutex,4,2                ; @power_mutex
.subsections_via_symbols
