	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10_timer_irq
_a10_timer_irq:                         ## @a10_timer_irq
	.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
	movq	%rdi, %rbx
	movq	_TIMER_IRQ_STA_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	callq	_TIMER_IRQ_PENDING
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_timer_write_4
	xorl	%edi, %edi
	callq	_TIMER_CTRL_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_timer_read_4
	movl	%eax, %r14d
	testb	$2, %r14b
	jne	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	jle	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	callq	_TIMER_CURV_REG
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_timer_write_4
	movq	_TIMER_CTRL_AUTORELOAD@GOTPCREL(%rip), %rax
	movq	_TIMER_CTRL_START@GOTPCREL(%rip), %rcx
	orl	(%rax), %r14d
	orl	(%rcx), %r14d
	xorl	%edi, %edi
	callq	_TIMER_CTRL_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_timer_write_4
LBB0_3:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.4:
	leaq	8(%rbx), %rdi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
LBB0_5:
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMER_IRQ_STA_REG,4,2          ## @TIMER_IRQ_STA_REG
	.comm	_TIMER_CTRL_AUTORELOAD,4,2      ## @TIMER_CTRL_AUTORELOAD
	.comm	_TIMER_CTRL_START,4,2           ## @TIMER_CTRL_START
	.comm	_FILTER_HANDLED,4,2             ## @FILTER_HANDLED
	.no_dead_strip	_a10_timer_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10_timer_irq
_a10_timer_irq:                         ; @a10_timer_irq
	.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, _TIMER_IRQ_STA_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIMER_IRQ_STA_REG@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	w0, #0
	bl	_TIMER_IRQ_PENDING
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_timer_write_4
	mov	w0, #0
	bl	_TIMER_CTRL_REG
	mov	x1, x0
	mov	x0, x19
	bl	_timer_read_4
	tbnz	w0, #1, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
	mov	x20, x0
	mov	w0, #0
	bl	_TIMER_CURV_REG
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x19
	bl	_timer_write_4
Lloh3:
	adrp	x8, _TIMER_CTRL_AUTORELOAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIMER_CTRL_AUTORELOAD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _TIMER_CTRL_START@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TIMER_CTRL_START@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w20, w8, w9
	mov	w0, #0
	bl	_TIMER_CTRL_REG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_timer_write_4
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w1, [x19, #8]!
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
LBB0_5:
Lloh9:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMER_IRQ_STA_REG,4,2          ; @TIMER_IRQ_STA_REG
	.comm	_TIMER_CTRL_AUTORELOAD,4,2      ; @TIMER_CTRL_AUTORELOAD
	.comm	_TIMER_CTRL_START,4,2           ; @TIMER_CTRL_START
	.comm	_FILTER_HANDLED,4,2             ; @FILTER_HANDLED
	.no_dead_strip	_a10_timer_irq
.subsections_via_symbols
