	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sumo_program_at
_sumo_program_at:                       ## @sumo_program_at
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_sumo_get_pi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_sumo_get_ps
	movq	%rax, %r12
	movq	_SUMO_MAX_HARDWARE_POWERLEVELS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	_SUMO_R_DFLT0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_SUMO_R_DFLT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r15)
	movq	_SUMO_R_DFLT2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movq	_SUMO_R_DFLT3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r15)
	movq	_SUMO_R_DFLT4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r15)
	movq	_SUMO_L_DFLT0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rdx)
	movq	_SUMO_L_DFLT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rdx)
	movq	_SUMO_L_DFLT2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rdx)
	movq	_SUMO_L_DFLT3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rdx)
	movq	_SUMO_L_DFLT4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, 16(%rdx)
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ecx
	xorl	%edx, %edx
	cmpq	%rcx, %r13
	setne	%dl
	movq	8(%r12), %rcx
	movl	(%rcx,%r13,4), %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	imull	(%rsi,%rdx,4), %ecx
	movslq	%ecx, %rcx
	imulq	$1374389535, %rcx, %r14         ## imm = 0x51EB851F
	movq	%r14, %rcx
	shrq	$63, %rcx
	sarq	$37, %r14
	addl	%ecx, %r14d
	imull	%r14d, %eax
	cltq
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$37, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_CG_R
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	imull	(%rax,%r13,4), %r14d
	movslq	%r14d, %rax
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$37, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_CG_L
	orl	%eax, %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_sumo_write_at
	leaq	1(%r13), %rdx
	movslq	(%r12), %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15,%r13,4), %eax
	movq	%rdx, %r13
	jmp	LBB0_2
LBB0_4:
	movq	_SUMO_POWERSTATE_FLAGS_BOOST_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_7
## %bb.5:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	8(%rdx), %eax
	imull	(%rdx), %eax
	cltq
	imulq	$1374389535, %rax, %rbx         ## imm = 0x51EB851F
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$37, %rbx
	addl	%eax, %ebx
	movslq	%ecx, %rax
	movl	-4(%r15,%rax,4), %eax
	imull	%ebx, %eax
	cltq
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$37, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_CG_R
	movl	%eax, %r15d
	movslq	(%r12), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	imull	-4(%rcx,%rax,4), %ebx
	movslq	%ebx, %rax
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$37, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_CG_L
	movq	_BOOST_DPM_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.6:
	orl	%r15d, %eax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sumo_write_at                  ## TAILCALL
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SUMO_MAX_HARDWARE_POWERLEVELS,4,2 ## @SUMO_MAX_HARDWARE_POWERLEVELS
	.comm	_SUMO_R_DFLT0,4,2               ## @SUMO_R_DFLT0
	.comm	_SUMO_R_DFLT1,4,2               ## @SUMO_R_DFLT1
	.comm	_SUMO_R_DFLT2,4,2               ## @SUMO_R_DFLT2
	.comm	_SUMO_R_DFLT3,4,2               ## @SUMO_R_DFLT3
	.comm	_SUMO_R_DFLT4,4,2               ## @SUMO_R_DFLT4
	.comm	_SUMO_L_DFLT0,4,2               ## @SUMO_L_DFLT0
	.comm	_SUMO_L_DFLT1,4,2               ## @SUMO_L_DFLT1
	.comm	_SUMO_L_DFLT2,4,2               ## @SUMO_L_DFLT2
	.comm	_SUMO_L_DFLT3,4,2               ## @SUMO_L_DFLT3
	.comm	_SUMO_L_DFLT4,4,2               ## @SUMO_L_DFLT4
	.comm	_SUMO_POWERSTATE_FLAGS_BOOST_STATE,4,2 ## @SUMO_POWERSTATE_FLAGS_BOOST_STATE
	.comm	_BOOST_DPM_LEVEL,4,2            ## @BOOST_DPM_LEVEL
	.no_dead_strip	_sumo_program_at
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sumo_program_at
_sumo_program_at:                       ; @sumo_program_at
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_sumo_get_pi
	mov	x21, x0
	mov	x0, x20
	bl	_sumo_get_ps
	mov	x20, x0
Lloh3:
	adrp	x8, _SUMO_MAX_HARDWARE_POWERLEVELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUMO_MAX_HARDWARE_POWERLEVELS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x13, x9, x12
	mov	sp, x13
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
Lloh10:
	adrp	x8, _SUMO_R_DFLT0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SUMO_R_DFLT0@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _SUMO_R_DFLT1@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SUMO_R_DFLT1@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w8, w9, [x13]
Lloh16:
	adrp	x9, _SUMO_R_DFLT2@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SUMO_R_DFLT2@GOTPAGEOFF]
Lloh18:
	adrp	x10, _SUMO_R_DFLT3@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SUMO_R_DFLT3@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	ldr	w10, [x10]
	stp	w9, w10, [x13, #8]
Lloh22:
	adrp	x9, _SUMO_R_DFLT4@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SUMO_R_DFLT4@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	str	w9, [x13, #16]
Lloh25:
	adrp	x9, _SUMO_L_DFLT0@GOTPAGE
Lloh26:
	ldr	x9, [x9, _SUMO_L_DFLT0@GOTPAGEOFF]
Lloh27:
	adrp	x10, _SUMO_L_DFLT1@GOTPAGE
Lloh28:
	ldr	x10, [x10, _SUMO_L_DFLT1@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	ldr	w10, [x10]
	stp	w9, w10, [x24]
Lloh31:
	adrp	x9, _SUMO_L_DFLT2@GOTPAGE
Lloh32:
	ldr	x9, [x9, _SUMO_L_DFLT2@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _SUMO_L_DFLT3@GOTPAGE
Lloh35:
	ldr	x10, [x10, _SUMO_L_DFLT3@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	stp	w9, w10, [x24, #8]
Lloh37:
	adrp	x9, _SUMO_L_DFLT4@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SUMO_L_DFLT4@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	str	w9, [x24, #16]
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x22, #0
	stur	x13, [x29, #-96]                ; 8-byte Folded Spill
	add	x26, x13, #4
	mov	w27, #34079
	movk	w27, #20971, lsl #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w9, #1
	cmp	x22, x9
	cset	w9, ne
	ldr	w9, [x21, w9, uxtw #2]
	ldr	x10, [x20, #8]
	lsl	x28, x22, #2
	ldr	w10, [x10, x28]
	mul	w9, w10, w9
	smull	x9, w9, w27
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w25, w9, w10
	mul	w8, w25, w8
	smull	x8, w8, w27
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w0, w8, w9
	bl	_CG_R
	mov	x23, x0
	ldr	w8, [x24, x28]
	mul	w8, w8, w25
	smull	x8, w8, w27
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w0, w8, w9
	bl	_CG_L
	orr	w2, w0, w23
	mov	x0, x19
	mov	x1, x22
	bl	_sumo_write_at
	add	x10, x22, #1
	ldrsw	x9, [x20]
	cmp	x10, x9
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26, x22, lsl #2]
	mov	x22, x10
	b	LBB0_2
LBB0_4:
	ldur	x13, [x29, #-96]                ; 8-byte Folded Reload
LBB0_5:
	ldr	w8, [x20, #4]
Lloh40:
	adrp	x10, _SUMO_POWERSTATE_FLAGS_BOOST_STATE@GOTPAGE
Lloh41:
	ldr	x10, [x10, _SUMO_POWERSTATE_FLAGS_BOOST_STATE@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x21]
	ldr	w10, [x21, #8]
	mul	w8, w10, w8
	mov	w22, #34079
	movk	w22, #20971, lsl #16
	smull	x8, w8, w22
	lsr	x10, x8, #63
	asr	x8, x8, #37
	sub	w9, w9, #1
	ldr	w9, [x13, w9, sxtw #2]
	add	w23, w8, w10
	mul	w8, w23, w9
	smull	x8, w8, w22
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w0, w8, w9
	bl	_CG_R
	mov	x21, x0
	ldrsw	x8, [x20]
	add	x8, x24, x8, lsl #2
	ldur	w8, [x8, #-4]
	mul	w8, w8, w23
	smull	x8, w8, w22
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w0, w8, w9
	bl	_CG_L
Lloh43:
	adrp	x8, _BOOST_DPM_LEVEL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BOOST_DPM_LEVEL@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldur	x8, [x29, #-88]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.7:
	orr	w2, w0, w21
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_sumo_write_at
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh49:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh50:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_SUMO_MAX_HARDWARE_POWERLEVELS,4,2 ; @SUMO_MAX_HARDWARE_POWERLEVELS
	.comm	_SUMO_R_DFLT0,4,2               ; @SUMO_R_DFLT0
	.comm	_SUMO_R_DFLT1,4,2               ; @SUMO_R_DFLT1
	.comm	_SUMO_R_DFLT2,4,2               ; @SUMO_R_DFLT2
	.comm	_SUMO_R_DFLT3,4,2               ; @SUMO_R_DFLT3
	.comm	_SUMO_R_DFLT4,4,2               ; @SUMO_R_DFLT4
	.comm	_SUMO_L_DFLT0,4,2               ; @SUMO_L_DFLT0
	.comm	_SUMO_L_DFLT1,4,2               ; @SUMO_L_DFLT1
	.comm	_SUMO_L_DFLT2,4,2               ; @SUMO_L_DFLT2
	.comm	_SUMO_L_DFLT3,4,2               ; @SUMO_L_DFLT3
	.comm	_SUMO_L_DFLT4,4,2               ; @SUMO_L_DFLT4
	.comm	_SUMO_POWERSTATE_FLAGS_BOOST_STATE,4,2 ; @SUMO_POWERSTATE_FLAGS_BOOST_STATE
	.comm	_BOOST_DPM_LEVEL,4,2            ; @BOOST_DPM_LEVEL
	.no_dead_strip	_sumo_program_at
.subsections_via_symbols
