	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_disable_interrupts
	movq	_tim_cnt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_vbl_cnt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_vbl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_add_VBL
	movq	_tim@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_add_TIM
	xorl	%eax, %eax
	callq	_enable_interrupts
	movq	_TMA_REG@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_TAC_REG@GOTPCREL(%rip), %rax
	movl	$4, (%rax)
	movq	_VBL_IFLAG@GOTPCREL(%rip), %rax
	movq	_TIM_IFLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_set_interrupts
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_print_counter
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_delay
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_tim_cnt,8,3                    ## @tim_cnt
	.comm	_vbl_cnt,8,3                    ## @vbl_cnt
	.comm	_vbl,4,2                        ## @vbl
	.comm	_tim,4,2                        ## @tim
	.comm	_TMA_REG,4,2                    ## @TMA_REG
	.comm	_TAC_REG,4,2                    ## @TAC_REG
	.comm	_VBL_IFLAG,4,2                  ## @VBL_IFLAG
	.comm	_TIM_IFLAG,4,2                  ## @TIM_IFLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_disable_interrupts
Lloh0:
	adrp	x8, _tim_cnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tim_cnt@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _vbl_cnt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vbl_cnt@GOTPAGEOFF]
Lloh5:
	str	xzr, [x8]
Lloh6:
	adrp	x8, _vbl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vbl@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_add_VBL
Lloh9:
	adrp	x8, _tim@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tim@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_add_TIM
	bl	_enable_interrupts
Lloh12:
	adrp	x8, _TMA_REG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TMA_REG@GOTPAGEOFF]
Lloh14:
	str	wzr, [x8]
Lloh15:
	adrp	x8, _TAC_REG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TAC_REG@GOTPAGEOFF]
	mov	w9, #4
Lloh17:
	adrp	x10, _VBL_IFLAG@GOTPAGE
Lloh18:
	ldr	x10, [x10, _VBL_IFLAG@GOTPAGEOFF]
Lloh19:
	str	w9, [x8]
Lloh20:
	ldr	w8, [x10]
Lloh21:
	adrp	x9, _TIM_IFLAG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TIM_IFLAG@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_set_interrupts
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_print_counter
	mov	w0, #1000
	bl	_delay
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tim_cnt,8,3                    ; @tim_cnt
	.comm	_vbl_cnt,8,3                    ; @vbl_cnt
	.comm	_vbl,4,2                        ; @vbl
	.comm	_tim,4,2                        ; @tim
	.comm	_TMA_REG,4,2                    ; @TMA_REG
	.comm	_TAC_REG,4,2                    ; @TAC_REG
	.comm	_VBL_IFLAG,4,2                  ; @VBL_IFLAG
	.comm	_TIM_IFLAG,4,2                  ; @TIM_IFLAG
.subsections_via_symbols
