	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_timer                     ## -- Begin function init_timer
	.p2align	4, 0x90
_init_timer:                            ## @init_timer
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_IRQ0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_timer_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_register_interrupt_handler
	movl	$1193180, %eax                  ## imm = 0x1234DC
	xorl	%edx, %edx
	idivl	%ebx
	movzbl	%al, %ebx
	movzbl	%ah, %eax
	movl	%eax, %r14d
	movl	$67, %edi
	movl	$54, %esi
	callq	_port_byte_out
	movl	$64, %edi
	movl	%ebx, %esi
	callq	_port_byte_out
	movl	$64, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_port_byte_out                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ0,4,2                       ## @IRQ0
	.comm	_timer_callback,4,2             ## @timer_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_timer                     ; -- Begin function init_timer
	.p2align	2
_init_timer:                            ; @init_timer
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _IRQ0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ0@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _timer_callback@GOTPAGE
Lloh4:
	ldr	x8, [x8, _timer_callback@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_register_interrupt_handler
	mov	w8, #13532
	movk	w8, #18, lsl #16
	sdiv	w8, w8, w19
	and	w19, w8, #0xff
	ubfx	w20, w8, #8, #8
	mov	w0, #67
	mov	w1, #54
	bl	_port_byte_out
	mov	w0, #64
	mov	x1, x19
	bl	_port_byte_out
	mov	w0, #64
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_port_byte_out
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ0,4,2                       ; @IRQ0
	.comm	_timer_callback,4,2             ; @timer_callback
.subsections_via_symbols
