	.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_band_centre
LCPI0_0:
	.quad	0x3ff8000000000000              ## double 1.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_band_centre:                       ## @get_band_centre
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	cmpl	$-1, %esi
	je	LBB0_2
## %bb.1:
	movslq	%esi, %rcx
	cvttsd2si	(%rax,%rcx,8), %eax
	popq	%rbp
	retq
LBB0_2:
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	divsd	LCPI0_0(%rip), %xmm0
	popq	%rbp
	jmp	_lrint                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_band_centre
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_band_centre
_get_band_centre:                       ; @get_band_centre
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cmn	w1, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	d0, [x8, w1, sxtw #3]
	fcvtzs	w0, d0
	ret
LBB0_2:
	ldr	d0, [x8]
	fmov	d1, #1.50000000
	fdiv	d0, d0, d1
	b	_lrint
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_band_centre
.subsections_via_symbols
