	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_variables               ## -- Begin function remove_variables
	.p2align	4, 0x90
_remove_variables:                      ## @remove_variables
	.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	_allvariables@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_26
## %bb.1:
	movl	%edi, %r14d
	movq	_cur@GOTPCREL(%rip), %r12
	movq	%rcx, %r13
	movq	%rcx, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r13
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_26
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
	cmpl	%r14d, (%rbx)
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_20
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%rcx, %rdx
	movq	%rcx, %rsi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=3
	movq	(%rsi), %rdi
	movq	%rdi, (%rcx)
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=3
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	8(%rsi), %rbx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	cmpq	%rdx, %rsi
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	(%rdx), %rdx
	movq	%rdx, 8(%rax)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	%rcx, %rdx
	movq	%rcx, %rsi
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	(%rsi), %rdi
	movq	%rdi, (%rcx)
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	8(%rsi), %rbx
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	cmpq	%rdx, %rsi
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	(%rdx), %rdx
	movq	%rdx, (%rax)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rcx
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%r13), %rax
	cmpq	%rcx, %rbx
	movq	8(%rbx), %rcx
	cmoveq	%r15, %rax
	cmoveq	%rcx, %r13
	movq	%rcx, (%rax)
	movl	24(%rbx), %edi
	callq	_ECPGfree_type
	movq	16(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	(%r15), %rcx
	cmpq	%rcx, %r13
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	jne	LBB0_24
	jmp	LBB0_26
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	movq	%r13, %rcx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_allvariables,8,3               ## @allvariables
	.comm	_cur,8,3                        ## @cur
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_variables               ; -- Begin function remove_variables
	.p2align	2
_remove_variables:                      ; @remove_variables
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _allvariables@GOTPAGE
Lloh1:
	ldr	x21, [x21, _allvariables@GOTPAGEOFF]
	ldr	x9, [x21]
	cbz	x9, LBB0_25
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x22, _cur@GOTPAGE
Lloh3:
	ldr	x22, [x22, _cur@GOTPAGEOFF]
	mov	x23, x9
	mov	x20, x9
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x20
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x23, #8]
	cbz	x20, LBB0_25
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_18 Depth 3
	ldr	w8, [x20]
	cmp	w8, w19
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	cbnz	x8, LBB0_7
	b	LBB0_22
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_21
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_18 Depth 3
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x10, x9
	mov	x11, x9
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=3
	ldr	x12, [x11]
	str	x12, [x9]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=3
	ldr	x11, [x11]
	cbz	x11, LBB0_14
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x12, [x11, #8]
	cmp	x20, x12
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	cmp	x11, x10
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	x10, [x10]
	str	x10, [x8, #8]
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x10, x9
	mov	x11, x9
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=3
	ldr	x12, [x11]
	str	x12, [x9]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=3
	ldr	x11, [x11]
	cbz	x11, LBB0_6
LBB0_18:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x12, [x11, #8]
	cmp	x20, x12
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=3
	cmp	x11, x10
	b.ne	LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=3
	ldr	x10, [x10]
	str	x10, [x8]
	b	LBB0_17
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x21]
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	add	x10, x23, #8
	cmp	x20, x9
	csel	x9, x21, x10, eq
	csel	x23, x8, x23, eq
	str	x8, [x9]
	ldr	w0, [x20, #24]
	bl	_ECPGfree_type
	ldr	x0, [x20, #16]
	bl	_free
	mov	x0, x20
	bl	_free
	ldr	x9, [x21]
	cmp	x23, x9
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x23, LBB0_3
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x23
	mov	x9, x23
	cbnz	x20, LBB0_4
LBB0_25:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_allvariables,8,3               ; @allvariables
	.comm	_cur,8,3                        ; @cur
.subsections_via_symbols
