	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lapic_read32
_lapic_read32:                          ## @lapic_read32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_x2apic_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_MSR_APIC_000@GOTPCREL(%rip), %rax
	movl	%edi, %edi
	addq	(%rax), %rdi
	popq	%rbp
	jmp	_rdmsr32                        ## TAILCALL
LBB0_1:
	movq	_lapic_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_LAPIC_MEM_MUL@GOTPCREL(%rip), %rcx
	imull	(%rcx), %edi
	movl	(%rax,%rdi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_x2apic_mode,8,3                ## @x2apic_mode
	.comm	_MSR_APIC_000,8,3               ## @MSR_APIC_000
	.comm	_lapic_map,8,3                  ## @lapic_map
	.comm	_LAPIC_MEM_MUL,4,2              ## @LAPIC_MEM_MUL
	.no_dead_strip	_lapic_read32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lapic_read32
_lapic_read32:                          ; @lapic_read32
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _x2apic_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _x2apic_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MSR_APIC_000@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSR_APIC_000@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, w0, uxtw
	b	_rdmsr32
LBB0_2:
Lloh6:
	adrp	x8, _lapic_map@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lapic_map@GOTPAGEOFF]
Lloh8:
	adrp	x9, _LAPIC_MEM_MUL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LAPIC_MEM_MUL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	ldr	w9, [x9]
	mul	w9, w9, w0
	ldr	w0, [x8, w9, uxtw]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_x2apic_mode,8,3                ; @x2apic_mode
	.comm	_MSR_APIC_000,8,3               ; @MSR_APIC_000
	.comm	_lapic_map,8,3                  ; @lapic_map
	.comm	_LAPIC_MEM_MUL,4,2              ; @LAPIC_MEM_MUL
	.no_dead_strip	_lapic_read32
.subsections_via_symbols
