	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdda_start_play                ## -- Begin function cdda_start_play
	.p2align	4, 0x90
_cdda_start_play:                       ## @cdda_start_play
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %r8d
	movq	_Pico_mcd@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rcx), %rax
	movq	_CT_MP3@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.1:
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	shll	$10, %esi
	movl	%esi, %eax
	cltd
	idivl	%r8d
	movl	%eax, %esi
	jmp	LBB0_4
LBB0_5:
	movl	8(%rcx), %eax
	addl	%edi, %esi
	imull	$2352, %esi, %esi               ## imm = 0x930
	movq	_SEEK_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_pm_seek
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_CT_WAV@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.7:
	movl	8(%rax), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$44, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pm_seek                        ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	xorl	%esi, %esi
LBB0_4:
	movl	8(%rcx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mp3_start_play                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.comm	_CT_MP3,8,3                     ## @CT_MP3
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_CT_WAV,8,3                     ## @CT_WAV
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdda_start_play                ; -- Begin function cdda_start_play
	.p2align	2
_cdda_start_play:                       ; @cdda_start_play
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _Pico_mcd@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Pico_mcd@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _CT_MP3@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CT_MP3@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	lsl	w9, w1, #10
	sdiv	w9, w9, w2
	cmp	w1, #0
	csel	w1, wzr, w9, eq
	ldr	w0, [x8, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mp3_start_play
LBB0_2:
	ldr	w8, [x8, #8]
	add	w9, w1, w0
	mov	w10, #2352
	mul	w1, w9, w10
Lloh5:
	adrp	x9, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SEEK_SET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	mov	x0, x8
	bl	_pm_seek
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh8:
	adrp	x10, _CT_WAV@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CT_WAV@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x8, #8]
Lloh11:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w1, #44
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pm_seek
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.comm	_CT_MP3,8,3                     ; @CT_MP3
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_CT_WAV,8,3                     ; @CT_WAV
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
.subsections_via_symbols
