	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_timer_masked               ## -- Begin function get_timer_masked
	.p2align	4, 0x90
_get_timer_masked:                      ## @get_timer_masked
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_READ_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_gd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%esi, %ecx
	subl	(%rdi), %ecx
	jge	LBB0_2
## %bb.1:
	movq	_TIMER_LOAD_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TIMER_CLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CONFIG_SYS_HZ@GOTPCREL(%rip), %r9
	cltd
	idivl	(%r9)
	movl	%eax, %r9d
	movl	%r8d, %eax
	cltd
	idivl	%r9d
	addl	%eax, %ecx
LBB0_2:
	addl	4(%rdi), %ecx
	movl	%ecx, 4(%rdi)
	movl	%esi, (%rdi)
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_TIMER,4,2                 ## @READ_TIMER
	.comm	_gd,8,3                         ## @gd
	.comm	_TIMER_LOAD_VAL,4,2             ## @TIMER_LOAD_VAL
	.comm	_TIMER_CLOCK,4,2                ## @TIMER_CLOCK
	.comm	_CONFIG_SYS_HZ,4,2              ## @CONFIG_SYS_HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_timer_masked               ; -- Begin function get_timer_masked
	.p2align	2
_get_timer_masked:                      ; @get_timer_masked
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _READ_TIMER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ_TIMER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _gd@GOTPAGE
Lloh4:
	ldr	x9, [x9, _gd@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w10, [x9]
	subs	w10, w8, w10
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x11, _TIMER_LOAD_VAL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _TIMER_LOAD_VAL@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _TIMER_CLOCK@GOTPAGE
Lloh10:
	ldr	x12, [x12, _TIMER_CLOCK@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
Lloh12:
	adrp	x13, _CONFIG_SYS_HZ@GOTPAGE
Lloh13:
	ldr	x13, [x13, _CONFIG_SYS_HZ@GOTPAGEOFF]
Lloh14:
	ldr	w13, [x13]
	sdiv	w12, w12, w13
	sdiv	w11, w11, w12
	ldr	w12, [x9, #4]
	add	w10, w10, w11
	add	w0, w10, w12
	stp	w8, w0, [x9]
	ret
LBB0_2:
	ldr	w11, [x9, #4]
	add	w0, w10, w11
	stp	w8, w0, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_TIMER,4,2                 ; @READ_TIMER
	.comm	_gd,8,3                         ; @gd
	.comm	_TIMER_LOAD_VAL,4,2             ; @TIMER_LOAD_VAL
	.comm	_TIMER_CLOCK,4,2                ; @TIMER_CLOCK
	.comm	_CONFIG_SYS_HZ,4,2              ; @CONFIG_SYS_HZ
.subsections_via_symbols
