	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function resize_neighboring_cons
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_resize_neighboring_cons
	.p2align	4, 0x90
_resize_neighboring_cons:               ## @resize_neighboring_cons
	.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
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%ecx, %eax
	imull	%edx, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	8(%r12), %r15
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	cvtsi2sd	%ebx, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	addsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
LBB0_2:
	cvtsi2sd	%r13d, %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_con_rect_size_in_orientation
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
LBB0_3:
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_percent_for_1px
	xorl	%ebx, %ebx
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	ja	LBB0_6
## %bb.4:
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_percent_for_1px
	movsd	-64(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	ucomisd	%xmm2, %xmm0
	ja	LBB0_6
## %bb.5:
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r12)
	movsd	%xmm2, (%r14)
	movq	%r15, %rdi
	callq	_con_fix_percent
	movl	$1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resize_neighboring_cons        ; -- Begin function resize_neighboring_cons
	.p2align	2
_resize_neighboring_cons:               ; @resize_neighboring_cons
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	mul	w8, w3, w2
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	x21, [x20, #8]
	cbz	w22, LBB0_2
; %bb.1:
	ldr	d0, [x20]
	scvtf	d1, w22
	mov	x8, #4636737291354636288
	fmov	d2, x8
	fdiv	d9, d1, d2
	fadd	d8, d9, d0
	b	LBB0_3
LBB0_2:
	scvtf	d8, w23
	mov	x0, x21
	bl	_con_rect_size_in_orientation
	scvtf	d0, x0
	fdiv	d9, d8, d0
	ldr	d0, [x20]
	fadd	d8, d0, d9
LBB0_3:
	ldr	d10, [x19]
	mov	x0, x20
	bl	_percent_for_1px
	fcmp	d8, d0
	b.mi	LBB0_5
; %bb.4:
	fsub	d9, d10, d9
	mov	x0, x19
	bl	_percent_for_1px
	fcmp	d9, d0
	b.pl	LBB0_6
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	str	d8, [x20]
	str	d9, [x19]
	mov	x0, x21
	bl	_con_fix_percent
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
