	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t4_sq_consume
_t4_sq_consume:                         ## @t4_sq_consume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	setg	%dil
	callq	_assert
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_2
## %bb.1:
	movq	$-1, 16(%rbx)
LBB0_2:
	incq	%rax
	xorl	%ecx, %ecx
	cmpq	24(%rbx), %rax
	cmovneq	%rax, %rcx
	cmpq	32(%rbx), %rcx
	setne	%al
	decl	(%rbx)
	movq	%rcx, 8(%rbx)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpl	$0, 48(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	40(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	24(%rbx), %rdx
	movq	%rcx, (%rax,%rdx,8)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_t4_sq_consume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t4_sq_consume
_t4_sq_consume:                         ; @t4_sq_consume
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x9, #-1
	str	x9, [x19, #16]
LBB0_2:
	ldr	w9, [x19]
	sub	w9, w9, #1
	str	w9, [x19]
	add	x10, x8, #1
	ldp	x11, x12, [x19, #24]
	cmp	x10, x11
	csinc	x8, xzr, x8, eq
	str	x8, [x19, #8]
	cmp	x8, x12
	ccmp	w9, #0, #4, eq
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #48]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #40]
	ldr	x10, [x19, #24]
	str	x8, [x9, x10, lsl #3]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_t4_sq_consume
.subsections_via_symbols
