	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decide_k_bits
_decide_k_bits:                         ## @decide_k_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	cmpl	$5120, %edi                     ## imm = 0x1400
	jg	LBB0_2
## %bb.1:
	movslq	%edi, %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	sarq	$34, %rcx
	shrq	$63, %rax
	addl	%ecx, %eax
	addl	$160, %eax
	popq	%rbp
	retq
LBB0_2:
	shrl	$3, %edi
	leal	(%rdi,%rdi,2), %eax
	addl	$600, %eax                      ## imm = 0x258
	shrl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decide_k_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decide_k_bits
_decide_k_bits:                         ; @decide_k_bits
	.cfi_startproc
; %bb.0:
	mov	w8, #5120
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x9, w0, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	lsr	w10, w0, #3
	add	w10, w10, w10, lsl #1
	add	w10, w10, #600
	lsr	w10, w10, #1
	add	w9, w9, #160
	cmp	w0, w8
	csel	w0, w10, w9, gt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decide_k_bits
.subsections_via_symbols
