	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitClockRate                  ## -- Begin function InitClockRate
	.p2align	4, 0x90
_InitClockRate:                         ## @InitClockRate
	.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	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movq	_kmem@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.1:
	movq	_nl@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_nlist
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_GetClockRate
	movl	%eax, %ecx
	movq	_default_rate@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_UNKNOWN_RATE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_4
## %bb.3:
	movq	_DEFAULT_RATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_4:
	movq	_MILLION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ecx
	movq	_tick_rate@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_TICK_ADJ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	imull	%eax, %r8d
	movq	_slew_rate@GOTPCREL(%rip), %rdx
	movl	%r8d, (%rdx)
	movq	_stderr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%ecx, %edx
	movl	%eax, %ecx
	callq	_fprintf
	jmp	LBB0_7
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_fputs
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_msyslog
LBB0_6:
	movl	$-1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	_InitClockRate.cold.1
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function InitClockRate.cold.1
_InitClockRate.cold.1:                  ## @InitClockRate.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_msyslog
	leaq	L_.str.2(%rip), %rdi
	popq	%rbp
	jmp	_perror                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/kmem"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_kmem,4,2                       ## @kmem
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"open(/dev/kmem): %m"

L_.str.2:                               ## @.str.2
	.asciz	"adjtimed: open(/dev/kmem)"

L_.str.3:                               ## @.str.3
	.asciz	"/hp-ux"

	.comm	_nl,8,3                         ## @nl
L_.str.4:                               ## @.str.4
	.asciz	"adjtimed: /hp-ux has no symbol table\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str.5:                               ## @.str.5
	.asciz	"/hp-ux has no symbol table"

	.comm	_default_rate,4,2               ## @default_rate
	.comm	_UNKNOWN_RATE,4,2               ## @UNKNOWN_RATE
	.comm	_DEFAULT_RATE,4,2               ## @DEFAULT_RATE
	.comm	_MILLION,4,2                    ## @MILLION
	.comm	_tick_rate,4,2                  ## @tick_rate
	.comm	_TICK_ADJ,4,2                   ## @TICK_ADJ
	.comm	_slew_rate,4,2                  ## @slew_rate
L_.str.6:                               ## @.str.6
	.asciz	"default_rate=%ld, tick_rate=%ld, slew_rate=%ld\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitClockRate                  ; -- Begin function InitClockRate
	.p2align	2
_InitClockRate:                         ; @InitClockRate
	.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, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
Lloh5:
	adrp	x8, _kmem@GOTPAGE
Lloh6:
	ldr	x8, [x8, _kmem@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.1:
Lloh8:
	adrp	x19, _nl@GOTPAGE
Lloh9:
	ldr	x19, [x19, _nl@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_nlist
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	bl	_GetClockRate
	mov	x2, x0
Lloh12:
	adrp	x8, _default_rate@GOTPAGE
Lloh13:
	ldr	x8, [x8, _default_rate@GOTPAGEOFF]
	str	w0, [x8]
Lloh14:
	adrp	x9, _UNKNOWN_RATE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _UNKNOWN_RATE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_4
; %bb.3:
Lloh17:
	adrp	x9, _DEFAULT_RATE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DEFAULT_RATE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x9]
	str	w2, [x8]
LBB0_4:
Lloh20:
	adrp	x8, _MILLION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MILLION@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _tick_rate@GOTPAGE
Lloh24:
	ldr	x9, [x9, _tick_rate@GOTPAGEOFF]
	sdiv	w3, w8, w2
Lloh25:
	str	w3, [x9]
Lloh26:
	adrp	x8, _TICK_ADJ@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TICK_ADJ@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	mul	w4, w8, w3
Lloh29:
	adrp	x8, _slew_rate@GOTPAGE
Lloh30:
	ldr	x8, [x8, _slew_rate@GOTPAGEOFF]
Lloh31:
	str	w4, [x8]
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x0, l_.str.4@PAGE
Lloh41:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_fputs
Lloh42:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_msyslog
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	_InitClockRate.cold.1
	b	LBB0_6
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function InitClockRate.cold.1
_InitClockRate.cold.1:                  ; @InitClockRate.cold.1
	.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
Lloh47:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.1@PAGE
Lloh51:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msyslog
Lloh52:
	adrp	x0, l_.str.2@PAGE
Lloh53:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_perror
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/kmem"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_kmem,4,2                       ; @kmem
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"open(/dev/kmem): %m"

l_.str.2:                               ; @.str.2
	.asciz	"adjtimed: open(/dev/kmem)"

l_.str.3:                               ; @.str.3
	.asciz	"/hp-ux"

	.comm	_nl,8,3                         ; @nl
l_.str.4:                               ; @.str.4
	.asciz	"adjtimed: /hp-ux has no symbol table\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str.5:                               ; @.str.5
	.asciz	"/hp-ux has no symbol table"

	.comm	_default_rate,4,2               ; @default_rate
	.comm	_UNKNOWN_RATE,4,2               ; @UNKNOWN_RATE
	.comm	_DEFAULT_RATE,4,2               ; @DEFAULT_RATE
	.comm	_MILLION,4,2                    ; @MILLION
	.comm	_tick_rate,4,2                  ; @tick_rate
	.comm	_TICK_ADJ,4,2                   ; @TICK_ADJ
	.comm	_slew_rate,4,2                  ; @slew_rate
l_.str.6:                               ; @.str.6
	.asciz	"default_rate=%ld, tick_rate=%ld, slew_rate=%ld\n"

.subsections_via_symbols
