	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apoint
_apoint:                                ## @apoint
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%edi, %r15d
	movq	%rsi, %rdi
	callq	_findfile
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_assert
	movl	(%rbx), %eax
	cmpl	%r15d, %eax
	jg	LBB0_11
## %bb.1:
	leal	(%r15,%r15), %edi
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%edi, (%rbx)
	movq	_PERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$12, %esi
	callq	_newarray
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.4:
	xorl	%edx, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	movl	8(%rcx,%rdx), %edi
	movl	%edi, 8(%rax,%rdx)
	movq	(%rcx,%rdx), %rcx
	movq	%rcx, (%rax,%rdx)
	incq	%rsi
	movslq	4(%rbx), %rcx
	addq	$12, %rdx
	cmpq	%rcx, %rsi
	jl	LBB0_5
LBB0_6:
	movq	%rax, 8(%rbx)
	cmpl	(%rbx), %ecx
	jl	LBB0_8
	jmp	LBB0_11
LBB0_2:
	cmpl	$200, %r15d
	movl	$200, %eax
	cmovll	%eax, %edi
	movl	%edi, (%rbx)
	movq	_PERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$12, %esi
	callq	_newarray
	movq	%rax, 8(%rbx)
	movl	4(%rbx), %ecx
	cmpl	(%rbx), %ecx
	jge	LBB0_11
LBB0_8:
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,2), %rdx
	movl	$0, 8(%rax,%rdx,4)
	movq	$0, (%rax,%rdx,4)
	incq	%rcx
	movslq	(%rbx), %rax
	cmpq	%rax, %rcx
	jge	LBB0_11
## %bb.9:
	leaq	12(,%rdx,4), %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdx
	movl	$0, 8(%rdx,%rax)
	movq	$0, (%rdx,%rax)
	incq	%rcx
	movslq	(%rbx), %rdx
	addq	$12, %rax
	cmpq	%rdx, %rcx
	jl	LBB0_10
LBB0_11:
	movq	8(%rbx), %rax
	movslq	%r15d, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%r13d, (%rax,%rcx,4)
	movl	%r12d, 4(%rax,%rcx,4)
	addl	%r14d, 8(%rax,%rcx,4)
	cmpl	%r15d, 4(%rbx)
	jg	LBB0_13
## %bb.12:
	incl	%r15d
	movl	%r15d, 4(%rbx)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PERM,4,2                       ## @PERM
	.no_dead_strip	_apoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apoint
_apoint:                                ; @apoint
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x0
	mov	x0, x1
	bl	_findfile
	mov	x21, x0
	bl	_assert
	ldr	w8, [x21]
	cmp	w8, w19
	b.gt	LBB0_12
; %bb.1:
	lsl	w0, w19, #1
	cbz	w8, LBB0_7
; %bb.2:
	str	w0, [x21]
Lloh0:
	adrp	x8, _PERM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERM@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #12
	bl	_newarray
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x8, #0
	mov	x9, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21, #8]
	add	x11, x0, x8
	add	x10, x10, x8
	ldr	x12, [x10]
	ldr	w10, [x10, #8]
	str	w10, [x11, #8]
	str	x12, [x11]
	add	x9, x9, #1
	ldrsw	x10, [x21, #4]
	add	x8, x8, #12
	cmp	x9, x10
	b.lt	LBB0_4
; %bb.5:
	mov	x8, x10
LBB0_6:
	str	x0, [x21, #8]
	b	LBB0_8
LBB0_7:
	mov	w8, #200
	cmp	w19, #200
	csel	w0, w8, w0, lt
	str	w0, [x21]
Lloh3:
	adrp	x8, _PERM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERM@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #12
	bl	_newarray
	str	x0, [x21, #8]
	ldr	w8, [x21, #4]
LBB0_8:
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_12
; %bb.9:
	sxtw	x9, w8
	mov	w10, #12
	smaddl	x8, w8, w10, x0
	str	wzr, [x8, #8]
	str	xzr, [x8]
	add	x8, x9, #1
	ldrsw	x10, [x21]
	cmp	x8, x10
	b.ge	LBB0_12
; %bb.10:
	mov	w10, #12
	orr	x11, xzr, #0xc
	madd	x9, x9, x10, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21, #8]
	add	x10, x10, x9
	str	wzr, [x10, #8]
	str	xzr, [x10]
	add	x8, x8, #1
	ldrsw	x10, [x21]
	add	x9, x9, #12
	cmp	x8, x10
	b.lt	LBB0_11
LBB0_12:
	ldr	x8, [x21, #8]
	mov	w9, #12
	smaddl	x8, w19, w9, x8
	stp	w23, w22, [x8]
	ldr	w9, [x8, #8]
	add	w9, w9, w20
	str	w9, [x8, #8]
	ldr	w8, [x21, #4]
	cmp	w8, w19
	b.gt	LBB0_14
; %bb.13:
	add	w8, w19, #1
	str	w8, [x21, #4]
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PERM,4,2                       ; @PERM
	.no_dead_strip	_apoint
.subsections_via_symbols
