	.file	"extr_picomodel.c_PicoAddVertexCombinationToHashTable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	PicoAddVertexCombinationToHashTable
	.type	PicoAddVertexCombinationToHashTable, @function
PicoAddVertexCombinationToHashTable:
.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	DWORD PTR 8[rsp], r9d
	test	rdi, rdi
	je	.L4
	mov	rbp, rsi
	test	rsi, rsi
	je	.L4
	test	rdx, rdx
	mov	r14, rdx
	mov	r13, rcx
	sete	dl
	test	rcx, rcx
	sete	al
	or	dl, al
	jne	.L4
	mov	r15, r8
	test	r8, r8
	je	.L4
	mov	rbx, rdi
	mov	edi, 40
	call	_pico_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	PicoVertexCoordGenerateHash@PLT
	mov	esi, DWORD PTR 32[r12]
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], eax
	call	_pico_copy_vec@PLT
	mov	esi, DWORD PTR 28[r12]
	mov	rdi, r14
	call	_pico_copy_vec@PLT
	mov	esi, DWORD PTR 24[r12]
	mov	rdi, r13
	call	_pico_copy_vec2@PLT
	mov	esi, DWORD PTR 20[r12]
	mov	rdi, r15
	call	_pico_copy_color@PLT
	mov	r15d, DWORD PTR 12[rsp]
	mov	ecx, DWORD PTR 8[rsp]
	mov	QWORD PTR 8[r12], 0
	lea	rax, [rbx+r15*8]
	mov	DWORD PTR 16[r12], ecx
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR [r12], rdx
	mov	QWORD PTR [rax], r12
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L4:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	PicoAddVertexCombinationToHashTable, .-PicoAddVertexCombinationToHashTable
	.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_picomodel.c_PicoAddVertexCombinationToHashTable.c"
	.text
	.align	2
	.global	PicoAddVertexCombinationToHashTable
	.syntax unified
	.arm
	.fpu softvfp
	.type	PicoAddVertexCombinationToHashTable, %function
PicoAddVertexCombinationToHashTable:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	clz	r4, r1
	cmp	r0, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r4, #0
	movne	r4, #0
	ldr	r7, [sp, #40]
	bne	.L1
	clz	ip, r3
	cmp	r2, #0
	lsr	ip, ip, #5
	moveq	ip, #1
	cmp	r7, #0
	movne	r5, ip
	moveq	r5, #1
	cmp	r5, #0
	mov	r9, r2
	mov	r8, r3
	bne	.L1
	mov	r6, r0
	mov	r0, #28
	mov	r10, r1
	bl	_pico_alloc
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r10
	bl	PicoVertexCoordGenerateHash
	mov	fp, r0
	ldr	r1, [r4, #24]
	mov	r0, r10
	bl	_pico_copy_vec
	ldr	r1, [r4, #20]
	mov	r0, r9
	bl	_pico_copy_vec
	ldr	r1, [r4, #16]
	mov	r0, r8
	bl	_pico_copy_vec2
	mov	r0, r7
	ldr	r1, [r4, #12]
	bl	_pico_copy_color
	ldr	r3, [r6, fp, lsl #2]
	ldr	r2, [sp, #44]
	stm	r4, {r3, r5}
	str	r2, [r4, #8]
	str	r4, [r6, fp, lsl #2]
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	PicoAddVertexCombinationToHashTable, .-PicoAddVertexCombinationToHashTable
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
