	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function AABBExtendByPoint
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_AABBExtendByPoint:                     ## @AABBExtendByPoint
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	movq	(%rdi), %rax
	subq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_fabs
	movq	8(%r15), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jle	LBB0_1
## %bb.2:
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.4:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	testq	%rbx, %rbx
	jle	LBB0_6
## %bb.5:
	movq	%rdi, %rsi
	subq	%rdx, %rsi
	addq	%rdi, %rbx
	jmp	LBB0_7
LBB0_1:
	movq	(%r15), %rax
	jmp	LBB0_8
LBB0_3:
	movq	(%r14), %rbx
	movq	(%r15), %rax
	movq	%rbx, %rsi
	jmp	LBB0_7
LBB0_6:
	addq	%rdi, %rdx
	movq	%rbx, %rsi
	addq	%rdi, %rsi
	movq	%rdx, %rbx
LBB0_7:
	addq	%rbx, %rsi
	cvtsi2ss	%rsi, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %rdx
	movq	%rdx, (%rax)
	subq	%rdx, %rbx
	movq	%rbx, (%rcx)
LBB0_8:
	movq	8(%r14), %rbx
	subq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_fabs
	movq	8(%r15), %rcx
	movq	8(%rcx), %rdx
	cmpq	%rdx, %rax
	jle	LBB0_9
## %bb.10:
	testq	%rdx, %rdx
	js	LBB0_14
## %bb.11:
	movq	(%r15), %rax
	movq	8(%rax), %rsi
	testq	%rbx, %rbx
	jle	LBB0_12
## %bb.13:
	movq	%rsi, %rdi
	subq	%rdx, %rdi
	addq	%rsi, %rbx
	movq	%rbx, %rdx
	movq	%rdi, %rbx
	jmp	LBB0_15
LBB0_9:
	movq	(%r15), %rax
	jmp	LBB0_16
LBB0_14:
	movq	8(%r14), %rdx
	movq	(%r15), %rax
	movq	%rdx, %rbx
	jmp	LBB0_15
LBB0_12:
	addq	%rsi, %rdx
	addq	%rsi, %rbx
LBB0_15:
	addq	%rdx, %rbx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rbx, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %rsi
	movq	%rsi, 8(%rax)
	subq	%rsi, %rdx
	movq	%rdx, 8(%rcx)
LBB0_16:
	movq	16(%r14), %rbx
	subq	16(%rax), %rbx
	movq	%rbx, %rdi
	callq	_fabs
	movq	8(%r15), %rcx
	movq	16(%rcx), %rdx
	cmpq	%rdx, %rax
	jle	LBB0_23
## %bb.17:
	testq	%rdx, %rdx
	js	LBB0_21
## %bb.18:
	movq	(%r15), %rax
	movq	16(%rax), %rsi
	testq	%rbx, %rbx
	jle	LBB0_19
## %bb.20:
	movq	%rsi, %rdi
	subq	%rdx, %rdi
	addq	%rsi, %rbx
	movq	%rbx, %rdx
	movq	%rdi, %rbx
	jmp	LBB0_22
LBB0_21:
	movq	16(%r14), %rdx
	movq	(%r15), %rax
	movq	%rdx, %rbx
	jmp	LBB0_22
LBB0_19:
	addq	%rsi, %rdx
	addq	%rsi, %rbx
LBB0_22:
	addq	%rdx, %rbx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rbx, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %rsi
	movq	%rsi, 16(%rax)
	subq	%rsi, %rdx
	movq	%rdx, 16(%rcx)
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_AABBExtendByPoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AABBExtendByPoint
_AABBExtendByPoint:                     ; @AABBExtendByPoint
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x9, [x0]
	ldr	x9, [x9]
	sub	x21, x8, x9
	mov	x0, x21
	bl	_fabs
	ldr	x8, [x19, #8]
	ldr	x10, [x8]
	cmp	x0, x10
	b.le	LBB0_3
; %bb.1:
	tbnz	x10, #63, LBB0_4
; %bb.2:
	ldr	x9, [x19]
	ldr	x11, [x9]
	add	x12, x11, x10
	add	x13, x11, x21
	sub	x11, x11, x10
	cmp	x21, #1
	csel	x10, x12, x13, lt
	csel	x11, x13, x11, lt
	b	LBB0_5
LBB0_3:
	ldr	x9, [x19]
	b	LBB0_6
LBB0_4:
	ldr	x10, [x20]
	ldr	x9, [x19]
	mov	x11, x10
LBB0_5:
	add	x11, x11, x10
	scvtf	s0, x11
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	fcvtzs	x11, s0
	str	x11, [x9]
	sub	x10, x10, x11
	str	x10, [x8]
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	x9, [x9, #8]
	sub	x21, x8, x9
	mov	x0, x21
	bl	_fabs
	ldr	x8, [x19, #8]
	ldr	x10, [x8, #8]
	cmp	x0, x10
	b.le	LBB0_9
; %bb.7:
	tbnz	x10, #63, LBB0_10
; %bb.8:
	ldr	x9, [x19]
	ldr	x11, [x9, #8]
	sub	x12, x11, x10
	add	x13, x11, x21
	add	x10, x11, x10
	cmp	x21, #0
	csel	x10, x13, x10, gt
	csel	x11, x12, x13, gt
	b	LBB0_11
LBB0_9:
	ldr	x9, [x19]
	b	LBB0_12
LBB0_10:
	ldr	x10, [x20, #8]
	ldr	x9, [x19]
	mov	x11, x10
LBB0_11:
	add	x11, x11, x10
	scvtf	s0, x11
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	fcvtzs	x11, s0
	str	x11, [x9, #8]
	sub	x10, x10, x11
	str	x10, [x8, #8]
LBB0_12:
	ldr	x8, [x20, #16]
	ldr	x9, [x9, #16]
	sub	x21, x8, x9
	mov	x0, x21
	bl	_fabs
	ldr	x8, [x19, #8]
	ldr	x10, [x8, #16]
	cmp	x0, x10
	b.le	LBB0_17
; %bb.13:
	tbnz	x10, #63, LBB0_15
; %bb.14:
	ldr	x9, [x19]
	ldr	x11, [x9, #16]
	sub	x12, x11, x10
	add	x13, x11, x21
	add	x10, x11, x10
	cmp	x21, #0
	csel	x10, x13, x10, gt
	csel	x11, x12, x13, gt
	b	LBB0_16
LBB0_15:
	ldr	x10, [x20, #16]
	ldr	x9, [x19]
	mov	x11, x10
LBB0_16:
	add	x11, x11, x10
	scvtf	s0, x11
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	fcvtzs	x11, s0
	str	x11, [x9, #16]
	sub	x9, x10, x11
	str	x9, [x8, #16]
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_AABBExtendByPoint
.subsections_via_symbols
