	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function beta
_beta:                                  ## @beta
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rax
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$34, %rcx
	addl	%eax, %ecx
	cmpl	%edi, %ecx
	jge	LBB0_4
## %bb.1:
	shll	$3, %esi
	movslq	%esi, %rax
	imulq	$1717986919, %rax, %rdx         ## imm = 0x66666667
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$34, %rdx
	addl	%eax, %edx
	cmpl	%edi, %edx
	jle	LBB0_6
## %bb.2:
	movl	%edx, %esi
	subl	%ecx, %esi
	jle	LBB0_6
## %bb.3:
	movq	_BETA_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	imull	%r8d, %edx
	movq	_BETA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%eax, %ecx
	subl	%ecx, %edx
	subl	%r8d, %eax
	imull	%edi, %eax
	addl	%edx, %eax
	cltd
	idivl	%esi
	popq	%rbp
	retq
LBB0_4:
	movq	_BETA_MIN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_BETA_MAX@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BETA_MIN,4,2                   ## @BETA_MIN
	.comm	_BETA_MAX,4,2                   ## @BETA_MAX
	.no_dead_strip	_beta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function beta
_beta:                                  ; @beta
	.cfi_startproc
; %bb.0:
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w1, w9
	lsr	x10, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w10
	cmp	w8, w0
	b.ge	LBB0_3
; %bb.1:
	lsl	w10, w1, #3
	smull	x9, w10, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	cmp	w9, w0
	ccmp	w9, w8, #4, gt
	b.gt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _BETA_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BETA_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh3:
	adrp	x8, _BETA_MIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BETA_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh6:
	adrp	x10, _BETA_MIN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BETA_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	mul	w11, w10, w9
Lloh9:
	adrp	x12, _BETA_MAX@GOTPAGE
Lloh10:
	ldr	x12, [x12, _BETA_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	msub	w11, w12, w8, w11
	sub	w10, w12, w10
	madd	w10, w10, w0, w11
	sub	w8, w9, w8
	sdiv	w0, w10, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BETA_MIN,4,2                   ; @BETA_MIN
	.comm	_BETA_MAX,4,2                   ; @BETA_MAX
	.no_dead_strip	_beta
.subsections_via_symbols
