	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function muxFlush
_muxFlush:                              ## @muxFlush
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	32(%r14), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_OutputTrackChunk
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rcx
	cmpq	8(%rax), %rcx
	cmovnel	%r15d, %r12d
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r14), %ecx
	addl	%ecx, 16(%r14)
	testl	%r12d, %r12d
	je	LBB0_1
	jmp	LBB0_5
LBB0_6:
	movl	8(%r14), %eax
	addl	%eax, 16(%r14)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_muxFlush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function muxFlush
_muxFlush:                              ; @muxFlush
	.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	x19, x0
	ldr	w8, [x0]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, #0
	mov	w21, #1
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x19, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_OutputTrackChunk
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x20, lsl #3]
	ldp	x9, x8, [x8]
	cmp	x9, x8
	csel	w21, w21, wzr, eq
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x19, #8]
	ldr	w10, [x19, #16]
	add	w9, w10, w9
	str	w9, [x19, #16]
	cbz	w21, LBB0_1
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
LBB0_6:
	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	_muxFlush
.subsections_via_symbols
