	.file	"extr_zap_leaf.c_zap_leaf_split.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zap_leaf_split
	.type	zap_leaf_split, @function
zap_leaf_split:
.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
	mov	r13, 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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	zap_leaf_phys@PLT
	mov	rdi, rbp
	mov	r14d, DWORD PTR [rax]
	call	zap_leaf_phys@PLT
	mov	rdi, rbp
	sal	DWORD PTR 4[rax]
	call	zap_leaf_phys@PLT
	mov	rdi, rbp
	add	DWORD PTR [rax], 1
	call	zap_leaf_phys@PLT
	mov	rdi, r13
	mov	ebx, DWORD PTR 4[rax]
	call	zap_leaf_phys@PLT
	mov	rdi, rbp
	or	ebx, 1
	mov	DWORD PTR 4[rax], ebx
	call	zap_leaf_phys@PLT
	mov	rdi, r13
	mov	rbx, rax
	call	zap_leaf_phys@PLT
	mov	edx, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	DWORD PTR [rax], edx
	call	ZAP_LEAF_HASH_NUMENTRIES@PLT
	mov	rdi, rbp
	mov	r15d, DWORD PTR CHAIN_END[rip]
	mov	ebx, eax
	call	zap_leaf_phys@PLT
	lea	edx, [rbx+rbx]
	mov	esi, r15d
	mov	edi, DWORD PTR 12[rax]
	call	zap_memset@PLT
	test	r12, r12
	jne	.L12
.L2:
	movabs	r12, -9223372036854775808
	mov	ecx, r14d
	xor	ebx, ebx
	shr	r12, cl
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdx, r13
	mov	esi, ebx
	mov	rdi, rbp
	call	zap_leaf_transfer_entry@PLT
.L4:
	add	ebx, 1
.L3:
	mov	rdi, rbp
	call	ZAP_LEAF_NUMCHUNKS@PLT
	cmp	eax, ebx
	jle	.L13
	mov	esi, ebx
	mov	rdi, rbp
	call	ZAP_LEAF_ENTRY@PLT
	mov	rcx, QWORD PTR ZAP_CHUNK_ENTRY[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L4
	test	QWORD PTR 8[rax], r12
	jne	.L14
	mov	esi, ebx
	mov	rdi, rbp
	call	zap_leaf_rehash_entry@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	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
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	zap_leaf_phys@PLT
	mov	edx, DWORD PTR ZLF_ENTRIES_CDSORTED[rip]
	or	DWORD PTR 8[rax], edx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	zap_leaf_split, .-zap_leaf_split
	.comm	ZLF_ENTRIES_CDSORTED,4,4
	.comm	ZAP_CHUNK_ENTRY,8,8
	.comm	CHAIN_END,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_zap_leaf.c_zap_leaf_split.c"
	.text
	.align	2
	.global	zap_leaf_split
	.syntax unified
	.arm
	.fpu softvfp
	.type	zap_leaf_split, %function
zap_leaf_split:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r1
	mov	r4, r0
	mov	r8, r2
	bl	zap_leaf_phys
	mov	r3, r0
	mov	r0, r4
	ldr	r5, [r3]
	bl	zap_leaf_phys
	mov	r3, r0
	ldr	r2, [r0, #4]
	mov	r0, r4
	lsl	r2, r2, #1
	str	r2, [r3, #4]
	bl	zap_leaf_phys
	mov	r3, r0
	ldr	r2, [r0]
	mov	r0, r4
	add	r2, r2, #1
	str	r2, [r3]
	bl	zap_leaf_phys
	mov	r3, r0
	mov	r0, r10
	ldr	r9, [r3, #4]
	bl	zap_leaf_phys
	orr	r9, r9, #1
	str	r9, [r0, #4]
	mov	r0, r4
	bl	zap_leaf_phys
	mov	r9, r0
	mov	r0, r10
	bl	zap_leaf_phys
	mov	r3, r0
	ldr	r2, [r9]
	mov	r0, r4
	str	r2, [r3]
	bl	zap_leaf_phys
	mov	r2, r0
	ldr	r3, .L15
	mov	r0, r4
	ldr	r9, [r2, #12]
	ldr	fp, [r3]
	bl	ZAP_LEAF_HASH_NUMENTRIES
	mov	r2, r0
	mov	r1, fp
	mov	r0, r9
	lsl	r2, r2, #1
	bl	zap_memset
	cmp	r8, #0
	bne	.L13
.L2:
	mov	r3, #-2147483648
	rsb	r8, r5, #32
	sub	r2, r5, #32
	lsl	r8, r3, r8
	mov	fp, #0
	ldr	r9, .L15+4
	orr	r8, r8, r3, lsr r2
	lsr	r5, r3, r5
	b	.L3
.L14:
	mov	r2, r10
	mov	r1, fp
	mov	r0, r4
	bl	zap_leaf_transfer_entry
.L4:
	add	fp, fp, #1
.L3:
	mov	r0, r4
	bl	ZAP_LEAF_NUMCHUNKS
	cmp	r0, fp
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r1, fp
	mov	r0, r4
	bl	ZAP_LEAF_ENTRY
	ldr	r3, [r9]
	ldr	r2, [r0]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [r0, #12]
	ldr	r2, [r0, #8]
	and	r7, r5, r3
	and	r6, r8, r2
	orrs	r3, r6, r7
	bne	.L14
	mov	r1, fp
	mov	r0, r4
	bl	zap_leaf_rehash_entry
	b	.L4
.L13:
	mov	r0, r4
	bl	zap_leaf_phys
	ldr	r2, .L15+8
	ldr	r3, [r0, #8]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r0, #8]
	b	.L2
.L16:
	.align	2
.L15:
	.word	CHAIN_END
	.word	ZAP_CHUNK_ENTRY
	.word	ZLF_ENTRIES_CDSORTED
	.size	zap_leaf_split, .-zap_leaf_split
	.comm	ZLF_ENTRIES_CDSORTED,4,4
	.comm	ZAP_CHUNK_ENTRY,4,4
	.comm	CHAIN_END,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
