	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resizedivs                     ## -- Begin function resizedivs
	.p2align	4, 0x90
_resizedivs:                            ## @resizedivs
	.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
	movl	%edi, %r14d
	movq	_outfile@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %esi
	movl	$8, %edx
	movl	%r14d, %r8d
	callq	_xreallocarray
	movq	%rax, (%rbx)
	movq	_maxout@GOTPCREL(%rip), %r8
	movslq	(%r8), %rcx
	cmpl	%r14d, %ecx
	jge	LBB0_6
## %bb.1:
	movslq	%r14d, %rdx
	movq	$0, (%rax,%rcx,8)
	leaq	1(%rcx), %rax
	cmpq	%rdx, %rax
	je	LBB0_6
## %bb.2:
	movl	%ecx, %edi
	notl	%edi
	addl	%r14d, %edi
	movq	%rdx, %rsi
	subq	%rcx, %rsi
	addq	$-2, %rsi
	andq	$3, %rdi
	je	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	movq	$0, (%rcx,%rax,8)
	incq	%rax
	decq	%rdi
	jne	LBB0_3
LBB0_4:
	cmpq	$3, %rsi
	jb	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	movq	$0, (%rcx,%rax,8)
	movq	(%rbx), %rcx
	movq	$0, 8(%rcx,%rax,8)
	movq	(%rbx), %rcx
	movq	$0, 16(%rcx,%rax,8)
	movq	(%rbx), %rcx
	movq	$0, 24(%rcx,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %rdx
	jne	LBB0_5
LBB0_6:
	movl	%r14d, (%r8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_outfile,8,3                    ## @outfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many diverts %d"

	.comm	_maxout,4,2                     ## @maxout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resizedivs                     ; -- Begin function resizedivs
	.p2align	2
_resizedivs:                            ; @resizedivs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _outfile@GOTPAGE
Lloh1:
	ldr	x20, [x20, _outfile@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, x19
	mov	w2, #8
	mov	x4, x19
	bl	_xreallocarray
	str	x0, [x20]
Lloh4:
	adrp	x8, _maxout@GOTPAGE
Lloh5:
	ldr	x8, [x8, _maxout@GOTPAGEOFF]
	ldrsw	x10, [x8]
	cmp	w10, w19
	b.ge	LBB0_3
; %bb.1:
	sxtw	x9, w19
	str	xzr, [x0, x10, lsl #3]
	add	x10, x10, #1
	cmp	x10, x9
	b.eq	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x20]
	str	xzr, [x11, x10, lsl #3]
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_2
LBB0_3:
	str	w19, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_outfile,8,3                    ; @outfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many diverts %d"

	.comm	_maxout,4,2                     ; @maxout
.subsections_via_symbols
