	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alpha
_alpha:                                 ## @alpha
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$37, %rax
	addl	%edx, %eax
	cmpl	%esi, %eax
	jge	LBB0_1
## %bb.6:
	movl	$1, (%rdi)
	subl	%eax, %ecx
	subl	%eax, %esi
	movq	_ALPHA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	imull	%ecx, %edi
	movq	_ALPHA_MIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	subl	%r8d, %eax
	imull	%esi, %eax
	cltd
	idivl	%r8d
	movl	%eax, %esi
	addl	%ecx, %esi
	movl	%edi, %eax
	cltd
	idivl	%esi
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	movq	8(%rdi), %rax
	incq	%rax
	movq	%rax, 8(%rdi)
	movq	_theta@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.4:
	movl	16(%rdi), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	$0, 8(%rdi)
	movl	$0, (%rdi)
LBB0_2:
	movq	_ALPHA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALPHA_MAX,4,2                  ## @ALPHA_MAX
	.comm	_theta,8,3                      ## @theta
	.comm	_ALPHA_MIN,4,2                  ## @ALPHA_MIN
	.no_dead_strip	_alpha
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alpha
_alpha:                                 ; @alpha
	.cfi_startproc
; %bb.0:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w2, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x0]
Lloh0:
	adrp	x9, _ALPHA_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ALPHA_MAX@GOTPAGEOFF]
	sub	w10, w1, w8
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x11, _ALPHA_MIN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ALPHA_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	sub	w12, w9, w11
	mul	w10, w12, w10
	sdiv	w10, w10, w11
	sub	w8, w2, w8
	add	w10, w10, w8
	mul	w8, w9, w8
	sdiv	w0, w8, w10
	ret
LBB0_2:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.3:
	ldr	x8, [x0, #8]
	add	x8, x8, #1
	str	x8, [x0, #8]
Lloh6:
	adrp	x9, _theta@GOTPAGE
Lloh7:
	ldr	x9, [x9, _theta@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
	ldr	w0, [x0, #16]
	ret
LBB0_5:
	str	xzr, [x0, #8]
	str	wzr, [x0]
LBB0_6:
Lloh9:
	adrp	x8, _ALPHA_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALPHA_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ALPHA_MAX,4,2                  ; @ALPHA_MAX
	.comm	_theta,8,3                      ; @theta
	.comm	_ALPHA_MIN,4,2                  ; @ALPHA_MIN
	.no_dead_strip	_alpha
.subsections_via_symbols
