	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MusicPlay                      ## -- Begin function MusicPlay
	.p2align	4, 0x90
_MusicPlay:                             ## @MusicPlay
	.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	_current_index@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdi, (%rax)
	movq	_DATA_PTRS_BANK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_music_banks@GOTPCREL(%rip), %rax
	leaq	(,%rbx,4), %rsi
	addq	(%rax), %rsi
	callq	_ReadBankedUBYTE
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_PUSH_BANK
	movq	_music_tracks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r12, %rsi
	movl	$7, %edx
	callq	_gbt_play
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gbt_loop                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_index,8,3              ## @current_index
	.comm	_DATA_PTRS_BANK,4,2             ## @DATA_PTRS_BANK
	.comm	_music_banks,8,3                ## @music_banks
	.comm	_music_tracks,8,3               ## @music_tracks
	.comm	_POP_BANK,4,2                   ## @POP_BANK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MusicPlay                      ; -- Begin function MusicPlay
	.p2align	2
_MusicPlay:                             ; @MusicPlay
	.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
Lloh0:
	adrp	x8, _current_index@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_index@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x0
	b.ne	LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x20, x2
	mov	x19, x1
	str	x0, [x8]
Lloh2:
	adrp	x8, _DATA_PTRS_BANK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DATA_PTRS_BANK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _music_banks@GOTPAGE
Lloh6:
	ldr	x9, [x9, _music_banks@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	lsl	x22, x0, #2
	add	x1, x9, x22
	mov	x0, x8
	bl	_ReadBankedUBYTE
	mov	x21, x0
	mov	x0, x20
	bl	_PUSH_BANK
Lloh8:
	adrp	x8, _music_tracks@GOTPAGE
Lloh9:
	ldr	x8, [x8, _music_tracks@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w0, [x8, x22]
	mov	x1, x21
	mov	w2, #7
	bl	_gbt_play
	mov	x0, x19
	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
	b	_gbt_loop
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_current_index,8,3              ; @current_index
	.comm	_DATA_PTRS_BANK,4,2             ; @DATA_PTRS_BANK
	.comm	_music_banks,8,3                ; @music_banks
	.comm	_music_tracks,8,3               ; @music_tracks
	.comm	_POP_BANK,4,2                   ; @POP_BANK
.subsections_via_symbols
