	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_S_ScanChannelStarts            ## -- Begin function S_ScanChannelStarts
	.p2align	4, 0x90
_S_ScanChannelStarts:                   ## @S_ScanChannelStarts
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movq	_s_channels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	xorl	%r12d, %r12d
	movq	_START_SAMPLE_IMMEDIATE@GOTPCREL(%rip), %rdi
	movq	_s_paintedtime@GOTPCREL(%rip), %r14
	movq	_qtrue@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rcx
	movq	%rcx, (%rbx)
	movl	(%r13), %r15d
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	addq	$16, %rbx
	cmpl	%eax, %r12d
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdx
	cmpq	(%rdi), %rdx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	(%rcx), %rdx
	cmpq	(%r14), %rdx
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_S_ChannelFree
	movq	_START_SAMPLE_IMMEDIATE@GOTPCREL(%rip), %rdi
	movq	_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_s_channels,8,3                 ## @s_channels
	.comm	_MAX_CHANNELS,4,2               ## @MAX_CHANNELS
	.comm	_START_SAMPLE_IMMEDIATE,8,3     ## @START_SAMPLE_IMMEDIATE
	.comm	_s_paintedtime,8,3              ## @s_paintedtime
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_S_ScanChannelStarts            ; -- Begin function S_ScanChannelStarts
	.p2align	2
_S_ScanChannelStarts:                   ; @S_ScanChannelStarts
	.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
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x21, _MAX_CHANNELS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAX_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w22, #0
Lloh5:
	adrp	x9, _s_channels@GOTPAGE
Lloh6:
	ldr	x9, [x9, _s_channels@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x9]
Lloh8:
	adrp	x23, _START_SAMPLE_IMMEDIATE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _START_SAMPLE_IMMEDIATE@GOTPAGEOFF]
Lloh10:
	adrp	x24, _s_paintedtime@GOTPAGE
Lloh11:
	ldr	x24, [x24, _s_paintedtime@GOTPAGEOFF]
Lloh12:
	adrp	x25, _qtrue@GOTPAGE
Lloh13:
	ldr	x25, [x25, _qtrue@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x24]
	str	x9, [x20]
	ldr	w19, [x25]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	add	x20, x20, #16
	cmp	w22, w8
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x20]
	ldr	x11, [x23]
	cmp	x10, x11
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x9]
	ldr	x11, [x24]
	add	x9, x9, x10
	cmp	x9, x11
	b.gt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_S_ChannelFree
	ldr	w8, [x21]
	b	LBB0_3
LBB0_8:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_s_channels,8,3                 ; @s_channels
	.comm	_MAX_CHANNELS,4,2               ; @MAX_CHANNELS
	.comm	_START_SAMPLE_IMMEDIATE,8,3     ; @START_SAMPLE_IMMEDIATE
	.comm	_s_paintedtime,8,3              ; @s_paintedtime
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
