	.file	"extr_cgen-dis.c_add_insn_to_hash_chain.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	add_insn_to_hash_chain, @function
add_insn_to_hash_chain:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	lea	r15, [r12+rbx*8]
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	count_decodable_bits@PLT
	mov	rbx, QWORD PTR [r15]
	test	rbx, rbx
	je	.L2
	mov	ebp, eax
	xor	r12d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR [rbx]
	mov	r12, rbx
	test	rax, rax
	je	.L13
	mov	rbx, rax
.L4:
	mov	rdi, QWORD PTR 8[rbx]
	call	count_decodable_bits@PLT
	cmp	ebp, eax
	jl	.L14
	mov	QWORD PTR 8[r13], r14
	mov	QWORD PTR 0[r13], rbx
	test	r12, r12
	jne	.L7
.L6:
	mov	QWORD PTR [r15], r13
	add	rsp, 8
	.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
.L13:
	.cfi_restore_state
	mov	QWORD PTR 8[r13], r14
	mov	QWORD PTR 0[r13], 0
.L7:
	mov	QWORD PTR [r12], r13
	add	rsp, 8
	.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
.L2:
	.cfi_restore_state
	mov	QWORD PTR 8[r13], r14
	mov	QWORD PTR 0[r13], 0
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	add_insn_to_hash_chain, .-add_insn_to_hash_chain
	.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_cgen-dis.c_add_insn_to_hash_chain.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_insn_to_hash_chain, %function
add_insn_to_hash_chain:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r2
	mov	r10, r3
	mov	r7, r0
	mov	r0, r1
	mov	r8, r1
	bl	count_decodable_bits
	ldr	r4, [r9, r10, lsl #2]
	cmp	r4, #0
	beq	.L2
	mov	r5, r0
	mov	r6, #0
	b	.L4
.L14:
	ldr	ip, [r4]
	mov	r6, r4
	cmp	ip, #0
	beq	.L13
	mov	r4, ip
.L4:
	ldr	r0, [r4, #4]
	bl	count_decodable_bits
	cmp	r5, r0
	blt	.L14
	cmp	r6, #0
	stm	r7, {r4, r8}
	bne	.L7
.L6:
	str	r7, [r9, r10, lsl #2]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	str	r8, [r7, #4]
	str	ip, [r7]
.L7:
	str	r7, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	stm	r7, {r4, r8}
	b	.L6
	.size	add_insn_to_hash_chain, .-add_insn_to_hash_chain
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
