	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_PM4
_read_PM4:                              ## @read_PM4
	.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
	movl	$4, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pm_io
	cmpq	$-1, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_GET_PPC_OFFS
	cmpl	$20242, %eax                    ## imm = 0x4F12
	je	LBB0_6
## %bb.3:
	cmpl	$2132, %eax                     ## imm = 0x854
	jne	LBB0_8
## %bb.4:
	movq	_SSP_WAIT_30FE08@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_rPM4@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_8
LBB0_6:
	movq	_SSP_WAIT_30FE06@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movq	_ssp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orl	%eax, (%rcx)
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSP_WAIT_30FE08,4,2            ## @SSP_WAIT_30FE08
	.comm	_ssp,8,3                        ## @ssp
	.comm	_SSP_WAIT_30FE06,4,2            ## @SSP_WAIT_30FE06
	.comm	_rPM4,8,3                       ## @rPM4
	.comm	_EL_ANOMALY,4,2                 ## @EL_ANOMALY
	.comm	_EL_SVP,4,2                     ## @EL_SVP
	.no_dead_strip	_read_PM4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_PM4
_read_PM4:                              ; @read_PM4
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #4
	mov	w1, #0
	mov	w2, #0
	bl	_pm_io
	cmn	x0, #1
	b.eq	LBB0_5
; %bb.1:
	cbnz	x0, LBB0_6
; %bb.2:
	bl	_GET_PPC_OFFS
	mov	w8, #20242
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.3:
	cmp	w0, #2132
	b.ne	LBB0_9
; %bb.4:
	mov	x0, #0
Lloh0:
	adrp	x8, _SSP_WAIT_30FE08@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSP_WAIT_30FE08@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh2:
	adrp	x8, _rPM4@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rPM4@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, #0
Lloh5:
	adrp	x8, _SSP_WAIT_30FE06@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSP_WAIT_30FE06@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _ssp@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ssp@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SSP_WAIT_30FE08,4,2            ; @SSP_WAIT_30FE08
	.comm	_ssp,8,3                        ; @ssp
	.comm	_SSP_WAIT_30FE06,4,2            ; @SSP_WAIT_30FE06
	.comm	_rPM4,8,3                       ; @rPM4
	.comm	_EL_ANOMALY,4,2                 ; @EL_ANOMALY
	.comm	_EL_SVP,4,2                     ; @EL_SVP
	.no_dead_strip	_read_PM4
.subsections_via_symbols
