	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_dsm_get_client_id
_nouveau_dsm_get_client_id:             ## @nouveau_dsm_get_client_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_PCI_VENDOR_ID_INTEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
LBB0_3:
	movq	_VGA_SWITCHEROO_IGD@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_VGA_SWITCHEROO_DIS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_INTEL,8,3        ## @PCI_VENDOR_ID_INTEL
	.comm	_VGA_SWITCHEROO_IGD,4,2         ## @VGA_SWITCHEROO_IGD
	.comm	_VGA_SWITCHEROO_DIS,4,2         ## @VGA_SWITCHEROO_DIS
	.no_dead_strip	_nouveau_dsm_get_client_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_dsm_get_client_id
_nouveau_dsm_get_client_id:             ; @nouveau_dsm_get_client_id
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _PCI_VENDOR_ID_INTEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_VENDOR_ID_INTEL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _VGA_SWITCHEROO_IGD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VGA_SWITCHEROO_IGD@GOTPAGEOFF]
	cmp	x9, x10
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _VGA_SWITCHEROO_DIS@GOTPAGE
Lloh6:
	ldr	x10, [x10, _VGA_SWITCHEROO_DIS@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
LBB0_2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_INTEL,8,3        ; @PCI_VENDOR_ID_INTEL
	.comm	_VGA_SWITCHEROO_IGD,4,2         ; @VGA_SWITCHEROO_IGD
	.comm	_VGA_SWITCHEROO_DIS,4,2         ; @VGA_SWITCHEROO_DIS
	.no_dead_strip	_nouveau_dsm_get_client_id
.subsections_via_symbols
