	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmux_get_client_id
_gmux_get_client_id:                    ## @gmux_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), %rcx
	movq	_PCI_VENDOR_ID_INTEL@GOTPCREL(%rip), %rdx
	movq	_VGA_SWITCHEROO_IGD@GOTPCREL(%rip), %rax
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.1:
	movq	_PCI_VENDOR_ID_NVIDIA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	cmpl	$2147, 8(%rdi)                  ## imm = 0x863
	je	LBB0_4
LBB0_3:
	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	_PCI_VENDOR_ID_NVIDIA,8,3       ## @PCI_VENDOR_ID_NVIDIA
	.comm	_VGA_SWITCHEROO_DIS,4,2         ## @VGA_SWITCHEROO_DIS
	.no_dead_strip	_gmux_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 gmux_get_client_id
_gmux_get_client_id:                    ; @gmux_get_client_id
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PCI_VENDOR_ID_INTEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_VENDOR_ID_INTEL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _VGA_SWITCHEROO_IGD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VGA_SWITCHEROO_IGD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x9, _PCI_VENDOR_ID_NVIDIA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCI_VENDOR_ID_NVIDIA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x0, #8]
	cmp	w8, #2147
	b.eq	LBB0_1
LBB0_4:
Lloh9:
	adrp	x8, _VGA_SWITCHEROO_DIS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VGA_SWITCHEROO_DIS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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	_PCI_VENDOR_ID_NVIDIA,8,3       ; @PCI_VENDOR_ID_NVIDIA
	.comm	_VGA_SWITCHEROO_DIS,4,2         ; @VGA_SWITCHEROO_DIS
	.no_dead_strip	_gmux_get_client_id
.subsections_via_symbols
