	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_suspend_mode
_get_suspend_mode:                      ## @get_suspend_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_I915_DRM_SUSPEND_HIBERNATE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	callq	_suspend_to_idle
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_I915_DRM_SUSPEND_MEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_I915_DRM_SUSPEND_IDLE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_DRM_SUSPEND_HIBERNATE,4,2 ## @I915_DRM_SUSPEND_HIBERNATE
	.comm	_I915_DRM_SUSPEND_IDLE,4,2      ## @I915_DRM_SUSPEND_IDLE
	.comm	_I915_DRM_SUSPEND_MEM,4,2       ## @I915_DRM_SUSPEND_MEM
	.no_dead_strip	_get_suspend_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_suspend_mode
_get_suspend_mode:                      ; @get_suspend_mode
	.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
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _I915_DRM_SUSPEND_HIBERNATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I915_DRM_SUSPEND_HIBERNATE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	bl	_suspend_to_idle
Lloh2:
	adrp	x8, _I915_DRM_SUSPEND_IDLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I915_DRM_SUSPEND_IDLE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _I915_DRM_SUSPEND_MEM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _I915_DRM_SUSPEND_MEM@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_DRM_SUSPEND_HIBERNATE,4,2 ; @I915_DRM_SUSPEND_HIBERNATE
	.comm	_I915_DRM_SUSPEND_IDLE,4,2      ; @I915_DRM_SUSPEND_IDLE
	.comm	_I915_DRM_SUSPEND_MEM,4,2       ; @I915_DRM_SUSPEND_MEM
	.no_dead_strip	_get_suspend_mode
.subsections_via_symbols
