	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetConstraintStateAddItem
_SetConstraintStateAddItem:             ## @SetConstraintStateAddItem
	.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	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %edi
	cmpl	%edi, %eax
	jl	LBB0_2
## %bb.1:
	addl	%edi, %edi
	movl	$8, %esi
	callq	_Max
	movl	%eax, %r12d
	movq	_SetConstraintStateData@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_trigstates@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	movslq	%r12d, %r12
	leaq	(%rax,%r12,4), %rsi
	movq	%rbx, %rdi
	callq	_repalloc
	movq	%rax, %rbx
	movl	%r12d, 4(%rax)
	xorl	%edi, %edi
	cmpl	%r12d, (%rax)
	setl	%dil
	callq	_Assert
	movl	(%rbx), %eax
LBB0_2:
	movq	8(%rbx), %rcx
	cltq
	movl	%r15d, 4(%rcx,%rax,8)
	movl	%r14d, (%rcx,%rax,8)
	incl	%eax
	movl	%eax, (%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SetConstraintStateData,4,2     ## @SetConstraintStateData
	.comm	_trigstates,4,2                 ## @trigstates
	.no_dead_strip	_SetConstraintStateAddItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetConstraintStateAddItem
_SetConstraintStateAddItem:             ; @SetConstraintStateAddItem
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	lsl	w0, w9, #1
	mov	w1, #8
	bl	_Max
	mov	x22, x0
Lloh0:
	adrp	x8, _SetConstraintStateData@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SetConstraintStateData@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _trigstates@GOTPAGE
Lloh4:
	ldr	x8, [x8, _trigstates@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, w22, sxtw #2
	mov	x0, x21
	bl	_repalloc
	mov	x21, x0
	str	w22, [x0, #4]
	ldr	w8, [x0]
	cmp	w8, w22
	cset	w0, lt
	bl	_Assert
	ldr	w8, [x21]
LBB0_2:
	ldr	x9, [x21, #8]
	add	x9, x9, w8, sxtw #3
	stp	w19, w20, [x9]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SetConstraintStateData,4,2     ; @SetConstraintStateData
	.comm	_trigstates,4,2                 ; @trigstates
	.no_dead_strip	_SetConstraintStateAddItem
.subsections_via_symbols
