	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g_box_consider_split
_g_box_consider_split:                  ## @g_box_consider_split
	.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	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	leal	1(%rsi), %eax
	shrl	$31, %eax
	addl	%esi, %eax
	incl	%eax
	sarl	%eax
	cmpl	%ecx, %eax
	jle	LBB0_2
## %bb.1:
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	cmpl	%r9d, %ecx
	cmovgel	%r9d, %ecx
LBB0_2:
	subl	%ecx, %esi
	movl	%ecx, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_Min
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_float4_div
	movq	%rax, %r13
	movq	_LIMIT_RATIO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jle	LBB0_12
## %bb.3:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setne	%al
	movq	56(%rbx,%rax,8), %rsi
	movq	72(%rbx,%rax,8), %rdi
	callq	_float8_mi
	movq	%rax, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_float8_mi
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_float8_div
	movq	%rax, %r12
	cmpl	$0, 4(%rbx)
	je	LBB0_4
LBB0_11:
	movl	$0, 4(%rbx)
	movq	%r13, 24(%rbx)
	movq	%r14, 32(%rbx)
	movq	%r12, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%rbx)
	movl	%r15d, 8(%rbx)
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpl	%r15d, 8(%rbx)
	jne	LBB0_8
## %bb.5:
	cmpq	16(%rbx), %r12
	jl	LBB0_11
## %bb.6:
	jne	LBB0_12
## %bb.7:
	cmpq	24(%rbx), %r13
	jg	LBB0_11
	jmp	LBB0_12
LBB0_8:
	movq	%r12, %rdi
	callq	_non_negative
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rdi
	callq	_non_negative
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jl	LBB0_11
## %bb.9:
	cmpq	32(%rbx), %r14
	jle	LBB0_12
## %bb.10:
	movq	%r12, %rdi
	callq	_non_negative
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rdi
	callq	_non_negative
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jle	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_LIMIT_RATIO,8,3                ## @LIMIT_RATIO
	.no_dead_strip	_g_box_consider_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g_box_consider_split
_g_box_consider_split:                  ; @g_box_consider_split
	.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, x4
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0]
	add	w9, w8, #1
	add	w10, w8, #2
	cmp	w9, #0
	csinc	w9, w10, w8, lt
	cmp	w8, #0
	cinc	w10, w8, lt
	asr	w10, w10, #1
	cmp	w10, w5
	csel	w10, w10, w5, lt
	cmp	w3, w9, asr #1
	csel	w0, w3, w10, ge
	sub	w1, w8, w0
	bl	_Min
	ldr	w1, [x21]
	bl	_float4_div
Lloh0:
	adrp	x8, _LIMIT_RATIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIMIT_RATIO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_3
; %bb.1:
	mov	x23, x0
	cmp	w20, #0
	mov	w8, #64
	mov	w9, #56
	csel	x8, x9, x8, eq
	mov	w9, #80
	mov	w10, #72
	csel	x9, x10, x9, eq
	ldr	x0, [x21, x9]
	ldr	x1, [x21, x8]
	bl	_float8_mi
	mov	x24, x0
	mov	x0, x19
	mov	x1, x22
	bl	_float8_mi
	mov	x1, x24
	bl	_float8_div
	mov	x25, x0
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_4
LBB0_2:
	stp	x25, x23, [x21, #16]
	stp	x19, x22, [x21, #40]
	str	x24, [x21, #32]
	stp	wzr, w20, [x21, #4]
LBB0_3:
	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_4:
	ldr	w8, [x21, #8]
	cmp	w8, w20
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x21, #16]
	cmp	x25, x8
	b.lt	LBB0_2
; %bb.6:
	b.ne	LBB0_3
; %bb.7:
	ldr	x8, [x21, #24]
	cmp	x23, x8
	b.gt	LBB0_2
	b	LBB0_3
LBB0_8:
	mov	x0, x25
	bl	_non_negative
	mov	x26, x0
	ldr	x0, [x21, #16]
	bl	_non_negative
	cmp	x26, x0
	b.lt	LBB0_2
; %bb.9:
	ldr	x8, [x21, #32]
	cmp	x24, x8
	b.le	LBB0_3
; %bb.10:
	mov	x0, x25
	bl	_non_negative
	mov	x26, x0
	ldr	x0, [x21, #16]
	bl	_non_negative
	cmp	x26, x0
	b.le	LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LIMIT_RATIO,8,3                ; @LIMIT_RATIO
	.no_dead_strip	_g_box_consider_split
.subsections_via_symbols
