	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpet_enable_legacy_int
_hpet_enable_legacy_int:                ## @hpet_enable_legacy_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_HPET_CFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_hpet_readl
	movq	_HPET_CFG_LEGACY@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_hpet_writel
	movq	_hpet_legacy_int_enabled@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPET_CFG,4,2                   ## @HPET_CFG
	.comm	_HPET_CFG_LEGACY,8,3            ## @HPET_CFG_LEGACY
	.comm	_hpet_legacy_int_enabled,4,2    ## @hpet_legacy_int_enabled
	.no_dead_strip	_hpet_enable_legacy_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpet_enable_legacy_int
_hpet_enable_legacy_int:                ; @hpet_enable_legacy_int
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _HPET_CFG@GOTPAGE
Lloh1:
	ldr	x19, [x19, _HPET_CFG@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_hpet_readl
Lloh2:
	adrp	x8, _HPET_CFG_LEGACY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPET_CFG_LEGACY@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	orr	x0, x8, x0
	ldr	w1, [x19]
	bl	_hpet_writel
Lloh5:
	adrp	x8, _hpet_legacy_int_enabled@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hpet_legacy_int_enabled@GOTPAGEOFF]
	mov	w9, #1
Lloh7:
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HPET_CFG,4,2                   ; @HPET_CFG
	.comm	_HPET_CFG_LEGACY,8,3            ; @HPET_CFG_LEGACY
	.comm	_hpet_legacy_int_enabled,4,2    ; @hpet_legacy_int_enabled
	.no_dead_strip	_hpet_enable_legacy_int
.subsections_via_symbols
