	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_rec
_count_rec:                             ## @count_rec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	testl	%esi, %esi
	jle	LBB0_1
## %bb.5:
	movl	%esi, %r15d
	incl	%r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %eax
	incl	%eax
	movl	%eax, (%r14)
	movq	16(%rbx), %rbx
	decl	%r15d
	cmpl	$2, %r15d
	jb	LBB0_2
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%r15), %r12d
	incl	8(%r14)
	movq	32(%rbx), %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_count_rec
	movq	8(%rbx), %rax
	cmpq	(%rbx), %rax
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	(%r14)
	movq	24(%rbx), %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_count_rec
	jmp	LBB0_8
LBB0_1:
	movl	(%r14), %eax
LBB0_2:
	incl	4(%r14)
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	movq	(%rbx), %rcx
	cmpq	8(%rbx), %rcx
	jle	LBB0_4
## %bb.3:
	addl	$2, %eax
	movl	%eax, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_count_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_rec
_count_rec:                             ; @count_rec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x0
	cmp	w1, #0
	b.le	LBB0_5
; %bb.1:
	add	w22, w1, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x20, [x20, #16]
	sub	w22, w22, #1
	cmp	w22, #2
	b.lo	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w22, #2
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldr	x0, [x20, #32]
	mov	x1, x21
	mov	x2, x19
	bl	_count_rec
	ldp	x9, x8, [x20]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x0, [x20, #24]
	mov	x1, x21
	mov	x2, x19
	bl	_count_rec
	b	LBB0_2
LBB0_5:
	ldr	w8, [x19]
LBB0_6:
	ldr	w9, [x19, #4]
	add	w9, w9, #1
	add	w10, w8, #1
	stp	w10, w9, [x19]
	ldp	x9, x10, [x20]
	cmp	x9, x10
	b.le	LBB0_8
; %bb.7:
	add	w8, w8, #2
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_count_rec
.subsections_via_symbols
