	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Amd64SetupIdt
_Amd64SetupIdt:                         ## @Amd64SetupIdt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_TRACE
	leaq	-32(%rbp), %rdi
	callq	___sidt
	movl	-32(%rbp), %edi
	incl	%edi
	movq	_NUM_IDT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	shll	$2, %esi
	callq	_min
	movl	%ebx, -20(%rbp)
	movl	(%r14), %eax
	leal	-1(,%rax,4), %eax
	movl	%eax, -24(%rbp)
	leaq	-24(%rbp), %rdi
	callq	___lidt
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Amd64SetupIdt(IdtBase = %p)\n"

	.comm	_NUM_IDT,4,2                    ## @NUM_IDT
L_.str.1:                               ## @.str.1
	.asciz	"Leave Amd64SetupIdt()\n"

	.no_dead_strip	_Amd64SetupIdt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Amd64SetupIdt
_Amd64SetupIdt:                         ; @Amd64SetupIdt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x0, sp, #16
	bl	___sidt
	ldr	w8, [sp, #16]
	add	w0, w8, #1
Lloh2:
	adrp	x20, _NUM_IDT@GOTPAGE
Lloh3:
	ldr	x20, [x20, _NUM_IDT@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w1, w8, #2
	bl	_min
	ldr	w8, [x20]
	lsl	w8, w8, #2
	sub	w8, w8, #1
	stp	w8, w19, [sp, #24]
	add	x0, sp, #24
	bl	___lidt
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Amd64SetupIdt(IdtBase = %p)\n"

	.comm	_NUM_IDT,4,2                    ; @NUM_IDT
l_.str.1:                               ; @.str.1
	.asciz	"Leave Amd64SetupIdt()\n"

	.no_dead_strip	_Amd64SetupIdt
.subsections_via_symbols
