	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_volume
_get_volume:                            ## @get_volume
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movsd	(%rdi), %xmm1                   ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jae	LBB0_7
## %bb.1:
	callq	_log
	movl	16(%rbx), %ecx
	movq	24(%rbx), %rax
	movl	$1, %edx
	cmpl	$2, %ecx
	jl	LBB0_6
## %bb.2:
	leaq	32(%rax), %rsi
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rsi), %xmm1                   ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jae	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	addq	$32, %rsi
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.5:
	movl	%ecx, %edx
LBB0_6:
	movslq	%edx, %rcx
	shlq	$5, %rcx
	movsd	-32(%rcx,%rax), %xmm1           ## xmm1 = mem[0],zero
	subsd	%xmm1, %xmm0
	movsd	-16(%rcx,%rax), %xmm1           ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	addsd	-8(%rcx,%rax), %xmm1
	mulsd	%xmm0, %xmm1
	addsd	-24(%rcx,%rax), %xmm1
	movapd	%xmm1, %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_exp                            ## TAILCALL
LBB0_7:
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_volume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_volume
_get_volume:                            ; @get_volume
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	d1, [x0]
	fcmp	d1, d0
	b.ge	LBB0_6
; %bb.1:
	bl	_log
	ldr	w9, [x19, #16]
	ldr	x8, [x19, #24]
	cmp	w9, #2
	b.lt	LBB0_7
; %bb.2:
	add	x11, x8, #32
	mov	w10, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x11]
	fcmp	d0, d1
	b.ls	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	add	x11, x11, #32
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.5:
	mov	x10, x9
	b	LBB0_9
LBB0_6:
	ldr	d0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w10, #1
	b	LBB0_9
LBB0_8:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
LBB0_9:
	sxtw	x9, w10
	add	x8, x8, x9, lsl #5
	ldp	d1, d2, [x8, #-32]
	fsub	d0, d0, d1
	ldp	d1, d3, [x8, #-16]
	fmadd	d1, d1, d0, d3
	fmadd	d0, d0, d1, d2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_exp
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_volume
.subsections_via_symbols
