	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_ips_status
_i915_ips_status:                       ## @i915_ips_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_node_to_i915
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_HAS_IPS
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_intel_runtime_pm_get
	movl	%eax, %r15d
	movq	_i915_modparams@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_yesno
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$7, %eax
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_4:
	movq	_IPS_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_IPS_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
LBB0_5:
	movq	%r14, %rdi
	callq	_seq_puts
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_intel_runtime_pm_put
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabled by kernel parameter: %s\n"

	.comm	_i915_modparams,4,2             ## @i915_modparams
L_.str.1:                               ## @.str.1
	.asciz	"Currently: unknown\n"

	.comm	_IPS_CTL,4,2                    ## @IPS_CTL
	.comm	_IPS_ENABLE,4,2                 ## @IPS_ENABLE
L_.str.2:                               ## @.str.2
	.asciz	"Currently: enabled\n"

L_.str.3:                               ## @.str.3
	.asciz	"Currently: disabled\n"

	.no_dead_strip	_i915_ips_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_ips_status
_i915_ips_status:                       ; @i915_ips_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, x0
	ldr	w0, [x0]
	bl	_node_to_i915
	mov	x20, x0
	bl	_HAS_IPS
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_intel_runtime_pm_get
	mov	x21, x0
Lloh0:
	adrp	x8, _i915_modparams@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i915_modparams@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_yesno
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #7
	b.le	LBB0_4
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x8, _IPS_CTL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IPS_CTL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh13:
	adrp	x8, _IPS_ENABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPS_ENABLE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, l_.str.2@PAGE
Lloh17:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh18:
	adrp	x10, l_.str.3@PAGE
Lloh19:
	add	x10, x10, l_.str.3@PAGEOFF
	tst	w8, w0
	csel	x1, x10, x9, eq
LBB0_5:
	mov	x0, x19
	bl	_seq_puts
	mov	x0, x20
	mov	x1, x21
	bl	_intel_runtime_pm_put
	mov	w0, #0
LBB0_6:
	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
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabled by kernel parameter: %s\n"

	.comm	_i915_modparams,4,2             ; @i915_modparams
l_.str.1:                               ; @.str.1
	.asciz	"Currently: unknown\n"

	.comm	_IPS_CTL,4,2                    ; @IPS_CTL
	.comm	_IPS_ENABLE,4,2                 ; @IPS_ENABLE
l_.str.2:                               ; @.str.2
	.asciz	"Currently: enabled\n"

l_.str.3:                               ; @.str.3
	.asciz	"Currently: disabled\n"

	.no_dead_strip	_i915_ips_status
.subsections_via_symbols
