	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function default_idt_entry
_default_idt_entry:                     ## @default_idt_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LGUEST_TRAP_ENTRY@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_GUEST_PL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$13, %eax
	orl	$36352, %eax                    ## imm = 0x8E00
	jmp	LBB0_5
LBB0_2:
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	movl	$24576, %eax                    ## imm = 0x6000
	andl	(%rcx), %eax
	orl	$36352, %eax                    ## imm = 0x8E00
	jmp	LBB0_5
LBB0_3:
	movl	$36352, %eax                    ## imm = 0x8E00
LBB0_5:
	movq	_LGUEST_CS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$16, %ecx
	movzwl	%dx, %esi
	orl	%ecx, %esi
	movl	%esi, 4(%rdi)
	andl	$-65536, %edx                   ## imm = 0xFFFF0000
	orl	%eax, %edx
	movl	%edx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LGUEST_TRAP_ENTRY,4,2          ## @LGUEST_TRAP_ENTRY
	.comm	_GUEST_PL,4,2                   ## @GUEST_PL
	.comm	_LGUEST_CS,4,2                  ## @LGUEST_CS
	.no_dead_strip	_default_idt_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function default_idt_entry
_default_idt_entry:                     ; @default_idt_entry
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LGUEST_TRAP_ENTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LGUEST_TRAP_ENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GUEST_PL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GUEST_PL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #36352
	orr	w8, w9, w8, lsl #13
	b	LBB0_4
LBB0_2:
	mov	w8, #36352
	cbz	x3, LBB0_4
; %bb.3:
	ldr	w9, [x3]
	and	w9, w9, #0x6000
	orr	w8, w9, w8
LBB0_4:
Lloh6:
	adrp	x9, _LGUEST_CS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LGUEST_CS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w10, w2, #0xffff0000
	bfi	w2, w9, #16, #16
	orr	w8, w8, w10
	stp	w8, w2, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LGUEST_TRAP_ENTRY,4,2          ; @LGUEST_TRAP_ENTRY
	.comm	_GUEST_PL,4,2                   ; @GUEST_PL
	.comm	_LGUEST_CS,4,2                  ; @LGUEST_CS
	.no_dead_strip	_default_idt_entry
.subsections_via_symbols
