	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vga_switcheroo_init_domain_pm_ops ## -- Begin function vga_switcheroo_init_domain_pm_ops
	.p2align	4, 0x90
_vga_switcheroo_init_domain_pm_ops:     ## @vga_switcheroo_init_domain_pm_ops
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	movq	_vga_switcheroo_runtime_suspend@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rsi)
	movq	_vga_switcheroo_runtime_resume@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	callq	_dev_pm_domain_set
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_dev_pm_domain_set
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vga_switcheroo_runtime_suspend,4,2 ## @vga_switcheroo_runtime_suspend
	.comm	_vga_switcheroo_runtime_resume,4,2 ## @vga_switcheroo_runtime_resume
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vga_switcheroo_init_domain_pm_ops ; -- Begin function vga_switcheroo_init_domain_pm_ops
	.p2align	2
_vga_switcheroo_init_domain_pm_ops:     ; @vga_switcheroo_init_domain_pm_ops
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
	str	x8, [x1]
Lloh0:
	adrp	x8, _vga_switcheroo_runtime_suspend@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vga_switcheroo_runtime_suspend@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _vga_switcheroo_runtime_resume@GOTPAGE
Lloh4:
	ldr	x9, [x9, _vga_switcheroo_runtime_resume@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x1]
	bl	_dev_pm_domain_set
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x1, #0
	bl	_dev_pm_domain_set
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_vga_switcheroo_runtime_suspend,4,2 ; @vga_switcheroo_runtime_suspend
	.comm	_vga_switcheroo_runtime_resume,4,2 ; @vga_switcheroo_runtime_resume
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
