	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_gclist
_insert_gclist:                         ## @insert_gclist
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r13
	movq	16(%rdi), %rdi
	callq	_insert_gclist
	movq	%rax, 16(%r13)
	movq	8(%r13), %rdi
	callq	_insert_gclist
	movq	%rax, 8(%r13)
	movq	_glistlen@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_glisttotlen@GOTPCREL(%rip), %rax
	movl	%ebx, %r8d
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.3:
	leal	20(%rbx), %ecx
	movl	%ecx, (%rax)
	movq	_glist@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	leal	160(,%rbx,8), %esi
	callq	_xrealloc
	movq	%rax, (%r15)
	movl	(%r14), %r8d
LBB0_4:
	testl	%r8d, %r8d
	je	LBB0_5
## %bb.6:
	movq	(%r13), %rax
	movq	(%rax), %r9
	movq	_glist@GOTPCREL(%rip), %r15
	movq	(%r15), %r10
	movq	(%r10), %rax
	movq	(%rax), %rax
	xorl	%r12d, %r12d
	cmpq	(%rax), %r9
	jl	LBB0_28
## %bb.7:
	movslq	%ebx, %rax
	movq	-8(%r10,%rax,8), %rax
	movq	(%rax), %rax
	cmpq	(%rax), %r9
	jle	LBB0_9
## %bb.8:
	movl	%ebx, %r12d
	jmp	LBB0_28
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_46
LBB0_5:
	movq	_glist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, (%rax)
	movl	$1, (%r14)
	jmp	LBB0_46
LBB0_9:
	xorl	%edi, %edi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	leal	-1(%rsi), %ebx
	cmpl	%ebx, %edi
	jg	LBB0_25
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%rdi), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movslq	%esi, %rax
	movq	(%r10,%rax,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%r9d, %edx
	subl	%eax, %edx
	js	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	je	LBB0_13
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	1(%rsi), %edi
	cmpl	%ebx, %edi
	jle	LBB0_10
LBB0_25:
	movl	%esi, %r12d
	jmp	LBB0_28
LBB0_13:
	movl	%esi, %eax
	movl	%esi, %r12d
	sarl	$31, %r12d
	andl	%esi, %r12d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-8(%r10,%rax,8), %rdx
	decq	%rax
	movq	(%rdx), %rdx
	cmpq	(%rdx), %r9
	je	LBB0_14
## %bb.16:
	incl	%eax
	movl	%eax, %r12d
LBB0_17:
	cmpl	%r8d, %r12d
	jge	LBB0_28
## %bb.18:
	movslq	%r12d, %r12
	movq	(%r10,%r12,8), %rsi
	movq	(%rsi), %rax
	cmpq	(%rax), %r9
	jne	LBB0_28
## %bb.19:
	incq	%r12
	movq	%r12, %rax
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_completer_entries_eq
	testq	%rax, %rax
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movslq	(%r14), %r8
	cmpq	%r8, %r12
	jge	LBB0_22
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rdx
	movq	(%r15), %r10
	movq	(%r10,%r12,8), %rsi
	movq	(%rsi), %rdi
	leaq	1(%r12), %rax
	cmpq	(%rdi), %rdx
	je	LBB0_20
	jmp	LBB0_28
LBB0_26:
	movq	(%r15), %rax
	movq	-8(%rax,%r12,8), %r13
	jmp	LBB0_46
LBB0_22:
	movq	(%r15), %r10
LBB0_28:
	movl	%r12d, %edx
	leaq	(%r10,%rdx,8), %rax
	addq	$-8, %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rsi
	addl	%edx, %edi
	testl	%edi, %edi
	jle	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	%r8d, %edx
	jge	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	(%r13), %rdi
	movq	(%rdi), %rbx
	movq	(%rax,%rsi,8), %rdi
	movq	(%rdi), %rcx
	leaq	-1(%rsi), %rdi
	cmpq	(%rcx), %rbx
	jl	LBB0_29
LBB0_32:
	leaq	(%rdx,%rsi), %rdi
	cmpl	%edi, %r8d
	jle	LBB0_38
## %bb.33:
	movq	(%r13), %rax
	movq	(%rax), %rax
	movslq	%r8d, %rdi
	movslq	%edx, %rcx
	leaq	(%r10,%rcx,8), %rbx
	subq	%rcx, %rdi
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rsi,8), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	incq	%rsi
	cmpq	%rsi, %rdi
	jne	LBB0_34
## %bb.36:
	movl	%r8d, %edi
	jmp	LBB0_38
LBB0_37:
	addl	%esi, %edx
	movl	%edx, %edi
LBB0_38:
	movl	%r8d, %eax
	subl	%edi, %eax
	jle	LBB0_39
## %bb.40:
	movslq	%r8d, %rsi
	movslq	%edi, %rdx
	movq	%rdx, %rdi
	notq	%rdi
	addq	%rsi, %rdi
	andq	$3, %rax
	je	LBB0_43
## %bb.41:
	movq	%rsi, %rbx
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rbx), %rsi
	movq	-8(%r10,%rbx,8), %rcx
	movq	%rcx, (%r10,%rbx,8)
	movq	(%r15), %r10
	movq	%rsi, %rbx
	decq	%rax
	jne	LBB0_42
LBB0_43:
	cmpq	$3, %rdi
	jb	LBB0_45
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%r10,%rsi,8), %rax
	movq	%rax, (%r10,%rsi,8)
	movq	(%r15), %rax
	movq	-16(%rax,%rsi,8), %rcx
	movq	%rcx, -8(%rax,%rsi,8)
	movq	(%r15), %rax
	movq	-24(%rax,%rsi,8), %rcx
	movq	%rcx, -16(%rax,%rsi,8)
	movq	(%r15), %rax
	movq	-32(%rax,%rsi,8), %rcx
	movq	%rcx, -24(%rax,%rsi,8)
	leaq	-4(%rsi), %rax
	movq	(%r15), %r10
	movq	%rax, %rsi
	cmpq	%rdx, %rax
	jg	LBB0_44
	jmp	LBB0_45
LBB0_39:
	movslq	%edi, %rdx
LBB0_45:
	movq	%r13, (%r10,%rdx,8)
	incl	%r8d
	movl	%r8d, (%r14)
LBB0_46:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_glistlen,4,2                   ## @glistlen
	.comm	_glisttotlen,4,2                ## @glisttotlen
	.comm	_glist,8,3                      ## @glist
	.no_dead_strip	_insert_gclist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_gclist
_insert_gclist:                         ; @insert_gclist
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_42
; %bb.1:
	ldr	x0, [x19, #16]
	bl	_insert_gclist
	str	x0, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_insert_gclist
	str	x0, [x19, #8]
Lloh0:
	adrp	x20, _glistlen@GOTPAGE
Lloh1:
	ldr	x20, [x20, _glistlen@GOTPAGEOFF]
Lloh2:
	adrp	x9, _glisttotlen@GOTPAGE
Lloh3:
	ldr	x9, [x9, _glisttotlen@GOTPAGEOFF]
	ldr	w22, [x20]
	ldr	w10, [x9]
Lloh4:
	adrp	x21, _glist@GOTPAGE
Lloh5:
	ldr	x21, [x21, _glist@GOTPAGEOFF]
	mov	x8, x22
	cmp	w10, w22
	b.ne	LBB0_3
; %bb.2:
	add	w8, w22, #20
	str	w8, [x9]
	ldr	x0, [x21]
	lsl	w1, w8, #3
	bl	_xrealloc
	str	x0, [x21]
	ldr	w8, [x20]
LBB0_3:
	cbz	w8, LBB0_6
; %bb.4:
	ldr	x9, [x19]
	ldr	x10, [x9]
	ldr	x9, [x21]
	ldr	x11, [x9]
	ldr	x11, [x11]
	ldr	x11, [x11]
	cmp	x10, x11
	b.ge	LBB0_7
; %bb.5:
	mov	w22, #0
	b	LBB0_27
LBB0_6:
	ldr	x8, [x21]
	str	x19, [x8]
	mov	w8, #1
	b	LBB0_41
LBB0_7:
	sub	w11, w22, #1
	ldr	x11, [x9, w11, sxtw #3]
	ldr	x11, [x11]
	ldr	x11, [x11]
	cmp	x10, x11
	b.gt	LBB0_27
; %bb.8:
	mov	w12, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	sub	w22, w11, #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w12, w22
	b.gt	LBB0_26
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	w11, w22, w12
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	ldr	x13, [x9, w11, sxtw #3]
	ldr	x13, [x13]
	ldr	w13, [x13]
	subs	w13, w10, w13
	b.mi	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cbz	w13, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w12, w11, #1
	b	LBB0_10
LBB0_14:
	cmp	w11, #0
	csel	w22, w11, wzr, lt
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cmp	w11, #1
	b.lt	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	x12, x11, #1
	add	x11, x9, x11, lsl #3
	ldur	x11, [x11, #-8]
	ldr	x11, [x11]
	ldr	x13, [x11]
	mov	x11, x12
	cmp	x10, x13
	b.eq	LBB0_15
; %bb.17:
	add	w22, w12, #1
LBB0_18:
	cmp	w22, w8
	b.ge	LBB0_27
; %bb.19:
	sxtw	x11, w22
	ldr	x1, [x9, w22, sxtw #3]
	ldr	x12, [x1]
	ldr	x12, [x12]
	cmp	x10, x12
	b.ne	LBB0_26
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x11
	mov	x0, x19
	bl	_completer_entries_eq
	cbnz	x0, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x11, x22, #1
	ldrsw	x8, [x20]
	cmp	x11, x8
	b.ge	LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x9, [x19]
	ldr	x10, [x9]
	ldr	x9, [x21]
	add	x12, x9, x22, lsl #3
	ldr	x1, [x12, #8]
	ldr	x12, [x1]
	ldr	x12, [x12]
	cmp	x10, x12
	b.eq	LBB0_20
; %bb.23:
	add	x11, x22, #1
	b	LBB0_26
LBB0_24:
	ldr	x8, [x21]
	ldr	x19, [x8, x22, lsl #3]
	b	LBB0_42
LBB0_25:
	ldr	x9, [x21]
LBB0_26:
	mov	x22, x11
LBB0_27:
	mov	x10, #0
	mov	w12, w22
	mov	x11, x8
	sxtw	x11, w11
	sub	x14, x11, w22, sxtw
	mov	x15, x12
	sub	x16, x10, w22, sxtw #3
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x10, x15
	mov	x11, x14
	mov	x13, x16
	cmp	w10, #1
	b.lt	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	cmp	w12, w8
	b.ge	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x14, [x19]
	ldr	x17, [x14]
	sub	x15, x10, #1
	add	x14, x9, x10, lsl #3
	ldur	x14, [x14, #-8]
	ldr	x14, [x14]
	ldr	x0, [x14]
	add	x14, x11, #1
	add	x16, x13, #8
	cmp	x17, x0
	b.lt	LBB0_28
LBB0_31:
	cmp	w8, w10
	b.le	LBB0_36
; %bb.32:
	sub	x12, x9, x13
	ldr	x13, [x19]
	ldr	x13, [x13]
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x12]
	ldr	x14, [x14]
	ldr	x14, [x14]
	cmp	x13, x14
	b.lt	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	add	w10, w10, #1
	add	x12, x12, #8
	subs	x11, x11, #1
	b.ne	LBB0_33
; %bb.35:
	mov	x10, x8
LBB0_36:
	cmp	w8, w10
	b.le	LBB0_39
; %bb.37:
	mov	x11, x8
	sxtw	x11, w11
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	sxtw	x10, w10
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x9, x11, lsl #3
	sub	x12, x11, #1
	ldur	x11, [x9, #-8]
	str	x11, [x9]
	ldr	x9, [x21]
	mov	x11, x12
	cmp	x12, x10
	b.gt	LBB0_38
	b	LBB0_40
LBB0_39:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	sxtw	x10, w10
LBB0_40:
	str	x19, [x9, x10, lsl #3]
	add	w8, w8, #1
LBB0_41:
	str	w8, [x20]
LBB0_42:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_glistlen,4,2                   ; @glistlen
	.comm	_glisttotlen,4,2                ; @glisttotlen
	.comm	_glist,8,3                      ; @glist
	.no_dead_strip	_insert_gclist
.subsections_via_symbols
