	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iCode_encode_list              ## -- Begin function iCode_encode_list
	.p2align	4, 0x90
_iCode_encode_list:                     ## @iCode_encode_list
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	$8, -48(%rbp)
	leaq	-1(%rcx), %rax
	movq	%rax, -56(%rbp)
	movq	_MAX_LIST_LEN_EXP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	leaq	-56(%rbp), %rbx
	leaq	-48(%rbp), %rdx
	movl	%esi, %edi
	movq	%rbx, %rsi
	movl	%eax, %ecx
	callq	_iCode_write
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	leaq	-48(%rbp), %r9
	callq	_iCode_f
	movl	-56(%rbp), %ecx
	subl	%r14d, %ecx
	incl	%ecx
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	%r12d, %r8d
	callq	_iCode_iter_init
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_iCode_iter_val
	xorl	%edi, %edi
	cmpl	(%r13,%rbx,4), %eax
	sete	%dil
	callq	_assert
	movq	%r12, %rdi
	callq	_iCode_iter_next
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	leaq	-44(%rbp), %rdi
	callq	_iCode_iter_val
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	-56(%rbp), %eax
	subl	%r14d, %eax
	incl	%eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LIST_LEN_EXP,4,2           ## @MAX_LIST_LEN_EXP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iCode_encode_list              ; -- Begin function iCode_encode_list
	.p2align	2
_iCode_encode_list:                     ; @iCode_encode_list
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	w8, #8
	str	w8, [sp, #4]
	sub	x8, x3, #1
	str	x8, [sp, #8]
Lloh0:
	adrp	x8, _MAX_LIST_LEN_EXP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_LIST_LEN_EXP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w3, w9, w8
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x21
	bl	_iCode_write
	add	x4, sp, #8
	add	x5, sp, #4
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	bl	_iCode_f
	ldr	w8, [sp, #8]
	sub	w8, w8, w19
	add	w3, w8, #1
	mov	x0, sp
	mov	x1, x19
	mov	x2, x22
	mov	x4, x22
	bl	_iCode_iter_init
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, w21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	bl	_iCode_iter_val
	ldr	w8, [x20], #4
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	mov	x0, sp
	bl	_iCode_iter_next
	subs	x21, x21, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, sp
	bl	_iCode_iter_val
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [sp, #8]
	sub	w8, w8, w19
	add	w0, w8, #1
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LIST_LEN_EXP,4,2           ; @MAX_LIST_LEN_EXP
.subsections_via_symbols
