	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ResetClockRate                 ## -- Begin function ResetClockRate
	.p2align	4, 0x90
_ResetClockRate:                        ## @ResetClockRate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -16(%rbp)
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	xorl	%edx, %edx
	callq	_setitimer
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_puts
LBB0_2:
	movq	_sysdebug@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_4
## %bb.3:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_msyslog
LBB0_4:
	xorl	%eax, %eax
	callq	_GetClockRate
	movq	_default_rate@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpq	%rdi, %rax
	je	LBB0_7
## %bb.5:
	callq	_SetClockRate
	cmpl	$-1, %eax
	je	LBB0_6
LBB0_7:
	movq	_oldrate@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_6:
	callq	_ResetClockRate.cold.1
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function ResetClockRate.cold.1
_ResetClockRate.cold.1:                 ## @ResetClockRate.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.2(%rip), %rsi
	callq	_msyslog
	leaq	L_.str.3(%rip), %rdi
	popq	%rbp
	jmp	_perror                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
	.comm	_verbose,4,2                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adjtimed: resetting the clock"

	.comm	_sysdebug,4,2                   ## @sysdebug
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"resetting the clock"

	.comm	_default_rate,8,3               ## @default_rate
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"set clock rate: %m"

L_.str.3:                               ## @.str.3
	.asciz	"adjtimed: set clock rate"

	.comm	_oldrate,8,3                    ## @oldrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ResetClockRate                 ; -- Begin function ResetClockRate
	.p2align	2
_ResetClockRate:                        ; @ResetClockRate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_setitimer
Lloh3:
	adrp	x8, _verbose@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_puts
LBB0_2:
Lloh8:
	adrp	x8, _sysdebug@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sysdebug@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msyslog
LBB0_4:
	bl	_GetClockRate
	mov	x8, x0
Lloh16:
	adrp	x9, _default_rate@GOTPAGE
Lloh17:
	ldr	x9, [x9, _default_rate@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x9]
	cmp	x8, x0
	b.eq	LBB0_6
; %bb.5:
	bl	_SetClockRate
	cmn	w0, #1
	b.eq	LBB0_7
LBB0_6:
Lloh19:
	adrp	x8, _oldrate@GOTPAGE
Lloh20:
	ldr	x8, [x8, _oldrate@GOTPAGEOFF]
Lloh21:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_7:
	bl	_ResetClockRate.cold.1
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function ResetClockRate.cold.1
_ResetClockRate.cold.1:                 ; @ResetClockRate.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
Lloh22:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msyslog
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_perror
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
	.comm	_verbose,4,2                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adjtimed: resetting the clock"

	.comm	_sysdebug,4,2                   ; @sysdebug
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"resetting the clock"

	.comm	_default_rate,8,3               ; @default_rate
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"set clock rate: %m"

l_.str.3:                               ; @.str.3
	.asciz	"adjtimed: set clock rate"

	.comm	_oldrate,8,3                    ; @oldrate
.subsections_via_symbols
