	.file	"extr_test_compression.c_test_int_array.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	test_int_array, @function
test_int_array:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR INT4OID[rip]
	call	array_compressor_alloc@PLT
	mov	rbp, rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, ebx
	add	ebx, 1
	call	Int32GetDatum@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	array_compressor_append@PLT
	cmp	ebx, 1015
	jne	.L2
	mov	rdi, rbp
	call	array_compressor_finish@PLT
	xor	edi, edi
	test	rax, rax
	mov	r12, rax
	setne	dil
	call	Assert@PLT
	mov	ebp, DWORD PTR INT4OID[rip]
	mov	rdi, r12
	call	PointerGetDatum@PLT
	mov	edi, eax
	mov	esi, ebp
	call	tsl_array_decompression_iterator_from_datum_forward@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	array_decompression_iterator_try_next_forward@PLT
	mov	QWORD PTR 4[rsp], rax
	mov	ebp, edx
	test	edx, edx
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR 8[rsp]
	xor	edi, edi
	test	edx, edx
	sete	dil
	call	Assert@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	DatumGetInt32@PLT
	mov	esi, ebp
	add	ebp, 1
	mov	edi, eax
	call	AssertInt64Eq@PLT
	mov	rdi, rbx
	call	array_decompression_iterator_try_next_forward@PLT
	mov	QWORD PTR 4[rsp], rax
	test	edx, edx
	je	.L4
.L3:
	mov	esi, 1015
	mov	edi, ebp
	call	AssertInt64Eq@PLT
	mov	r13d, DWORD PTR INT4OID[rip]
	mov	rdi, r12
	call	PointerGetDatum@PLT
	mov	edi, eax
	mov	esi, r13d
	call	tsl_array_decompression_iterator_from_datum_reverse@PLT
	mov	rbx, rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR 8[rsp]
	xor	edi, edi
	test	eax, eax
	sete	dil
	sub	ebp, 1
	call	Assert@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	DatumGetInt32@PLT
	mov	esi, ebp
	mov	edi, eax
	call	AssertInt64Eq@PLT
.L12:
	mov	rdi, rbx
	call	array_decompression_iterator_try_next_reverse@PLT
	mov	QWORD PTR 4[rsp], rax
	test	edx, edx
	je	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, ebp
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	AssertInt64Eq@PLT
.L7:
	.cfi_restore_state
	xor	ebp, ebp
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	test_int_array, .-test_int_array
	.comm	INT4OID,4,4
	.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_test_compression.c_test_int_array.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_int_array, %function
test_int_array:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r7, .L18
	ldr	r3, .L18+4
	sub	sp, sp, #20
	ldr	r0, [r7]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	array_compressor_alloc
	mov	r4, #0
	mov	r5, r0
	ldr	r6, .L18+8
.L2:
	mov	r0, r4
	bl	Int32GetDatum
	add	r4, r4, #1
	mov	r1, r0
	mov	r0, r5
	bl	array_compressor_append
	cmp	r4, r6
	bne	.L2
	mov	r0, r5
	bl	array_compressor_finish
	mov	r6, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	Assert
	mov	r0, r6
	bl	PointerGetDatum
	ldr	r1, [r7]
	bl	tsl_array_decompression_iterator_from_datum_forward
	mov	r1, r0
	mov	r5, r0
	mov	r0, sp
	bl	array_decompression_iterator_try_next_forward
	ldr	r4, [sp, #8]
	cmp	r4, #0
	bne	.L9
.L4:
	ldr	r0, [sp, #4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	Assert
	ldr	r0, [sp]
	bl	DatumGetInt32
	mov	r1, r4
	bl	AssertInt64Eq
	mov	r1, r5
	mov	r0, sp
	bl	array_decompression_iterator_try_next_forward
	ldr	r3, [sp, #8]
	add	r4, r4, #1
	cmp	r3, #0
	beq	.L4
.L3:
	ldr	r1, .L18+8
	mov	r0, r4
	bl	AssertInt64Eq
	mov	r0, r6
	bl	PointerGetDatum
	ldr	r1, [r7]
	bl	tsl_array_decompression_iterator_from_datum_reverse
	mov	r5, r0
	mov	r0, sp
	mov	r1, r5
	bl	array_decompression_iterator_try_next_reverse
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L5
.L6:
	ldr	r0, [sp, #4]
	sub	r4, r4, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	Assert
	ldr	r0, [sp]
	bl	DatumGetInt32
	mov	r1, r4
	bl	AssertInt64Eq
	mov	r1, r5
	mov	r0, sp
	bl	array_decompression_iterator_try_next_reverse
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L6
.L5:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	mov	r1, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	AssertInt64Eq
.L9:
	mov	r4, #0
	b	.L3
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	INT4OID
	.word	.LC0
	.word	1015
	.size	test_int_array, .-test_int_array
	.comm	INT4OID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
