	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcode_encode_list              ## -- Begin function bcode_encode_list
	.p2align	4, 0x90
_bcode_encode_list:                     ## @bcode_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r12
	xorl	%edi, %edi
	testl	%esi, %esi
	setg	%dil
	callq	_assert
	xorl	%r8d, %r8d
	testl	%r14d, %r14d
	jle	LBB0_3
## %bb.1:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	%eax, %eax
	incl	%r8d
	cmpl	%r14d, %eax
	jle	LBB0_2
LBB0_3:
	movb	$0, (%r13)
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.5:
	movl	%ebx, %r15d
	movl	$8, %r11d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movq	%r13, %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%r8d, %eax
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$-1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	notl	%edx
	andl	%edx, %edi
	movb	$8, %cl
	subb	%r11b, %cl
	shll	%cl, %edi
	addb	%r9b, %dil
	movb	%dil, (%rbx)
	subl	%eax, %r11d
	incq	%r10
	movl	%edi, %r9d
	cmpq	%r15, %r10
	je	LBB0_12
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%r12,%r10,4), %edi
	movl	%r8d, %eax
	subl	%r11d, %eax
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%edi, %esi
	movl	%eax, %ecx
	sarl	%cl, %esi
	movb	$8, %cl
	subb	%r11b, %cl
	shll	%cl, %esi
	addb	%sil, %r9b
	movb	%r9b, (%rbx)
	movb	$0, 1(%rbx)
	incq	%rbx
	movl	$8, %r11d
	cmpl	$9, %eax
	jl	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %esi
	leal	-8(%rsi), %eax
	movl	%edi, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movb	%dl, (%rbx)
	movb	$0, 1(%rbx)
	incq	%rbx
	cmpl	$16, %esi
	ja	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r9d, %r9d
	jmp	LBB0_11
LBB0_12:
	subl	%r13d, %ebx
	incl	%ebx
	movq	%r13, %rsi
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	callq	_bcode_iter_init
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_bcode_iter_get_val
	xorl	%edi, %edi
	cmpl	(%r12,%r14,4), %eax
	sete	%dil
	callq	_assert
	incq	%r14
	cmpq	%r14, %r15
	jne	LBB0_13
	jmp	LBB0_14
LBB0_4:
	leaq	-44(%rbp), %rdi
	movl	$1, %ebx
	movq	%r13, %rsi
	movl	%r14d, %edx
	movl	$1, %ecx
	movl	%r14d, %r8d
	callq	_bcode_iter_init
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcode_encode_list              ; -- Begin function bcode_encode_list
	.p2align	2
_bcode_encode_list:                     ; @bcode_encode_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w1, #0
	cset	w0, gt
	bl	_assert
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, #0
	mov	w9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w9, w9, #1
	add	w8, w8, #1
	cmp	w9, w20
	b.le	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	strb	wzr, [x21]
	cmp	w22, #0
	b.le	LBB0_14
; %bb.5:
	mov	w13, #0
	mov	x9, #0
	mov	w10, #8
	mov	w12, #-1
	mov	x11, x21
	mov	w16, #8
	mov	w23, w22
	mov	w0, #8
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x15, x8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	lsl	w17, w12, w15
	bic	w14, w14, w17
	sub	w17, w10, w16
	lsl	w14, w14, w17
	add	w13, w13, w14
	strb	w13, [x11]
	sub	w16, w16, w15
	add	x9, x9, #1
	cmp	x9, x23
	b.eq	LBB0_12
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w14, [x19, x9, lsl #2]
	subs	w15, w8, w16
	b.le	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	asr	w17, w14, w15
	sub	w16, w0, w16
	lsl	w16, w17, w16
	add	w13, w13, w16
	strb	w13, [x11]
	strb	wzr, [x11, #1]!
	cmp	w15, #9
	b.lt	LBB0_11
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x13, x15
	sub	w15, w15, #8
	asr	w16, w14, w15
	strb	w16, [x11]
	strb	wzr, [x11, #1]!
	cmp	w13, #16
	b.hi	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w13, #0
	mov	w16, #8
	b	LBB0_7
LBB0_12:
	sub	w8, w11, w21
	add	w22, w8, #1
	add	x0, sp, #12
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	x4, x20
	bl	_bcode_iter_init
	mov	x20, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	x1, x20
	bl	_bcode_iter_get_val
	ldr	w8, [x19, x20, lsl #2]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	add	x20, x20, #1
	cmp	x23, x20
	b.ne	LBB0_13
	b	LBB0_15
LBB0_14:
	mov	w22, #1
	add	x0, sp, #12
	mov	x1, x21
	mov	x2, x20
	mov	w3, #1
	mov	x4, x20
	bl	_bcode_iter_init
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
