	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kv_get_clk_bypass
_kv_get_clk_bypass:                     ## @kv_get_clk_bypass
	.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
	movl	%esi, %ebx
	callq	_kv_get_pi
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	movl	$40000, %esi                    ## imm = 0x9C40
	callq	_kv_get_clock_difference
	movl	%eax, %ecx
	movl	$3, %eax
	cmpl	$200, %ecx
	jl	LBB0_7
## %bb.3:
	movl	%ebx, %edi
	movl	$30000, %esi                    ## imm = 0x7530
	callq	_kv_get_clock_difference
	movl	%eax, %ecx
	movl	$2, %eax
	cmpl	$200, %ecx
	jl	LBB0_7
## %bb.4:
	movl	%ebx, %edi
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_kv_get_clock_difference
	movl	%eax, %ecx
	movl	$7, %eax
	cmpl	$200, %ecx
	jl	LBB0_7
## %bb.5:
	movl	%ebx, %edi
	movl	$15000, %esi                    ## imm = 0x3A98
	callq	_kv_get_clock_difference
	movl	%eax, %ecx
	movl	$6, %eax
	cmpl	$200, %ecx
	jl	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_kv_get_clock_difference
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$200, %ecx
	setl	%al
	shll	$3, %eax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_kv_get_clk_bypass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kv_get_clk_bypass
_kv_get_clk_bypass:                     ; @kv_get_clk_bypass
	.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
	mov	x19, x1
	bl	_kv_get_pi
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #40000
	bl	_kv_get_clock_difference
	cmp	w0, #200
	b.ge	LBB0_4
; %bb.2:
	mov	w0, #3
	b	LBB0_11
LBB0_3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
	mov	x0, x19
	mov	w1, #30000
	bl	_kv_get_clock_difference
	cmp	w0, #200
	b.ge	LBB0_6
; %bb.5:
	mov	w0, #2
	b	LBB0_11
LBB0_6:
	mov	x0, x19
	mov	w1, #20000
	bl	_kv_get_clock_difference
	cmp	w0, #200
	b.ge	LBB0_8
; %bb.7:
	mov	w0, #7
	b	LBB0_11
LBB0_8:
	mov	x0, x19
	mov	w1, #15000
	bl	_kv_get_clock_difference
	cmp	w0, #200
	b.ge	LBB0_10
; %bb.9:
	mov	w0, #6
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	mov	w1, #10000
	bl	_kv_get_clock_difference
	cmp	w0, #200
	cset	w8, lt
	lsl	w0, w8, #3
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_kv_get_clk_bypass
.subsections_via_symbols
