	.file	"extr_trees.c_gen_codes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"inconsistent bit counts"
	.text
	.p2align 4
	.type	gen_codes, @function
gen_codes:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	movsx	r14, esi
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	mov	ecx, DWORD PTR MAX_BITS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rdi, rsp
	lea	r9d, 1[rcx]
	movsx	r9, r9d
	sal	r9, 2
	lea	rax, 15[r9]
	mov	rsi, rax
	and	rax, -4096
	sub	rdi, rax
	and	rsi, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L22:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L22
.L3:
	and	esi, 4095
	sub	rsp, rsi
	test	rsi, rsi
	jne	.L23
.L4:
	mov	r15, rsp
	test	ecx, ecx
	jle	.L11
	lea	r8d, -1[rcx]
	xor	esi, esi
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L6:
	add	eax, DWORD PTR [rdx+rsi*4]
	mov	rdi, rsi
	add	eax, eax
	mov	DWORD PTR 4[r15+rsi*4], eax
	add	rsi, 1
	cmp	r8, rdi
	jne	.L6
.L5:
	add	eax, DWORD PTR -4[rdx+r9]
	mov	edx, 1
	xor	edi, edi
	sal	edx, cl
	lea	rsi, .LC0[rip]
	cmp	eax, edx
	sete	dil
	call	Assert@PLT
	mov	edi, r14d
	call	Tracev@PLT
	test	r14d, r14d
	js	.L1
	xor	r12d, r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r12, rax
.L9:
	mov	esi, DWORD PTR [rbx+r12*8]
	test	esi, esi
	je	.L8
	movsx	rax, esi
	lea	rax, [r15+rax*4]
	mov	r13d, DWORD PTR [rax]
	lea	edx, 1[r13]
	mov	edi, r13d
	mov	DWORD PTR [rax], edx
	call	bi_reverse@PLT
	mov	edi, r12d
	mov	DWORD PTR 4[rbx+r12*8], eax
	call	isgraph@PLT
	xor	edi, edi
	cmp	QWORD PTR static_ltree[rip], rbx
	mov	esi, r13d
	setne	dil
	call	Tracecv@PLT
.L8:
	lea	rax, 1[r12]
	cmp	r14, r12
	jne	.L12
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rsi], 0
	jmp	.L4
.L11:
	xor	eax, eax
	jmp	.L5
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gen_codes, .-gen_codes
	.comm	stderr,4,4
	.comm	static_ltree,8,8
	.comm	MAX_BITS,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_trees.c_gen_codes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"inconsistent bit counts\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_codes, %function
gen_codes:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	ldr	r3, .L17
	mov	r5, r0
	ldr	r7, [r3]
	mov	r4, r1
	add	r8, r7, #1
	lsl	r8, r8, #2
	add	r3, r8, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L17+4
	cmp	r7, #0
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r6, sp
	ble	.L8
	mov	lr, r6
	mov	ip, #0
	sub	r1, r8, #8
	add	r1, r2, r1
	sub	r0, r2, #4
.L3:
	ldr	r3, [r0, #4]!
	add	r3, ip, r3
	lsl	ip, r3, #1
	cmp	r0, r1
	str	ip, [lr, #4]!
	bne	.L3
.L2:
	mov	r0, #1
	add	r2, r2, r8
	ldr	r3, [r2, #-4]
	ldr	r1, .L17+8
	add	r3, ip, r3
	cmp	r3, r0, lsl r7
	movne	r0, #0
	bl	Assert
	mov	r0, r4
	bl	Tracev
	cmp	r4, #0
	blt	.L1
	add	r9, r5, #12
	ldr	r8, .L17+12
	add	r9, r9, r4, lsl #3
	add	r4, r5, #4
.L6:
	ldr	r1, [r4, #-4]
	cmp	r1, #0
	beq	.L5
	ldr	r7, [r6, r1, lsl #2]
	add	r3, r7, #1
	mov	r0, r7
	str	r3, [r6, r1, lsl #2]
	bl	bi_reverse
	ldr	r3, [r8]
	str	r0, [r4]
	subs	r0, r3, r5
	mov	r1, r7
	movne	r0, #1
	bl	Tracecv
.L5:
	add	r4, r4, #8
	cmp	r4, r9
	bne	.L6
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L8:
	mov	ip, #0
	b	.L2
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	MAX_BITS
	.word	.LC1
	.word	.LC0
	.word	static_ltree
	.size	gen_codes, .-gen_codes
	.comm	stderr,4,4
	.comm	static_ltree,4,4
	.comm	MAX_BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
