	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_pmops_runtime          ## -- Begin function nouveau_pmops_runtime
	.p2align	4, 0x90
_nouveau_pmops_runtime:                 ## @nouveau_pmops_runtime
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_nouveau_runtime_pm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.3:
	cmpl	$1, %eax
	sete	%cl
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	callq	_nouveau_is_optimus
	movb	$1, %cl
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_nouveau_is_v1_dsm
	testq	%rax, %rax
	setne	%cl
LBB0_4:
	movzbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nouveau_runtime_pm,4,2         ## @nouveau_runtime_pm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_pmops_runtime          ; -- Begin function nouveau_pmops_runtime
	.p2align	2
_nouveau_pmops_runtime:                 ; @nouveau_pmops_runtime
	.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
Lloh0:
	adrp	x8, _nouveau_runtime_pm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nouveau_runtime_pm@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	cmp	w8, #1
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_nouveau_is_optimus
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_nouveau_is_v1_dsm
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nouveau_runtime_pm,4,2         ; @nouveau_runtime_pm
.subsections_via_symbols
