	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_sum_x
_list_sum_x:                            ## @list_sum_x
	.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
	movl	%edi, %r14d
	movq	_LA@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_LE@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setb	%dil
	callq	_IF_LISTS_Z
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	_object_id_ints_adjusted@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_OARR_ENTRY
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_object_id_compare
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12), %rax
	shlq	$3, %rax
	addq	(%rbx), %rax
	movq	%rax, (%rbx)
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setb	%dil
	callq	_IF_LISTS_Z
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_10
LBB0_4:
	movq	(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	_MAX_OBJECT_ID@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_10
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movslq	(%r12), %rax
	leaq	(%rcx,%rax,8), %rax
	movq	%rax, (%rbx)
	movq	___have_weights@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_7
## %bb.8:
	movq	-8(%rax), %rax
	jmp	LBB0_9
LBB0_7:
	movl	$1, %eax
LBB0_9:
	movq	_Sum@GOTPCREL(%rip), %rcx
	addq	%rax, (%rcx)
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LA,8,3                         ## @LA
	.comm	_LE,8,3                         ## @LE
	.comm	_object_id_ints_adjusted,4,2    ## @object_id_ints_adjusted
	.comm	_MAX_OBJECT_ID,8,3              ## @MAX_OBJECT_ID
	.comm	___have_weights,8,3             ## @__have_weights
	.comm	_Sum,8,3                        ## @Sum
	.no_dead_strip	_list_sum_x
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_sum_x
_list_sum_x:                            ; @list_sum_x
	.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
Lloh0:
	adrp	x20, _LA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LA@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _LE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _LE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, lo
	bl	_IF_LISTS_Z
	cbz	x0, LBB0_9
; %bb.1:
Lloh4:
	adrp	x22, _object_id_ints_adjusted@GOTPAGE
Lloh5:
	ldr	x22, [x22, _object_id_ints_adjusted@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	mov	w1, #0
	bl	_OARR_ENTRY
	mov	x1, x19
	bl	_object_id_compare
	tbz	w0, #31, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x8, [x22]
	ldr	x9, [x20]
	add	x8, x9, x8, lsl #3
	str	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, lo
	bl	_IF_LISTS_Z
	cbnz	x0, LBB0_2
	b	LBB0_9
LBB0_4:
	ldr	x8, [x20]
	ldr	x9, [x8]
Lloh6:
	adrp	x10, _MAX_OBJECT_ID@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MAX_OBJECT_ID@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	w0, #0, #0, ne
	b.ne	LBB0_9
; %bb.5:
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #3
	str	x8, [x20]
Lloh9:
	adrp	x9, ___have_weights@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___have_weights@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cbz	x9, LBB0_7
; %bb.6:
	ldur	x8, [x8, #-8]
	b	LBB0_8
LBB0_7:
	mov	w8, #1
LBB0_8:
Lloh12:
	adrp	x9, _Sum@GOTPAGE
Lloh13:
	ldr	x9, [x9, _Sum@GOTPAGEOFF]
	ldr	x10, [x9]
	add	x8, x10, x8
	str	x8, [x9]
LBB0_9:
	mov	w0, #0
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LA,8,3                         ; @LA
	.comm	_LE,8,3                         ; @LE
	.comm	_object_id_ints_adjusted,4,2    ; @object_id_ints_adjusted
	.comm	_MAX_OBJECT_ID,8,3              ; @MAX_OBJECT_ID
	.comm	___have_weights,8,3             ; @__have_weights
	.comm	_Sum,8,3                        ; @Sum
	.no_dead_strip	_list_sum_x
.subsections_via_symbols
