	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reload_limits
_reload_limits:                         ## @reload_limits
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movl	$4, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_ucmpv64
	testq	%rax, %rax
	jns	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movl	(%r15), %eax
	addq	$24, %rbx
	cmpq	%rax, %r12
	jne	LBB0_3
## %bb.6:
	cmpl	%r12d, %eax
	jg	LBB0_8
	jmp	LBB0_7
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_4:
	movl	(%r15), %eax
	cmpl	%r12d, %eax
	jle	LBB0_7
LBB0_8:
	movq	48(%r15), %rax
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	movl	4(%rax,%rcx,8), %edx
	movl	%edx, 36(%r15)
	leaq	(%rax,%rcx,8), %rax
	addq	$16, %rax
	jmp	LBB0_9
LBB0_7:
	leaq	36(%r15), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	40(%r15), %rax
LBB0_9:
	movq	(%rax), %rcx
	movq	%rcx, 8(%r15)
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.10:
	decl	%r12d
	movq	48(%r15), %rdx
	movslq	%r12d, %rax
	leaq	(%rax,%rax,2), %rbx
	movq	16(%rdx,%rbx,8), %rsi
	movq	%rsi, 16(%r15)
	movl	8(%rdx,%rbx,8), %eax
	movl	%eax, 4(%r15)
	movl	4(%rdx,%rbx,8), %eax
	leaq	24(%r15), %r14
	movl	%eax, 24(%r15)
	movq	__electric@GOTPCREL(%rip), %rdi
	cmpq	$0, (%rdi)
	jne	LBB0_12
## %bb.11:
	subq	%rcx, %rsi
	movq	%r14, %rdi
	callq	_addv64i32
	movq	48(%r15), %rdx
LBB0_12:
	movl	%eax, 28(%r15)
	movl	(%rdx,%rbx,8), %esi
	movq	%r14, %rdi
	callq	_subv64u32
	movl	%eax, 32(%r15)
	jmp	LBB0_14
LBB0_13:
	leaq	24(%r15), %rdi
	movl	$255, %esi
	movl	$4, %edx
	callq	_memset
	movl	24(%r15), %eax
	movl	%eax, 32(%r15)
	movl	%eax, 28(%r15)
	movq	8(%r15), %rax
	movq	%rax, 16(%r15)
	movl	$0, 4(%r15)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__electric,8,3                  ## @_electric
	.no_dead_strip	_reload_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reload_limits
_reload_limits:                         ; @reload_limits
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x21, #0
	mov	w22, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x1, x8, x22
	mov	x0, x20
	bl	_ucmpv64
	tbz	x0, #63, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldr	w8, [x19]
	add	x22, x22, #24
	cmp	x21, x8
	b.ne	LBB0_2
; %bb.4:
	cmp	w8, w21
	b.gt	LBB0_7
	b	LBB0_8
LBB0_5:
	mov	w21, #0
	b	LBB0_8
LBB0_6:
	ldr	w8, [x19]
	cmp	w8, w21
	b.le	LBB0_8
LBB0_7:
	ldr	x8, [x19, #48]
	and	x9, x21, #0xffffffff
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	w9, [x8, #4]
	str	w9, [x19, #36]
	add	x8, x8, #16
	b	LBB0_9
LBB0_8:
	add	x0, x19, #36
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x8, x19, #40
LBB0_9:
	ldr	x9, [x8]
	str	x9, [x19, #8]
	cbz	w21, LBB0_13
; %bb.10:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x8, w21
	sub	x21, x8, #1
	ldr	x8, [x19, #48]
	mov	w10, #24
	madd	x10, x21, x10, x8
	mov	x20, x19
	ldp	w0, w11, [x10, #4]
	str	w0, [x20, #24]!
	ldr	x10, [x10, #16]
	stur	x10, [x20, #-8]
	stur	w11, [x20, #-20]
Lloh0:
	adrp	x11, __electric@GOTPAGE
Lloh1:
	ldr	x11, [x11, __electric@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cbnz	x11, LBB0_12
; %bb.11:
	sub	x1, x10, x9
	mov	x0, x20
	bl	_addv64i32
	ldr	x8, [x19, #48]
LBB0_12:
	str	w0, [x19, #28]
	mov	w9, #24
	mul	x9, x21, x9
	ldr	w1, [x8, x9]
	mov	x0, x20
	bl	_subv64u32
	str	w0, [x19, #32]
	b	LBB0_14
LBB0_13:
	add	x0, x19, #24
	mov	w1, #255
	mov	w2, #4
	bl	_memset
	ldr	w8, [x19, #24]
	stp	w8, w8, [x19, #28]
	ldr	x8, [x19, #8]
	str	x8, [x19, #16]
	str	wzr, [x19, #4]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__electric,8,3                  ; @_electric
	.no_dead_strip	_reload_limits
.subsections_via_symbols
