	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psr_source_status
_psr_source_status:                     ## @psr_source_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	_EDP_PSR2_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	%rax, %r12
	movq	_EDP_PSR2_STATUS_STATE_MASK@GOTPCREL(%rip), %rax
	movq	%r12, %rbx
	andq	(%rax), %rbx
	movq	_EDP_PSR2_STATUS_STATE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	leaq	_psr_source_status.live_status(%rip), %r15
	jmp	LBB0_2
LBB0_4:
	movq	_EDP_PSR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	%rax, %r12
	movq	_EDP_PSR_STATUS_STATE_MASK@GOTPCREL(%rip), %rax
	movq	%r12, %rbx
	andq	(%rax), %rbx
	movq	_EDP_PSR_STATUS_STATE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	leaq	_psr_source_status.live_status.12(%rip), %r15
LBB0_2:
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_3
## %bb.5:
	leaq	(%r15,%rbx,8), %rax
	movq	(%rax), %rdx
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdx
LBB0_6:
	leaq	L_.str.20(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_seq_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown"

	.section	__DATA,__const
	.p2align	4                               ## @psr_source_status.live_status
_psr_source_status.live_status:
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	L_.str.10
	.quad	L_.str.11

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"IDLE"

L_.str.2:                               ## @.str.2
	.asciz	"CAPTURE"

L_.str.3:                               ## @.str.3
	.asciz	"CAPTURE_FS"

L_.str.4:                               ## @.str.4
	.asciz	"SLEEP"

L_.str.5:                               ## @.str.5
	.asciz	"BUFON_FW"

L_.str.6:                               ## @.str.6
	.asciz	"ML_UP"

L_.str.7:                               ## @.str.7
	.asciz	"SU_STANDBY"

L_.str.8:                               ## @.str.8
	.asciz	"FAST_SLEEP"

L_.str.9:                               ## @.str.9
	.asciz	"DEEP_SLEEP"

L_.str.10:                              ## @.str.10
	.asciz	"BUF_ON"

L_.str.11:                              ## @.str.11
	.asciz	"TG_ON"

	.comm	_EDP_PSR2_STATUS,4,2            ## @EDP_PSR2_STATUS
	.comm	_EDP_PSR2_STATUS_STATE_MASK,8,3 ## @EDP_PSR2_STATUS_STATE_MASK
	.comm	_EDP_PSR2_STATUS_STATE_SHIFT,8,3 ## @EDP_PSR2_STATUS_STATE_SHIFT
	.section	__DATA,__const
	.p2align	4                               ## @psr_source_status.live_status.12
_psr_source_status.live_status.12:
	.quad	L_.str.1
	.quad	L_.str.13
	.quad	L_.str.14
	.quad	L_.str.15
	.quad	L_.str.16
	.quad	L_.str.17
	.quad	L_.str.18
	.quad	L_.str.19

	.section	__TEXT,__cstring,cstring_literals
L_.str.13:                              ## @.str.13
	.asciz	"SRDONACK"

L_.str.14:                              ## @.str.14
	.asciz	"SRDENT"

L_.str.15:                              ## @.str.15
	.asciz	"BUFOFF"

L_.str.16:                              ## @.str.16
	.asciz	"BUFON"

L_.str.17:                              ## @.str.17
	.asciz	"AUXACK"

L_.str.18:                              ## @.str.18
	.asciz	"SRDOFFACK"

L_.str.19:                              ## @.str.19
	.asciz	"SRDENT_ON"

	.comm	_EDP_PSR_STATUS,4,2             ## @EDP_PSR_STATUS
	.comm	_EDP_PSR_STATUS_STATE_MASK,8,3  ## @EDP_PSR_STATUS_STATE_MASK
	.comm	_EDP_PSR_STATUS_STATE_SHIFT,8,3 ## @EDP_PSR_STATUS_STATE_SHIFT
L_.str.20:                              ## @.str.20
	.asciz	"Source PSR status: %s [0x%08x]\n"

	.no_dead_strip	_psr_source_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psr_source_status
_psr_source_status:                     ; @psr_source_status
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EDP_PSR2_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDP_PSR2_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x20, x0
Lloh3:
	adrp	x8, _EDP_PSR2_STATUS_STATE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDP_PSR2_STATUS_STATE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x8, x8, x0
Lloh6:
	adrp	x9, _EDP_PSR2_STATUS_STATE_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EDP_PSR2_STATUS_STATE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	lsr	x22, x8, x9
Lloh9:
	adrp	x21, _psr_source_status.live_status@PAGE
Lloh10:
	add	x21, x21, _psr_source_status.live_status@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _EDP_PSR_STATUS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EDP_PSR_STATUS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x20, x0
Lloh14:
	adrp	x8, _EDP_PSR_STATUS_STATE_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EDP_PSR_STATUS_STATE_MASK@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	and	x8, x8, x0
Lloh17:
	adrp	x9, _EDP_PSR_STATUS_STATE_SHIFT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EDP_PSR_STATUS_STATE_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	lsr	x22, x8, x9
Lloh20:
	adrp	x21, _psr_source_status.live_status.12@PAGE
Lloh21:
	add	x21, x21, _psr_source_status.live_status.12@PAGEOFF
LBB0_3:
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.hs	LBB0_5
; %bb.4:
	add	x8, x21, x22, lsl #3
	ldr	x2, [x8]
	b	LBB0_6
LBB0_5:
Lloh22:
	adrp	x2, l_.str@PAGE
Lloh23:
	add	x2, x2, l_.str@PAGEOFF
LBB0_6:
Lloh24:
	adrp	x1, l_.str.20@PAGE
Lloh25:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_seq_printf
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown"

	.section	__DATA,__const
	.p2align	3                               ; @psr_source_status.live_status
_psr_source_status.live_status:
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"IDLE"

l_.str.2:                               ; @.str.2
	.asciz	"CAPTURE"

l_.str.3:                               ; @.str.3
	.asciz	"CAPTURE_FS"

l_.str.4:                               ; @.str.4
	.asciz	"SLEEP"

l_.str.5:                               ; @.str.5
	.asciz	"BUFON_FW"

l_.str.6:                               ; @.str.6
	.asciz	"ML_UP"

l_.str.7:                               ; @.str.7
	.asciz	"SU_STANDBY"

l_.str.8:                               ; @.str.8
	.asciz	"FAST_SLEEP"

l_.str.9:                               ; @.str.9
	.asciz	"DEEP_SLEEP"

l_.str.10:                              ; @.str.10
	.asciz	"BUF_ON"

l_.str.11:                              ; @.str.11
	.asciz	"TG_ON"

	.comm	_EDP_PSR2_STATUS,4,2            ; @EDP_PSR2_STATUS
	.comm	_EDP_PSR2_STATUS_STATE_MASK,8,3 ; @EDP_PSR2_STATUS_STATE_MASK
	.comm	_EDP_PSR2_STATUS_STATE_SHIFT,8,3 ; @EDP_PSR2_STATUS_STATE_SHIFT
	.section	__DATA,__const
	.p2align	3                               ; @psr_source_status.live_status.12
_psr_source_status.live_status.12:
	.quad	l_.str.1
	.quad	l_.str.13
	.quad	l_.str.14
	.quad	l_.str.15
	.quad	l_.str.16
	.quad	l_.str.17
	.quad	l_.str.18
	.quad	l_.str.19

	.section	__TEXT,__cstring,cstring_literals
l_.str.13:                              ; @.str.13
	.asciz	"SRDONACK"

l_.str.14:                              ; @.str.14
	.asciz	"SRDENT"

l_.str.15:                              ; @.str.15
	.asciz	"BUFOFF"

l_.str.16:                              ; @.str.16
	.asciz	"BUFON"

l_.str.17:                              ; @.str.17
	.asciz	"AUXACK"

l_.str.18:                              ; @.str.18
	.asciz	"SRDOFFACK"

l_.str.19:                              ; @.str.19
	.asciz	"SRDENT_ON"

	.comm	_EDP_PSR_STATUS,4,2             ; @EDP_PSR_STATUS
	.comm	_EDP_PSR_STATUS_STATE_MASK,8,3  ; @EDP_PSR_STATUS_STATE_MASK
	.comm	_EDP_PSR_STATUS_STATE_SHIFT,8,3 ; @EDP_PSR_STATUS_STATE_SHIFT
l_.str.20:                              ; @.str.20
	.asciz	"Source PSR status: %s [0x%08x]\n"

	.no_dead_strip	_psr_source_status
.subsections_via_symbols
