	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t4_sq_produce
_t4_sq_produce:                         ## @t4_sq_produce
	.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
	incl	12(%rdi)
	movl	%esi, %edi
	movl	(%rbx), %eax
	incl	%eax
	xorl	%ecx, %ecx
	cmpl	4(%rbx), %eax
	cmovnel	%eax, %ecx
	movl	%ecx, (%rbx)
	shll	$4, %edi
	movq	_T4_EQ_ENTRY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DIV_ROUND_UP
	addl	8(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	_T4_SQ_NUM_SLOTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	4(%rbx), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_2
## %bb.1:
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	movl	%edx, 8(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_T4_EQ_ENTRY_SIZE,4,2           ## @T4_EQ_ENTRY_SIZE
	.comm	_T4_SQ_NUM_SLOTS,4,2            ## @T4_SQ_NUM_SLOTS
	.no_dead_strip	_t4_sq_produce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t4_sq_produce
_t4_sq_produce:                         ; @t4_sq_produce
	.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, #12]
	add	w8, w8, #1
	str	w8, [x0, #12]
	ldp	w8, w9, [x0]
	add	w10, w8, #1
	cmp	w10, w9
	csinc	w8, wzr, w8, eq
	str	w8, [x0]
	lsl	w0, w1, #4
Lloh0:
	adrp	x8, _T4_EQ_ENTRY_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _T4_EQ_ENTRY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_DIV_ROUND_UP
Lloh3:
	adrp	x8, _T4_SQ_NUM_SLOTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _T4_SQ_NUM_SLOTS@GOTPAGEOFF]
	ldp	w10, w9, [x19, #4]
Lloh5:
	ldr	w8, [x8]
	mul	w8, w8, w10
	add	w9, w9, w0
	cmp	w9, w8
	str	w9, [x19, #8]
	b.lt	LBB0_2
; %bb.1:
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	str	w8, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_T4_EQ_ENTRY_SIZE,4,2           ; @T4_EQ_ENTRY_SIZE
	.comm	_T4_SQ_NUM_SLOTS,4,2            ; @T4_SQ_NUM_SLOTS
	.no_dead_strip	_t4_sq_produce
.subsections_via_symbols
