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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res1_class                     ; -- Begin function res1_class
	.p2align	2
_res1_class:                            ; @res1_class
	.cfi_startproc
; %bb.0:
	cmp	w4, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x9, #0
	mov	w8, #0
	mov	w10, w4
	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, [x3, x9, lsl #2]
	cbz	w11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x2, x9, lsl #3]
	str	x11, [x2, w8, sxtw #3]
	add	w8, w8, #1
	b	LBB0_2
LBB0_5:
	cbz	w8, LBB0_7
; %bb.6:
	mov	x3, x8
	b	__01class
LBB0_7:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
