	.file	"extr_nodeHash.c_ExecHashTableDetachBatch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ExecHashTableDetachBatch
	.type	ExecHashTableDetachBatch, @function
ExecHashTableDetachBatch:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 24[rdi], 0
	je	.L12
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR [rdi]
	mov	rbx, rdi
	test	eax, eax
	jns	.L16
	pop	rbx
	.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
.L16:
	.cfi_restore_state
	movsx	rbp, eax
	mov	rax, QWORD PTR 16[rdi]
	sal	rbp, 4
	add	rax, rbp
	mov	edi, DWORD PTR 4[rax]
	mov	r12, QWORD PTR 8[rax]
	call	sts_end_parallel_scan@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rax+rbp]
	lea	rbp, 16[r12]
	call	sts_end_parallel_scan@PLT
	mov	rdi, rbp
	call	BarrierArriveAndDetach@PLT
	test	rax, rax
	jne	.L17
.L4:
	movsx	rdx, DWORD PTR 4[rbx]
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, [rax+rdx*4]
	call	Max@PLT
	mov	DWORD PTR [rbx], -1
	mov	DWORD PTR 8[rbx], eax
	pop	rbx
	.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
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rdi, rbp
	call	BarrierPhase@PLT
	xor	edi, edi
	cmp	QWORD PTR PHJ_BATCH_DONE[rip], rax
	sete	dil
	call	Assert@PLT
	mov	ebp, DWORD PTR 12[r12]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR 12[r12]
	mov	edi, DWORD PTR 12[rbx]
	call	dsa_get_address@PLT
	mov	esi, DWORD PTR 12[r12]
	mov	edi, DWORD PTR 12[rbx]
	mov	ebp, DWORD PTR [rax]
	call	dsa_free@PLT
	mov	DWORD PTR 12[r12], ebp
.L5:
	mov	edi, ebp
	call	DsaPointerIsValid@PLT
	test	rax, rax
	jne	.L6
	mov	edi, DWORD PTR 8[r12]
	call	DsaPointerIsValid@PLT
	test	rax, rax
	je	.L4
	mov	esi, DWORD PTR 8[r12]
	mov	edi, DWORD PTR 12[rbx]
	call	dsa_free@PLT
	mov	eax, DWORD PTR InvalidDsaPointer[rip]
	mov	DWORD PTR 8[r12], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ExecHashTableDetachBatch, .-ExecHashTableDetachBatch
	.comm	PHJ_BATCH_DONE,8,8
	.comm	InvalidDsaPointer,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_nodeHash.c_ExecHashTableDetachBatch.c"
	.text
	.align	2
	.global	ExecHashTableDetachBatch
	.syntax unified
	.arm
	.fpu softvfp
	.type	ExecHashTableDetachBatch, %function
ExecHashTableDetachBatch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #20]
	cmp	r3, #0
	bxeq	lr
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r4, r0
	poplt	{r4, r5, r6, r7, r8, pc}
	ldr	r2, [r0, #16]
	add	r3, r3, r3, lsl #1
	add	r2, r2, r3, lsl #2
	ldr	r0, [r2, #4]
	ldr	r5, [r2, #8]
	lsl	r6, r3, #2
	bl	sts_end_parallel_scan
	ldr	r3, [r4, #16]
	add	r7, r5, #12
	ldr	r0, [r3, r6]
	bl	sts_end_parallel_scan
	mov	r0, r7
	bl	BarrierArriveAndDetach
	cmp	r0, #0
	bne	.L19
.L4:
	ldr	r3, [r5]
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	add	r1, r3, r1, lsl #2
	bl	Max
	mvn	r3, #0
	str	r0, [r4, #8]
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	mov	r0, r7
	bl	BarrierPhase
	ldr	r3, .L20
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	Assert
	ldr	r6, [r5, #8]
	b	.L5
.L6:
	ldr	r1, [r5, #8]
	ldr	r0, [r4, #12]
	bl	dsa_get_address
	ldr	r6, [r0]
	ldr	r1, [r5, #8]
	ldr	r0, [r4, #12]
	bl	dsa_free
	str	r6, [r5, #8]
.L5:
	mov	r0, r6
	bl	DsaPointerIsValid
	cmp	r0, #0
	bne	.L6
	ldr	r0, [r5, #4]
	bl	DsaPointerIsValid
	cmp	r0, #0
	beq	.L4
	ldr	r1, [r5, #4]
	ldr	r0, [r4, #12]
	bl	dsa_free
	ldr	r3, .L20+4
	ldr	r3, [r3]
	str	r3, [r5, #4]
	b	.L4
.L21:
	.align	2
.L20:
	.word	PHJ_BATCH_DONE
	.word	InvalidDsaPointer
	.size	ExecHashTableDetachBatch, .-ExecHashTableDetachBatch
	.comm	PHJ_BATCH_DONE,4,4
	.comm	InvalidDsaPointer,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
