	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function consume
_consume:                               ## @consume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	16(%rdi), %rax
	addq	$16, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-16(%rax), %rcx
	cmpq	%rcx, %rsi
	jb	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rcx, (%rdi)
	decl	8(%rdi)
	movq	%rax, 16(%rdi)
	addq	$16, %rax
	subq	%rcx, %rsi
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	subq	%rsi, %rcx
	movq	%rcx, -16(%rax)
	leaq	(,%rsi,4), %rcx
	addq	%rcx, -8(%rax)
	addq	%rsi, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_consume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function consume
_consume:                               ; @consume
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	ldr	x8, [x0, #16]
	add	x8, x8, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x8, #-16]
	subs	x9, x1, x10
	b.lo	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x0]
	add	x10, x11, x10
	str	x10, [x0]
	str	x8, [x0, #16]
	ldr	w10, [x0, #8]
	sub	w10, w10, #1
	str	w10, [x0, #8]
	add	x8, x8, #16
	mov	x1, x9
	cbnz	x9, LBB0_2
LBB0_4:
	ret
LBB0_5:
	sub	x9, x10, x1
	ldur	x10, [x8, #-8]
	add	x10, x10, x1, lsl #2
	stp	x9, x10, [x8, #-16]
	ldr	x8, [x0]
	add	x8, x8, x1
	str	x8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_consume
.subsections_via_symbols
