	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function foreach_list_cb
_foreach_list_cb:                       ## @foreach_list_cb
	.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
	subq	$40, %rsp
	.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_14
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r13d
	cmpq	$0, 16(%r14)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sdb_decode
	movq	%rax, %r12
	testq	%rax, %rax
	cmovneq	%rax, %rbx
	jmp	LBB0_5
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r12d
	leal	(%r15,%r13), %eax
	leal	(%r12,%rax), %edi
	addl	$3, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%r13, %rbx
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	movslq	%r12d, %rax
	leaq	(%rax,%r13), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movb	$47, (%r13,%rax)
	leaq	(%rax,%r13), %rdi
	incq	%rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	addl	%ebx, %r12d
	movslq	%r12d, %rax
	movb	$61, 1(%rax,%r13)
	movslq	%ebx, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rdi
	addq	$2, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_8:
	leal	(%r15,%r13), %edi
	addl	$2, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%r13, %rbx
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %rax
	movb	$61, (%r13,%rax)
	leaq	(%rax,%r13), %rdi
	incq	%rdi
LBB0_10:
	incl	%r15d
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movl	8(%r14), %edi
	movl	$1, %ebx
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_strbuf_append
	movq	%r12, %rdi
	callq	_free
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_15
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_12:
	movq	%r12, %rdi
LBB0_13:
	callq	_free
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_foreach_list_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function foreach_list_cb
_foreach_list_cb:                       ; @foreach_list_cb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x2
	mov	x22, x1
	ldr	x26, [x19]
	mov	x0, x1
	bl	_strlen
	mov	x23, x0
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, #0
	bl	_sdb_decode
	mov	x21, x0
	cmp	x0, #0
	csel	x20, x20, x0, eq
	b	LBB0_4
LBB0_3:
	mov	x21, #0
LBB0_4:
	mov	x0, x20
	bl	_strlen
	mov	x24, x0
	cbz	x26, LBB0_7
; %bb.5:
	mov	x0, x26
	bl	_strlen
	mov	x27, x0
	add	w8, w24, w23
	add	w8, w8, w0
	add	w0, w8, #3
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.6:
	mov	x25, x0
	mov	x1, x26
	mov	x2, x27
	bl	_memcpy
	sxtw	x26, w27
	add	x27, x25, x26
	mov	w8, #47
	mov	x0, x27
	strb	w8, [x0], #1
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	sxtw	x8, w23
	add	x9, x26, x8
	add	x9, x9, x25
	mov	w10, #61
	strb	w10, [x9, #1]
	add	x8, x27, x8
	add	x0, x8, #2
	b	LBB0_9
LBB0_7:
	add	w8, w24, w23
	add	w0, w8, #2
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.8:
	mov	x25, x0
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	add	x0, x25, w23, sxtw
	mov	w8, #61
	strb	w8, [x0], #1
LBB0_9:
	add	w2, w24, #1
	mov	x1, x20
	bl	_memcpy
	ldr	w0, [x19, #8]
	mov	w19, #1
	mov	x1, x25
	mov	w2, #1
	bl	_strbuf_append
	mov	x0, x21
	bl	_free
	mov	x0, x25
	bl	_free
	b	LBB0_11
LBB0_10:
	mov	x0, x21
	bl	_free
	mov	w19, #0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_foreach_list_cb
.subsections_via_symbols
