	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_dimensions
_init_dimensions:                       ## @init_dimensions
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %r13
	movl	(%r13), %eax
	movl	4(%r13), %edx
	movl	8(%r13), %r12d
	movl	12(%r13), %ecx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	addl	%edx, %eax
	movl	(%rdi), %r14d
	movl	4(%rdi), %r15d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	addl	%r12d, %ecx
	subl	%ecx, %r15d
	xorl	%edi, %edi
	subl	%eax, %r14d
	seta	%dil
	callq	_av_assert0
	movl	12(%r13), %eax
	addl	8(%r13), %eax
	xorl	%edi, %edi
	cmpl	4(%rbx), %eax
	setb	%dil
	callq	_av_assert0
	movl	8(%rbx), %edi
	testl	%edi, %edi
	jle	LBB0_9
## %bb.1:
	cmpl	$0, 12(%rbx)
	jle	LBB0_9
## %bb.2:
	cmpl	$0, 8(%r13)
	jne	LBB0_9
## %bb.3:
	cmpl	$0, 4(%r13)
	jne	LBB0_9
## %bb.4:
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, %r13
	movl	%r14d, %edi
	movl	$16, %esi
	callq	_FFALIGN
	cmpq	%rax, %r13
	jne	LBB0_9
## %bb.5:
	movl	12(%rbx), %edi
	movl	$16, %esi
	callq	_FFALIGN
	movq	%rax, %r13
	movl	%r15d, %edi
	movl	$16, %esi
	callq	_FFALIGN
	cmpq	%rax, %r13
	jne	LBB0_9
## %bb.6:
	movl	8(%rbx), %edx
	cmpl	%r14d, %edx
	jg	LBB0_9
## %bb.7:
	movl	12(%rbx), %r8d
	cmpl	%r15d, %r8d
	jle	LBB0_8
LBB0_9:
	movq	$0, 8(%rbx)
	movl	(%rbx), %r9d
	movl	4(%rbx), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_10:
	movq	32(%rbx), %rdx
	movl	%r9d, (%rdx)
	movl	%ecx, 4(%rdx)
	movl	%r14d, 8(%rdx)
	movl	%r15d, 12(%rdx)
	movl	%edi, 16(%rbx)
	movl	%eax, 20(%rbx)
	movl	%r12d, 24(%rbx)
	movl	%esi, 28(%rbx)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	(%rbx), %r9d
	movl	4(%rbx), %ecx
	movl	%r9d, %edi
	subl	%edx, %edi
	movl	%ecx, %esi
	subl	%r8d, %esi
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	movl	%edx, %r14d
	movl	%r8d, %r15d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_init_dimensions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_dimensions
_init_dimensions:                       ; @init_dimensions
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x22, [x0, #40]
	ldp	w25, w23, [x22]
	ldp	w24, w26, [x22, #8]
	ldp	w8, w9, [x0]
	add	w10, w26, w24
	sub	w20, w9, w10
	add	w9, w23, w25
	subs	w21, w8, w9
	cset	w0, hi
	bl	_av_assert0
	ldp	w8, w9, [x22, #8]
	ldr	w10, [x19, #4]
	add	w8, w9, w8
	cmp	w8, w10
	cset	w0, lo
	bl	_av_assert0
	ldr	w0, [x19, #8]
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	ldr	w8, [x22, #8]
	cbnz	w8, LBB0_8
; %bb.3:
	ldr	w8, [x22, #4]
	cbnz	w8, LBB0_8
; %bb.4:
	mov	w1, #16
	bl	_FFALIGN
	mov	x22, x0
	mov	x0, x21
	mov	w1, #16
	bl	_FFALIGN
	cmp	x22, x0
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [x19, #12]
	mov	w1, #16
	bl	_FFALIGN
	mov	x22, x0
	mov	x0, x20
	mov	w1, #16
	bl	_FFALIGN
	cmp	x22, x0
	b.ne	LBB0_8
; %bb.6:
	ldr	w10, [x19, #8]
	cmp	w10, w21
	b.gt	LBB0_8
; %bb.7:
	ldr	w11, [x19, #12]
	cmp	w11, w20
	b.le	LBB0_10
LBB0_8:
	str	xzr, [x19, #8]
	ldp	w8, w9, [x19]
LBB0_9:
	ldr	x10, [x19, #32]
	stp	w8, w9, [x10]
	stp	w21, w20, [x10, #8]
	stp	w25, w23, [x19, #16]
	stp	w24, w26, [x19, #24]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w23, #0
	mov	w24, #0
	ldp	w8, w9, [x19]
	sub	w25, w8, w10
	sub	w26, w9, w11
	mov	x21, x10
	mov	x20, x11
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_init_dimensions
.subsections_via_symbols
