	.file	"extr_type.c_type_tuple.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	type_tuple
	.type	type_tuple, @function
type_tuple:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	sal	rsi, 3
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	hash_bytes@PLT
	lea	rdi, cached_tuple_types[rip]
	test	eax, eax
	mov	r14d, eax
	mov	eax, 1
	cmove	r14d, eax
	mov	esi, r14d
	call	map_get_from_uint64@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	mov	rcx, rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR [rcx]
	test	rcx, rcx
	je	.L3
.L7:
	mov	r13, QWORD PTR 8[rcx]
	cmp	QWORD PTR 0[r13], r12
	jne	.L4
	test	r12, r12
	je	.L1
	mov	rdx, QWORD PTR 8[r13]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR 0[rbp+rax*8]
	cmp	QWORD PTR [rdx+rax*8], rdi
	jne	.L4
	add	rax, 1
	cmp	r12, rax
	jne	.L6
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR TYPE_TUPLE[rip]
	call	type_alloc@PLT
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, rax
	mov	r13, rax
	call	type_complete_tuple@PLT
	mov	edi, 16
	call	xmalloc@PLT
	mov	esi, r14d
	lea	rdi, cached_tuple_types[rip]
	mov	QWORD PTR 8[rax], r13
	mov	rdx, rax
	mov	QWORD PTR [rax], rbx
	call	map_put_from_uint64@PLT
	mov	edi, DWORD PTR tuple_types[rip]
	mov	rsi, r13
	call	buf_push@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	type_tuple, .-type_tuple
	.comm	tuple_types,4,4
	.comm	cached_tuple_types,4,4
	.comm	TYPE_TUPLE,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_type.c_type_tuple.c"
	.text
	.align	2
	.global	type_tuple
	.syntax unified
	.arm
	.fpu softvfp
	.type	type_tuple, %function
type_tuple:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	lsl	r1, r1, #2
	mov	r8, r0
	bl	hash_bytes
	subs	r6, r0, #0
	moveq	r6, #1
	ldr	r0, .L18
	mov	r1, r6
	bl	map_get_from_uint64
	subs	r7, r0, #0
	beq	.L3
	mov	ip, r7
	b	.L7
.L4:
	ldr	ip, [ip]
	cmp	ip, #0
	beq	.L3
.L7:
	ldr	r5, [ip, #4]
	ldr	r3, [r5]
	cmp	r3, r4
	bne	.L4
	cmp	r4, #0
	beq	.L1
	mov	r3, #0
	ldr	lr, [r5, #4]
	sub	r2, r8, #4
	sub	lr, lr, #4
.L6:
	ldr	r0, [lr, #4]!
	ldr	r1, [r2, #4]!
	add	r3, r3, #1
	cmp	r0, r1
	bne	.L4
	cmp	r4, r3
	bne	.L6
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r3, .L18+4
	ldr	r0, [r3]
	bl	type_alloc
	mov	r2, r4
	mov	r1, r8
	mov	r5, r0
	bl	type_complete_tuple
	mov	r0, #8
	bl	xmalloc
	mov	r1, r6
	mov	r2, r0
	str	r5, [r0, #4]
	str	r7, [r0]
	ldr	r0, .L18
	bl	map_put_from_uint64
	ldr	r3, .L18+8
	mov	r1, r5
	ldr	r0, [r3]
	bl	buf_push
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	.align	2
.L18:
	.word	cached_tuple_types
	.word	TYPE_TUPLE
	.word	tuple_types
	.size	type_tuple, .-type_tuple
	.comm	tuple_types,4,4
	.comm	cached_tuple_types,4,4
	.comm	TYPE_TUPLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
