	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timer_interrupt
_timer_interrupt:                       ## @timer_interrupt
	.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	_irq0_irqs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inc_irq_stat
	movq	_timer_ack@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_i8259A_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	_PIC_MASTER_OCW3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_outb
	movq	_PIC_MASTER_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb
	movq	%rbx, %rdi
	callq	_spin_unlock
LBB0_2:
	movq	_global_clock_event@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	*(%rdi)
	movq	_MCA_bus@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movl	$97, %edi
	callq	_inb_p
	orl	$128, %eax
	movl	%eax, %edi
	movl	$97, %esi
	callq	_outb_p
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_irq0_irqs,4,2                  ## @irq0_irqs
	.comm	_timer_ack,8,3                  ## @timer_ack
	.comm	_i8259A_lock,4,2                ## @i8259A_lock
	.comm	_PIC_MASTER_OCW3,4,2            ## @PIC_MASTER_OCW3
	.comm	_PIC_MASTER_POLL,4,2            ## @PIC_MASTER_POLL
	.comm	_global_clock_event,8,3         ## @global_clock_event
	.comm	_MCA_bus,8,3                    ## @MCA_bus
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_timer_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timer_interrupt
_timer_interrupt:                       ; @timer_interrupt
	.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	x8, _irq0_irqs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _irq0_irqs@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_inc_irq_stat
Lloh3:
	adrp	x8, _timer_ack@GOTPAGE
Lloh4:
	ldr	x8, [x8, _timer_ack@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x19, _i8259A_lock@GOTPAGE
Lloh7:
	ldr	x19, [x19, _i8259A_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock
Lloh8:
	adrp	x8, _PIC_MASTER_OCW3@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PIC_MASTER_OCW3@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_outb
Lloh11:
	adrp	x8, _PIC_MASTER_POLL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PIC_MASTER_POLL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_inb
	mov	x0, x19
	bl	_spin_unlock
LBB0_2:
Lloh14:
	adrp	x8, _global_clock_event@GOTPAGE
Lloh15:
	ldr	x8, [x8, _global_clock_event@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldr	x8, [x0]
	blr	x8
Lloh17:
	adrp	x8, _MCA_bus@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MCA_bus@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #97
	bl	_inb_p
	orr	w0, w0, #0x80
	mov	w1, #97
	bl	_outb_p
LBB0_4:
Lloh20:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_irq0_irqs,4,2                  ; @irq0_irqs
	.comm	_timer_ack,8,3                  ; @timer_ack
	.comm	_i8259A_lock,4,2                ; @i8259A_lock
	.comm	_PIC_MASTER_OCW3,4,2            ; @PIC_MASTER_OCW3
	.comm	_PIC_MASTER_POLL,4,2            ; @PIC_MASTER_POLL
	.comm	_global_clock_event,8,3         ; @global_clock_event
	.comm	_MCA_bus,8,3                    ; @MCA_bus
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_timer_interrupt
.subsections_via_symbols
