	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PowerScanInit
_PowerScanInit:                         ## @PowerScanInit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_EP3@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	(%rax,%rsi,4), %ecx
	andl	$-32, %ecx
	orl	$18, %ecx
	movl	%ecx, (%rax,%rsi,4)
	movq	_EP4@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	andl	$-32, (%rax,%rdx,4)
	callq	_UpdateRegs
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_EB18@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	andl	$-4, (%rax,%rsi,4)
	movq	%rbx, %rdi
	callq	_UpdateReg
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	(%rbx), %rax
	movq	_EB21@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	andl	$-4, (%rax,%rsi,4)
	movq	_EB23@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	orl	$6, (%rax,%rdx,4)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_UpdateRegs                     ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EP3,8,3                        ## @EP3
	.comm	_EP4,8,3                        ## @EP4
	.comm	_EB18,8,3                       ## @EB18
	.comm	_EB21,8,3                       ## @EB21
	.comm	_EB23,8,3                       ## @EB23
	.no_dead_strip	_PowerScanInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PowerScanInit
_PowerScanInit:                         ; @PowerScanInit
	.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
Lloh0:
	adrp	x8, _EP3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EP3@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x1, [x8]
	lsl	x8, x1, #2
	ldr	w10, [x9, x8]
	mov	w11, #18
	bfxil	w10, w11, #0, #5
	str	w10, [x9, x8]
Lloh3:
	adrp	x8, _EP4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EP4@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	lsl	x8, x2, #2
	ldr	w10, [x9, x8]
	and	w10, w10, #0xffffffe0
	str	w10, [x9, x8]
	bl	_UpdateRegs
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _EB18@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EB18@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x9]
	lsl	x9, x1, #2
	ldr	w10, [x8, x9]
	and	w10, w10, #0xfffffffc
	str	w10, [x8, x9]
	mov	x0, x19
	bl	_UpdateReg
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _EB21@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EB21@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x9]
	lsl	x9, x1, #2
	ldr	w10, [x8, x9]
	and	w10, w10, #0xfffffffc
	str	w10, [x8, x9]
Lloh12:
	adrp	x9, _EB23@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EB23@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x9]
	lsl	x9, x2, #2
	ldr	w10, [x8, x9]
	orr	w10, w10, #0x6
	str	w10, [x8, x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_UpdateRegs
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EP3,8,3                        ; @EP3
	.comm	_EP4,8,3                        ; @EP4
	.comm	_EB18,8,3                       ; @EB18
	.comm	_EB21,8,3                       ; @EB21
	.comm	_EB23,8,3                       ; @EB23
	.no_dead_strip	_PowerScanInit
.subsections_via_symbols
