	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_dsm_power_state
_nouveau_dsm_power_state:               ## @nouveau_dsm_power_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VGA_SWITCHEROO_IGD@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_nouveau_dsm_priv@GOTPCREL(%rip), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_2
## %bb.3:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_nouveau_dsm_set_discrete_state ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VGA_SWITCHEROO_IGD,4,2         ## @VGA_SWITCHEROO_IGD
	.comm	_nouveau_dsm_priv,8,2           ## @nouveau_dsm_priv
	.no_dead_strip	_nouveau_dsm_power_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_dsm_power_state
_nouveau_dsm_power_state:               ; @nouveau_dsm_power_state
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VGA_SWITCHEROO_IGD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VGA_SWITCHEROO_IGD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _nouveau_dsm_priv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nouveau_dsm_priv@GOTPAGEOFF]
	ldr	w10, [x8, #4]
	cmp	w9, w0
	ccmp	w10, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	w0, [x8]
	b	_nouveau_dsm_set_discrete_state
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VGA_SWITCHEROO_IGD,4,2         ; @VGA_SWITCHEROO_IGD
	.comm	_nouveau_dsm_priv,8,2           ; @nouveau_dsm_priv
	.no_dead_strip	_nouveau_dsm_power_state
.subsections_via_symbols
