	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qsynth_read_track
_qsynth_read_track:                     ## @qsynth_read_track
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdx)
	movq	$0, (%r8)
	cmpq	$8, (%rdi)
	jle	LBB0_1
## %bb.2:
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdi, %rbx
	movl	$8, %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	8(%rbx), %rdi
	addq	%r12, %rdi
	leaq	-88(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	leaq	-64(%rbp), %r8
	leaq	-56(%rbp), %r9
	callq	_qsynth_read_event
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	-96(%rbp), %r14
	movq	-64(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdx
	subq	(%r13), %rdx
	imulq	(%r15), %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	addq	%rdx, (%rsi)
	movq	%rcx, (%r15)
	movq	%r14, (%r13)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -56(%rbp)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	-88(%rbp), %r12
	cmpq	(%rbx), %r12
	jl	LBB0_3
	jmp	LBB0_8
LBB0_1:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
LBB0_8:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, (%rcx)
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_qsynth_read_track
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qsynth_read_track
_qsynth_read_track:                     ; @qsynth_read_track
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x1
	str	wzr, [sp, #44]
	str	xzr, [x2]
	str	xzr, [x4]
	ldr	x8, [x0]
	cmp	x8, #8
	b.le	LBB0_7
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x0
	mov	x24, #0
	mov	w25, #8
Lloh0:
	adrp	x26, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x26, [x26, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [sp, #16]
	ldr	x8, [x23, #8]
	add	x0, x8, x25
	add	x1, sp, #8
	add	x2, sp, #44
	add	x3, sp, #32
	add	x4, sp, #24
	add	x5, sp, #16
	bl	_qsynth_read_event
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #32]
	add	x24, x8, x24
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x20]
	sub	x9, x24, x9
	ldr	x10, [x21]
	ldr	x11, [x22]
	madd	x9, x9, x10, x11
	str	x9, [x22]
	str	x8, [x21]
	str	x24, [x20]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x23]
	add	x25, x8, x25
	cmp	x25, x9
	b.lt	LBB0_2
	b	LBB0_8
LBB0_7:
	mov	x24, #0
Lloh2:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_8:
	str	x24, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_qsynth_read_track
.subsections_via_symbols
