	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function switch_crt_hz
_switch_crt_hz:                         ## @switch_crt_hz
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ra_core_hz@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_ra_tmp_core_hz@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	je	LBB0_14
## %bb.1:
	cmpl	$99, %eax
	jg	LBB0_7
## %bb.2:
	cmpl	$52, %eax
	jg	LBB0_4
## %bb.3:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	movl	$50, (%rax)
	movl	$50, %edi
	jmp	LBB0_13
LBB0_7:
	cmpl	$100, %eax
	jne	LBB0_9
## %bb.8:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_13
LBB0_4:
	addl	$-53, %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.5:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	movl	$55, (%rax)
	movl	$55, %edi
	jmp	LBB0_13
LBB0_9:
	cmpl	$105, %eax
	jbe	LBB0_12
## %bb.10:
	addl	$-106, %eax
	cmpl	$7, %eax
	ja	LBB0_12
## %bb.11:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	movl	$110, (%rax)
	movl	$110, %edi
	jmp	LBB0_13
LBB0_12:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	movl	$120, (%rax)
	movl	$120, %edi
	jmp	LBB0_13
LBB0_6:
	movq	_ra_set_core_hz@GOTPCREL(%rip), %rax
	movl	$60, (%rax)
	movl	$60, %edi
LBB0_13:
	callq	_video_monitor_set_refresh_rate
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ra_core_hz,4,2                 ## @ra_core_hz
	.comm	_ra_tmp_core_hz,4,2             ## @ra_tmp_core_hz
	.comm	_ra_set_core_hz,4,2             ## @ra_set_core_hz
	.no_dead_strip	_switch_crt_hz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function switch_crt_hz
_switch_crt_hz:                         ; @switch_crt_hz
	.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	x19, _ra_core_hz@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ra_core_hz@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x20, _ra_tmp_core_hz@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ra_tmp_core_hz@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, w9
	b.eq	LBB0_15
; %bb.1:
	cmp	w8, #99
	b.gt	LBB0_4
; %bb.2:
	cmp	w8, #52
	b.gt	LBB0_6
; %bb.3:
Lloh4:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
	mov	w0, #50
	b	LBB0_13
LBB0_4:
	cmp	w8, #100
	b.ne	LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_14
LBB0_6:
	sub	w8, w8, #53
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.7:
Lloh9:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
	mov	w0, #55
	b	LBB0_13
LBB0_8:
	cmp	w8, #105
	b.ls	LBB0_11
; %bb.9:
	sub	w8, w8, #106
	cmp	w8, #7
	b.hi	LBB0_11
; %bb.10:
Lloh11:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
	mov	w0, #110
	b	LBB0_13
LBB0_11:
Lloh13:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
	mov	w0, #120
	b	LBB0_13
LBB0_12:
Lloh15:
	adrp	x8, _ra_set_core_hz@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ra_set_core_hz@GOTPAGEOFF]
	mov	w0, #60
LBB0_13:
	str	w0, [x8]
LBB0_14:
	bl	_video_monitor_set_refresh_rate
	ldr	w8, [x19]
	str	w8, [x20]
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ra_core_hz,4,2                 ; @ra_core_hz
	.comm	_ra_tmp_core_hz,4,2             ; @ra_tmp_core_hz
	.comm	_ra_set_core_hz,4,2             ; @ra_set_core_hz
	.no_dead_strip	_switch_crt_hz
.subsections_via_symbols
