	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res1_forward                   ## -- Begin function res1_forward
	.p2align	4, 0x90
_res1_forward:                          ## @res1_forward
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%r9d, %r9d
	jle	LBB0_13
## %bb.1:
	movq	%r8, %r11
	movq	16(%rbp), %r8
	movl	%r9d, %r10d
	cmpl	$1, %r9d
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	xorl	%r14d, %r14d
LBB0_9:
	testb	$1, %r10b
	je	LBB0_12
## %bb.10:
	cmpl	$0, (%r11,%rsi,4)
	je	LBB0_12
## %bb.11:
	movq	(%rcx,%rsi,8), %rax
	movslq	%r14d, %rsi
	incl	%r14d
	movq	%rax, (%rcx,%rsi,8)
LBB0_12:
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.14:
	movq	__encodepart@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__01forward                     ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	%r10d, %r9d
	andl	$-2, %r9d
	xorl	%esi, %esi
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rsi
	cmpq	%rsi, %r9
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r11,%rsi,4)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rcx,%rsi,8), %rbx
	movslq	%r14d, %rax
	incl	%r14d
	movq	%rbx, (%rcx,%rax,8)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%r11,%rsi,4)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx,%rsi,8), %rax
	movslq	%r14d, %rbx
	incl	%r14d
	movq	%rax, (%rcx,%rbx,8)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	__encodepart,4,2                ## @_encodepart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res1_forward                   ; -- Begin function res1_forward
	.p2align	2
_res1_forward:                          ; @res1_forward
	.cfi_startproc
; %bb.0:
	cmp	w5, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x9, #0
	mov	w8, #0
	mov	w10, w5
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x10, x9
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x4, x9, lsl #2]
	cbz	w11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x3, x9, lsl #3]
	str	x11, [x3, w8, sxtw #3]
	add	w8, w8, #1
	b	LBB0_2
LBB0_5:
	cbz	w8, LBB0_7
; %bb.6:
Lloh0:
	adrp	x9, __encodepart@GOTPAGE
Lloh1:
	ldr	x9, [x9, __encodepart@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x9]
	mov	x1, x2
	mov	x2, x3
	mov	x3, x8
	mov	x4, x6
	b	__01forward
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__encodepart,4,2                ; @_encodepart
.subsections_via_symbols
