	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_len_position
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_len_position:                      ## @get_len_position
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movsd	%xmm2, -8(%rbp)                 ## 8-byte Spill
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -16(%rbp)                ## 8-byte Spill
	movapd	%xmm1, %xmm0
	callq	_isinf
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isinf
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isinf
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isinf
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isinf
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isinf
	xorpd	%xmm0, %xmm0
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_9
LBB0_6:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_10
LBB0_2:
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isinf
	testq	%rax, %rax
	je	LBB0_3
LBB0_9:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
LBB0_10:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_3:
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	subsd	-24(%rbp), %xmm1                ## 8-byte Folded Reload
	subsd	-16(%rbp), %xmm0                ## 8-byte Folded Reload
	divsd	%xmm0, %xmm1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	subsd	%xmm1, %xmm0
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_len_position
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_len_position
_get_len_position:                      ; @get_len_position
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	d9, d8, [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 b8, -24
	.cfi_offset b9, -32
	.cfi_offset b10, -40
	.cfi_offset b11, -48
	fmov	d8, d2
	fmov	d9, d1
	fmov	d10, d0
	fmov	d0, d1
	bl	_isinf
	cbnz	x0, LBB0_2
; %bb.1:
	fmov	d0, d8
	bl	_isinf
	cbz	x0, LBB0_8
LBB0_2:
	fmov	d0, d9
	bl	_isinf
	cbz	x0, LBB0_4
; %bb.3:
	fmov	d0, d8
	bl	_isinf
	cbz	x0, LBB0_7
LBB0_4:
	fmov	d0, d9
	bl	_isinf
	cbz	x0, LBB0_6
; %bb.5:
	fmov	d0, d8
	bl	_isinf
	movi	d0, #0000000000000000
	cbnz	x0, LBB0_10
LBB0_6:
	fmov	d0, #0.50000000
	b	LBB0_10
LBB0_7:
	fmov	d0, #1.00000000
	b	LBB0_10
LBB0_8:
	fmov	d0, d10
	bl	_isinf
	fmov	d0, #0.50000000
	cbnz	x0, LBB0_10
; %bb.9:
	fsub	d0, d8, d10
	fsub	d1, d8, d9
	fdiv	d0, d0, d1
	fmov	d1, #1.00000000
	fsub	d0, d1, d0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_len_position
.subsections_via_symbols
