	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gistProcessEmptyingQueue
_gistProcessEmptyingQueue:              ## @gistProcessEmptyingQueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movq	(%r14), %rdi
	movq	_NIL@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rdi
	jne	LBB0_1
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-44(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rdi
	cmpq	(%r13), %rdi
	je	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	callq	_linitial
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_list_delete_first
	movq	%rax, (%r14)
	movl	$0, (%rbx)
	movq	%r14, %rdi
	callq	_gistUnloadNodeBuffers
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_gistPopItupFromNodeBuffer
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	-44(%rbp), %esi
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	movq	%r12, %rdi
	callq	_gistProcessItup
	testq	%rax, %rax
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_MemoryContextReset
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.no_dead_strip	_gistProcessEmptyingQueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gistProcessEmptyingQueue
_gistProcessEmptyingQueue:              ; @gistProcessEmptyingQueue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	x0, [x20]
Lloh0:
	adrp	x22, _NIL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NIL@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_linitial
	mov	x21, x0
	ldr	x0, [x20]
	bl	_list_delete_first
	str	x0, [x20]
	str	wzr, [x21]
	mov	x0, x20
	bl	_gistUnloadNodeBuffers
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_gistPopItupFromNodeBuffer
	cbz	w0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w1, [sp, #12]
	ldp	w3, w2, [x21, #4]
	mov	x0, x19
	bl	_gistProcessItup
	cbnz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_MemoryContextReset
	b	LBB0_4
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.no_dead_strip	_gistProcessEmptyingQueue
.subsections_via_symbols
