	.file	"extr_chunk_constraint.c_chunk_constraints_add.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.text
	.p2align 4
	.type	chunk_constraints_add, @function
chunk_constraints_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 8[rdi]
	lea	rsi, 1[rax]
	call	chunk_constraints_expand@PLT
	mov	rax, QWORD PTR 8[rbx]
	lea	rdx, 1[rax]
	lea	r12, [rax+rax*2]
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rbx], rdx
	lea	r12, [rax+r12*8]
	mov	QWORD PTR 8[r12], r13
	lea	r9, 4[r12]
	mov	QWORD PTR 16[r12], r14
	test	r15, r15
	je	.L17
	mov	rsi, r15
	mov	rdi, r9
	call	namestrcpy@PLT
.L3:
	test	rbp, rbp
	je	.L4
	mov	rsi, rbp
	mov	rdi, r12
	call	namestrcpy@PLT
.L4:
	mov	rdi, r12
	call	is_dimension_constraint@PLT
	test	rax, rax
	je	.L1
	add	DWORD PTR [rbx], 1
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, r12
	mov	QWORD PTR 8[rsp], r9
	call	is_dimension_constraint@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	r8, r13
	mov	rcx, rbp
	mov	rsi, rax
	mov	rdx, r14
	mov	rdi, r9
	call	chunk_constraint_choose_name@PLT
	mov	rdi, r12
	call	is_dimension_constraint@PLT
	test	rax, rax
	je	.L3
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	namestrcpy@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	chunk_constraints_add, .-chunk_constraints_add
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_chunk_constraint.c_chunk_constraints_add.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	chunk_constraints_add, %function
chunk_constraints_add:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r6, r3
	mov	r7, r2
	mov	r8, r1
	ldr	r1, [r0, #4]
	sub	sp, sp, #8
	add	r1, r1, #1
	ldr	r9, [sp, #40]
	bl	chunk_constraints_expand
	ldmib	r5, {r3, r4}
	cmp	r6, #0
	add	r4, r4, r3, lsl #4
	add	r2, r3, #1
	str	r2, [r5, #4]
	add	r10, r4, #4
	str	r8, [r4, #8]
	str	r7, [r4, #12]
	beq	.L17
	mov	r1, r6
	mov	r0, r10
	bl	namestrcpy
.L3:
	cmp	r9, #0
	beq	.L4
	mov	r1, r9
	mov	r0, r4
	bl	namestrcpy
.L4:
	mov	r0, r4
	bl	is_dimension_constraint
	cmp	r0, #0
	mov	r0, r4
	ldrne	r3, [r5]
	addne	r3, r3, #1
	strne	r3, [r5]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	mov	r0, r4
	bl	is_dimension_constraint
	ldr	r3, [r4, #8]
	mov	r1, r0
	ldr	r2, [r4, #12]
	mov	r0, r10
	str	r3, [sp]
	mov	r3, r9
	bl	chunk_constraint_choose_name
	mov	r0, r4
	bl	is_dimension_constraint
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r1, .L18
	bl	namestrcpy
	b	.L3
.L19:
	.align	2
.L18:
	.word	.LC0
	.size	chunk_constraints_add, .-chunk_constraints_add
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
