	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tw_shvar_next                  ## -- Begin function tw_shvar_next
	.p2align	4, 0x90
_tw_shvar_next:                         ## @tw_shvar_next
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_USE
	movq	%rbx, %rdi
	callq	_USE
	movq	_tw_vptr@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_Strbuf_append
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_5 Depth 2
	movq	16(%rbx), %rax
	movq	%rbx, %rcx
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %rbx
	movq	24(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rcx), %rbx
	cmpq	%rcx, 16(%rbx)
	movq	%rbx, %rcx
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_3
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_7:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, (%r15)
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tw_vptr,8,3                    ## @tw_vptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tw_shvar_next                  ; -- Begin function tw_shvar_next
	.p2align	2
_tw_shvar_next:                         ; @tw_shvar_next
	.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	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_USE
	mov	x0, x20
	bl	_USE
Lloh0:
	adrp	x20, _tw_vptr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tw_vptr@GOTPAGEOFF]
	ldr	x21, [x20]
	cbz	x21, LBB0_7
; %bb.1:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_Strbuf_append
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x8, [x21, #16]
	mov	x9, x21
	cbz	x8, LBB0_4
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x21, x8
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_3
	b	LBB0_5
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x21, [x9, #8]
	ldr	x8, [x21, #16]
	cmp	x8, x9
	mov	x9, x21
	b.eq	LBB0_4
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_2
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_10
LBB0_8:
	mov	x21, #0
LBB0_9:
	str	x21, [x20]
	mov	w0, #1
LBB0_10:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tw_vptr,8,3                    ; @tw_vptr
.subsections_via_symbols
