	.file	"extr__int_tool.c_intarray_add_elem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	intarray_add_elem
	.type	intarray_add_elem, @function
intarray_add_elem:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	CHECKARRVALID@PLT
	mov	rdi, rbp
	call	ARRNELEMS@PLT
	movsx	rbx, eax
	lea	edi, 1[rbx]
	call	new_intArrayType@PLT
	mov	rdi, rax
	mov	r12, rax
	call	ARRPTR@PLT
	mov	r14, rax
	test	ebx, ebx
	jle	.L2
	mov	rdi, rbp
	call	ARRPTR@PLT
	lea	edx, 0[0+rbx*4]
	mov	rdi, r14
	mov	rsi, rax
	call	memcpy@PLT
.L2:
	mov	DWORD PTR [r14+rbx*4], r13d
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	intarray_add_elem, .-intarray_add_elem
	.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__int_tool.c_intarray_add_elem.c"
	.text
	.align	2
	.global	intarray_add_elem
	.syntax unified
	.arm
	.fpu softvfp
	.type	intarray_add_elem, %function
intarray_add_elem:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r8, r1
	bl	CHECKARRVALID
	mov	r0, r6
	bl	ARRNELEMS
	mov	r4, r0
	add	r0, r0, #1
	bl	new_intArrayType
	mov	r7, r0
	bl	ARRPTR
	cmp	r4, #0
	mov	r5, r0
	lslle	r4, r4, #2
	ble	.L3
	mov	r0, r6
	bl	ARRPTR
	lsl	r4, r4, #2
	mov	r1, r0
	mov	r2, r4
	mov	r0, r5
	bl	memcpy
.L3:
	mov	r0, r7
	str	r8, [r5, r4]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	intarray_add_elem, .-intarray_add_elem
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
