	.file	"extr_gkc.c_gkc_compress.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gkc_compress, @function
gkc_compress:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14d, DWORD PTR 4[rdi]
	cmp	r14d, 1
	jle	.L1
	mov	r13, QWORD PTR 8[rdi]
	lea	rax, 8[rdi]
	mov	r12, rdi
	mov	QWORD PTR [rsp], rax
	mov	r15, QWORD PTR 0[r13]
	cmp	r15, rax
	je	.L1
	imul	r14d, DWORD PTR [rdi]
	lea	eax, [r14+r14]
	mov	DWORD PTR 12[rsp], eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r15
	call	list_to_tuple@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	list_to_tuple@PLT
	mov	rdi, r12
	mov	esi, DWORD PTR [rax]
	mov	r14, rax
	call	band@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r12
	mov	rbx, rax
	call	band@PLT
	cmp	rbx, rax
	jl	.L3
	mov	ecx, DWORD PTR [r14]
	mov	eax, DWORD PTR 4[r14]
	add	eax, DWORD PTR 4[rbp]
	add	ecx, eax
	cmp	ecx, DWORD PTR 12[rsp]
	jle	.L9
.L3:
	mov	r13, r15
	mov	r15, QWORD PTR [r15]
.L4:
	cmp	r15, QWORD PTR [rsp]
	jne	.L5
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L9:
	.cfi_restore_state
	mov	DWORD PTR 4[r14], eax
	mov	rdi, r15
	call	list_del@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	gkc_free@PLT
	mov	r15, QWORD PTR 0[r13]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	gkc_compress, .-gkc_compress
	.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_gkc.c_gkc_compress.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gkc_compress, %function
gkc_compress:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	fp, [r0, #4]
	cmp	fp, #1
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r10, r0
	ldr	r9, [r10, #8]!
	mov	r8, r0
	ldr	r4, [r9]
	cmp	r4, r10
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r3, [r0]
	mul	fp, r3, fp
	lsl	fp, fp, #1
	b	.L5
.L3:
	mov	r9, r4
	ldr	r4, [r4]
	cmp	r4, r10
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r0, r4
	bl	list_to_tuple
	mov	r6, r0
	mov	r0, r9
	bl	list_to_tuple
	mov	r5, r0
	mov	r0, r8
	ldr	r1, [r5]
	bl	band
	ldr	r1, [r6]
	mov	r7, r0
	mov	r0, r8
	bl	band
	cmp	r7, r0
	blt	.L3
	ldr	r3, [r6, #4]
	ldr	r1, [r5, #4]
	ldr	r2, [r5]
	add	r3, r3, r1
	add	r2, r3, r2
	cmp	r2, fp
	bgt	.L3
	mov	r0, r4
	str	r3, [r5, #4]
	bl	list_del
	mov	r1, r6
	mov	r0, r8
	bl	gkc_free
	ldr	r4, [r9]
	cmp	r4, r10
	bne	.L5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	gkc_compress, .-gkc_compress
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
