	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timer_init                     ## -- Begin function timer_init
	.p2align	4, 0x90
_timer_init:                            ## @timer_init
	.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	_TIMER_LOAD_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CONFIG_SYS_TIMERBASE@GOTPCREL(%rip), %rbx
	movq	_TIMER_LOAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_CONFIG_TIMER_PRESCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TIMER_PRESCALE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_TIMER_MODE_PERIODIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_TIMER_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_TIMER_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TIMER_ENABLE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%edx, %edi
	movq	_TIMER_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_READ_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_gd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 8(%rcx)
	movq	$0, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMER_LOAD_VAL,4,2             ## @TIMER_LOAD_VAL
	.comm	_CONFIG_SYS_TIMERBASE,8,3       ## @CONFIG_SYS_TIMERBASE
	.comm	_TIMER_LOAD,8,3                 ## @TIMER_LOAD
	.comm	_CONFIG_TIMER_PRESCALE,4,2      ## @CONFIG_TIMER_PRESCALE
	.comm	_TIMER_PRESCALE_SHIFT,4,2       ## @TIMER_PRESCALE_SHIFT
	.comm	_TIMER_MODE_PERIODIC,4,2        ## @TIMER_MODE_PERIODIC
	.comm	_TIMER_MODE_SHIFT,4,2           ## @TIMER_MODE_SHIFT
	.comm	_TIMER_ENABLE,4,2               ## @TIMER_ENABLE
	.comm	_TIMER_ENABLE_SHIFT,4,2         ## @TIMER_ENABLE_SHIFT
	.comm	_TIMER_CTRL,8,3                 ## @TIMER_CTRL
	.comm	_READ_TIMER,4,2                 ## @READ_TIMER
	.comm	_gd,8,3                         ## @gd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timer_init                     ; -- Begin function timer_init
	.p2align	2
_timer_init:                            ; @timer_init
	.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, _TIMER_LOAD_VAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIMER_LOAD_VAL@GOTPAGEOFF]
Lloh2:
	adrp	x19, _CONFIG_SYS_TIMERBASE@GOTPAGE
Lloh3:
	ldr	x19, [x19, _CONFIG_SYS_TIMERBASE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _TIMER_LOAD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TIMER_LOAD@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh8:
	adrp	x8, _CONFIG_TIMER_PRESCALE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CONFIG_TIMER_PRESCALE@GOTPAGEOFF]
Lloh10:
	adrp	x9, _TIMER_PRESCALE_SHIFT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TIMER_PRESCALE_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh14:
	adrp	x9, _TIMER_MODE_PERIODIC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TIMER_MODE_PERIODIC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _TIMER_MODE_SHIFT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _TIMER_MODE_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh20:
	adrp	x10, _TIMER_ENABLE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _TIMER_ENABLE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh22:
	ldr	w9, [x10]
Lloh23:
	adrp	x10, _TIMER_ENABLE_SHIFT@GOTPAGE
Lloh24:
	ldr	x10, [x10, _TIMER_ENABLE_SHIFT@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh26:
	adrp	x9, _TIMER_CTRL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _TIMER_CTRL@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh29:
	adrp	x8, _READ_TIMER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _READ_TIMER@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _gd@GOTPAGE
Lloh33:
	ldr	x9, [x9, _gd@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	str	w8, [x9, #8]
	str	xzr, [x9]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMER_LOAD_VAL,4,2             ; @TIMER_LOAD_VAL
	.comm	_CONFIG_SYS_TIMERBASE,8,3       ; @CONFIG_SYS_TIMERBASE
	.comm	_TIMER_LOAD,8,3                 ; @TIMER_LOAD
	.comm	_CONFIG_TIMER_PRESCALE,4,2      ; @CONFIG_TIMER_PRESCALE
	.comm	_TIMER_PRESCALE_SHIFT,4,2       ; @TIMER_PRESCALE_SHIFT
	.comm	_TIMER_MODE_PERIODIC,4,2        ; @TIMER_MODE_PERIODIC
	.comm	_TIMER_MODE_SHIFT,4,2           ; @TIMER_MODE_SHIFT
	.comm	_TIMER_ENABLE,4,2               ; @TIMER_ENABLE
	.comm	_TIMER_ENABLE_SHIFT,4,2         ; @TIMER_ENABLE_SHIFT
	.comm	_TIMER_CTRL,8,3                 ; @TIMER_CTRL
	.comm	_READ_TIMER,4,2                 ; @READ_TIMER
	.comm	_gd,8,3                         ; @gd
.subsections_via_symbols
