	.file	"extr_merge.c_merge_types.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"add_tdtba_cb added %d items\n"
.LC1:
	.string	"add_iitba_cb added %d items\n"
.LC2:
	.string	"add_tdtbr_cb added %d items\n"
.LC3:
	.string	"Couldn't remap all nodes\n"
	.text
	.p2align 4
	.type	merge_types, @function
merge_types:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR tdesc_layoutcmp[rip]
	mov	edi, DWORD PTR TDATA_LAYOUT_HASH_SIZE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rax, 8[rsp]
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR 32[rsi], rax
	mov	esi, DWORD PTR tdesc_layouthash[rip]
	mov	QWORD PTR 16[rsp], 0
	call	hash_new@PLT
	mov	esi, DWORD PTR merge_type_cb[rip]
	mov	rdx, rbp
	mov	rdi, r12
	mov	QWORD PTR 24[rbp], rax
	lea	rax, 16[rsp]
	mov	QWORD PTR 16[rbp], rax
	call	hash_iter@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR add_tdtba_cb[rip]
	mov	rdx, rbp
	call	hash_iter@PLT
	lea	rsi, .LC0[rip]
	mov	edi, 3
	mov	edx, eax
	call	debug@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	esi, DWORD PTR add_iitba_cb[rip]
	mov	rdx, rbp
	mov	rdi, QWORD PTR [rax]
	call	list_iter@PLT
	lea	rsi, .LC1[rip]
	mov	edi, 3
	mov	edx, eax
	call	debug@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, QWORD PTR [rax]
	call	list_count@PLT
	xor	edi, edi
	test	rax, rax
	je	.L13
.L2:
	call	assert@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR add_tdtbr_cb[rip]
	mov	rdx, rbp
	mov	rdi, QWORD PTR [rax]
	call	list_iter@PLT
	mov	edi, 3
	lea	rsi, .LC2[rip]
	mov	edx, eax
	call	debug@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR [rax]
	call	list_count@PLT
	test	rax, rax
	jne	.L14
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 0[rbp], rax
	je	.L15
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rbp]
	call	hash_count@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC3[rip]
	call	aborterr@PLT
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L1
.L15:
	mov	rdi, rbp
	call	redir_mstr_fwds@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	merge_types, .-merge_types
	.comm	tdesc_layouthash,4,4
	.comm	tdesc_layoutcmp,4,4
	.comm	merge_type_cb,4,4
	.comm	add_tdtbr_cb,4,4
	.comm	add_tdtba_cb,4,4
	.comm	add_iitba_cb,4,4
	.comm	TDATA_LAYOUT_HASH_SIZE,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_merge.c_merge_types.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"add_tdtba_cb added %d items\012\000"
	.align	2
.LC1:
	.ascii	"add_iitba_cb added %d items\012\000"
	.align	2
.LC2:
	.ascii	"add_tdtbr_cb added %d items\012\000"
	.align	2
.LC3:
	.ascii	"Couldn't remap all nodes\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge_types, %function
merge_types:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, #0
	sub	sp, sp, #16
	ldr	r3, .L16
	mov	r6, r0
	ldr	r2, .L16+4
	add	r0, sp, #4
	ldr	r1, .L16+8
	str	r0, [r4, #16]
	ldr	r0, [r3]
	ldr	r3, .L16+12
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	r5, [sp, #4]
	str	r5, [sp, #8]
	bl	hash_new
	ldr	r3, .L16+16
	add	r2, sp, #8
	ldr	r1, [r3]
	str	r0, [r4, #12]
	str	r2, [r4, #8]
	mov	r0, r6
	mov	r2, r4
	bl	hash_iter
	ldr	r3, .L16+20
	mov	r2, r4
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	hash_iter
	ldr	r1, .L16+24
	mov	r2, r0
	mov	r0, #3
	bl	debug
	ldr	r3, .L16+28
	ldr	r2, [r4, #16]
	ldr	r1, [r3]
	ldr	r0, [r2]
	mov	r2, r4
	bl	list_iter
	ldr	r1, .L16+32
	mov	r2, r0
	mov	r0, #3
	bl	debug
	ldr	r3, [r4, #16]
	ldr	r0, [r3]
	bl	list_count
	cmp	r0, r5
	movne	r0, r5
	beq	.L12
.L2:
	bl	assert
	ldr	r3, [r4, #8]
	ldr	r2, .L16+36
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, r4
	bl	list_iter
	ldr	r1, .L16+40
	mov	r2, r0
	mov	r0, #3
	bl	debug
	ldr	r3, [r4, #8]
	ldr	r0, [r3]
	bl	list_count
	cmp	r0, #0
	bne	.L13
	ldm	r4, {r2, r3}
	cmp	r2, r3
	beq	.L14
.L1:
	ldr	r3, .L16+12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r0, [r4, #12]
	bl	hash_count
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L2
.L13:
	ldr	r0, .L16+44
	bl	aborterr
	ldm	r4, {r2, r3}
	cmp	r2, r3
	bne	.L1
.L14:
	mov	r0, r4
	bl	redir_mstr_fwds
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	TDATA_LAYOUT_HASH_SIZE
	.word	tdesc_layoutcmp
	.word	tdesc_layouthash
	.word	.LC4
	.word	merge_type_cb
	.word	add_tdtba_cb
	.word	.LC0
	.word	add_iitba_cb
	.word	.LC1
	.word	add_tdtbr_cb
	.word	.LC2
	.word	.LC3
	.size	merge_types, .-merge_types
	.comm	tdesc_layouthash,4,4
	.comm	tdesc_layoutcmp,4,4
	.comm	merge_type_cb,4,4
	.comm	add_tdtbr_cb,4,4
	.comm	add_tdtba_cb,4,4
	.comm	add_iitba_cb,4,4
	.comm	TDATA_LAYOUT_HASH_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
