	.file	"extr_dict.c_dictExpand.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dictExpand, @function
dictExpand:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	_dictNextPower@PLT
	cmp	QWORD PTR 0[r13], rbx
	jbe	.L2
	mov	eax, DWORD PTR DICT_ERR[rip]
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 32[r13]
	mov	esi, DWORD PTR 36[r13]
	mov	rbp, rax
	mov	rdi, rsp
	xor	r12d, r12d
	call	_dictInit@PLT
	lea	rax, -1[rbp]
	mov	esi, 8
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rbp
	mov	QWORD PTR 16[rsp], rax
	call	calloc@PLT
	cmp	QWORD PTR 8[r13], 0
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR 0[r13]
	mov	QWORD PTR [rsp], rax
	je	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	test	rax, rax
	je	.L5
	mov	rdx, QWORD PTR 24[r13]
	mov	rbx, QWORD PTR [rdx+r12*8]
	test	rbx, rbx
	je	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rbp, rbx
	mov	rdi, r13
	mov	rbx, QWORD PTR [rbx]
	mov	esi, DWORD PTR 8[rbp]
	call	dictHashKey@PLT
	mov	rdx, QWORD PTR 24[rsp]
	and	eax, DWORD PTR 16[rsp]
	lea	rax, [rdx+rax*8]
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR 0[rbp], rdx
	mov	QWORD PTR [rax], rbp
	mov	rax, QWORD PTR 0[r13]
	sub	rax, 1
	mov	QWORD PTR 0[r13], rax
	test	rbx, rbx
	jne	.L7
.L6:
	add	r12, 1
	cmp	QWORD PTR 8[r13], r12
	ja	.L4
.L5:
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	assert@PLT
	mov	rdi, QWORD PTR 24[r13]
	call	free@PLT
	mov	rax, QWORD PTR 32[rsp]
	movdqa	xmm0, XMMWORD PTR [rsp]
	movdqa	xmm1, XMMWORD PTR 16[rsp]
	mov	QWORD PTR 32[r13], rax
	mov	eax, DWORD PTR DICT_OK[rip]
	movups	XMMWORD PTR 0[r13], xmm0
	movups	XMMWORD PTR 16[r13], xmm1
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dictExpand, .-dictExpand
	.comm	DICT_OK,4,4
	.comm	DICT_ERR,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_dict.c_dictExpand.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dictExpand, %function
dictExpand:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r0
	mov	r4, r1
	ldr	r3, .L18
	sub	sp, sp, #36
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	_dictNextPower
	ldr	r3, [r6]
	cmp	r3, r4
	bls	.L2
	ldr	r3, .L18+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r5, r0
	ldr	r2, [r6, #16]
	ldr	r1, [r6, #20]
	add	r0, sp, #4
	bl	_dictInit
	sub	r3, r5, #1
	mov	r1, #4
	mov	r0, r5
	str	r3, [sp, #12]
	str	r5, [sp, #8]
	bl	calloc
	ldr	r1, [r6, #4]
	ldr	r3, [r6]
	cmp	r1, #0
	movne	r7, #0
	str	r0, [sp, #16]
	str	r3, [sp, #4]
	beq	.L5
.L4:
	cmp	r3, #0
	beq	.L5
	ldr	r2, [r6, #12]
	ldr	r4, [r2, r7, lsl #2]
	cmp	r4, #0
	beq	.L6
.L7:
	ldr	r1, [r4, #4]
	mov	r0, r6
	mov	r5, r4
	ldr	r4, [r4]
	bl	dictHashKey
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	and	r0, r0, r3
	ldr	r3, [r6]
	ldr	r1, [r2, r0, lsl #2]
	sub	r3, r3, #1
	cmp	r4, #0
	str	r1, [r5]
	str	r5, [r2, r0, lsl #2]
	str	r3, [r6]
	bne	.L7
	ldr	r1, [r6, #4]
.L6:
	add	r7, r7, #1
	cmp	r1, r7
	bhi	.L4
.L5:
	clz	r0, r3
	lsr	r0, r0, #5
	bl	assert
	ldr	r0, [r6, #12]
	bl	free
	add	ip, sp, #4
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	r6!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	r6, {r0, r1}
	ldr	r3, .L18+8
	ldr	r0, [r3]
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	DICT_ERR
	.word	DICT_OK
	.size	dictExpand, .-dictExpand
	.comm	DICT_OK,4,4
	.comm	DICT_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
