	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aim_early_init                 ## -- Begin function aim_early_init
	.p2align	4, 0x90
_aim_early_init:                        ## @aim_early_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_mfmsr
	movq	_PSL_IR@GOTPCREL(%rip), %rcx
	movq	_PSL_DR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	callq	_mtmsr
LBB0_2:
	xorl	%eax, %eax
	callq	_mfpvr
	sarl	$16, %eax
	addl	$-134, %eax
	cmpl	$3, %eax
	ja	LBB0_3
## %bb.4:
	movq	_SPR_HID5@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_mfspr
	movq	_HID5_970_DCBZ_SIZE_HI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mtspr                          ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSL_IR,4,2                     ## @PSL_IR
	.comm	_PSL_DR,4,2                     ## @PSL_DR
	.comm	_SPR_HID5,4,2                   ## @SPR_HID5
	.comm	_HID5_970_DCBZ_SIZE_HI,4,2      ## @HID5_970_DCBZ_SIZE_HI
	.comm	_DMAP_BASE_ADDRESS,8,3          ## @DMAP_BASE_ADDRESS
	.comm	_n_slbs,4,2                     ## @n_slbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aim_early_init                 ; -- Begin function aim_early_init
	.p2align	2
_aim_early_init:                        ; @aim_early_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
	cbnz	x2, LBB0_2
; %bb.1:
	bl	_mfmsr
Lloh0:
	adrp	x8, _PSL_IR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSL_IR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PSL_DR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PSL_DR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w0, w8
	bl	_mtmsr
LBB0_2:
	bl	_mfpvr
	asr	w8, w0, #16
	sub	w8, w8, #134
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.3:
Lloh6:
	adrp	x19, _SPR_HID5@GOTPAGE
Lloh7:
	ldr	x19, [x19, _SPR_HID5@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_mfspr
Lloh8:
	adrp	x8, _HID5_970_DCBZ_SIZE_HI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HID5_970_DCBZ_SIZE_HI@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtspr
LBB0_4:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PSL_IR,4,2                     ; @PSL_IR
	.comm	_PSL_DR,4,2                     ; @PSL_DR
	.comm	_SPR_HID5,4,2                   ; @SPR_HID5
	.comm	_HID5_970_DCBZ_SIZE_HI,4,2      ; @HID5_970_DCBZ_SIZE_HI
	.comm	_DMAP_BASE_ADDRESS,8,3          ; @DMAP_BASE_ADDRESS
	.comm	_n_slbs,4,2                     ; @n_slbs
.subsections_via_symbols
