	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _span
__span:                                 ## @_span
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	jg	LBB0_6
## %bb.1:
	movq	16(%rdi), %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx), %edx
	addl	%edx, 32(%rdi)
	movq	%rcx, 16(%rdi)
	movq	16(%rcx), %rdx
	movq	(%rdx), %rdx
	cltq
	subq	%rax, %rdx
	addq	8(%rcx), %rdx
	movq	%rdx, 24(%rdi)
	addl	(%rcx), %eax
	movl	%eax, (%rdi)
	movq	%rcx, %rdx
	testl	%eax, %eax
	jle	LBB0_2
	jmp	LBB0_6
LBB0_4:
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	cmpq	$0, 8(%rdi)
	je	LBB0_6
LBB0_7:
	popq	%rbp
	jmp	__adv_halt                      ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__span
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _span
__span:                                 ; @_span
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #0
	b.gt	LBB0_7
; %bb.1:
	ldr	x10, [x0, #16]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x10, #24]
	cbz	x9, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x10]
	ldr	w11, [x0, #32]
	add	w10, w11, w10
	str	w10, [x0, #32]
	ldp	x11, x10, [x9, #8]
	ldr	x10, [x10]
	sub	x10, x10, w8, sxtw
	add	x10, x10, x11
	stp	x9, x10, [x0, #16]
	ldr	w10, [x9]
	add	w8, w8, w10
	str	w8, [x0]
	mov	x10, x9
	cmp	w8, #1
	b.lt	LBB0_2
	b	LBB0_7
LBB0_4:
	tbnz	w8, #31, LBB0_6
; %bb.5:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
LBB0_6:
	b	__adv_halt
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__span
.subsections_via_symbols
