	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_khrn_platform_set_display_id   ## -- Begin function khrn_platform_set_display_id
	.p2align	4, 0x90
_khrn_platform_set_display_id:          ## @khrn_platform_set_display_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	_EGL_DEFAULT_DISPLAY@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	%rdi, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_EGL_NO_DISPLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_DEFAULT_DISPLAY,8,3        ## @EGL_DEFAULT_DISPLAY
	.comm	_EGL_NO_DISPLAY,4,2             ## @EGL_NO_DISPLAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_khrn_platform_set_display_id   ; -- Begin function khrn_platform_set_display_id
	.p2align	2
_khrn_platform_set_display_id:          ; @khrn_platform_set_display_id
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EGL_DEFAULT_DISPLAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EGL_DEFAULT_DISPLAY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EGL_NO_DISPLAY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EGL_NO_DISPLAY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, x0
	csinc	w0, w9, wzr, ne
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_DEFAULT_DISPLAY,8,3        ; @EGL_DEFAULT_DISPLAY
	.comm	_EGL_NO_DISPLAY,4,2             ; @EGL_NO_DISPLAY
.subsections_via_symbols
