	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function Cs2SeekDisc
LCPI0_0:
	.long	4294967295                      ## 0xffffffff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Cs2SeekDisc
	.p2align	4, 0x90
_Cs2SeekDisc:                           ## @Cs2SeekDisc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_Cs2Area@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	32(%rax), %ebx
	testb	$-128, %bl
	jne	LBB0_1
## %bb.18:
	movl	36(%rax), %edi
	cmpl	$256, %edi                      ## imm = 0x100
	jae	LBB0_19
## %bb.20:
	movq	_CDB_STAT_STANDBY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rax)
	movabsq	$1095216660735, %rcx            ## imm = 0xFF000000FF
	movq	%rcx, 24(%rax)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4294967295,255,255,255]
	movups	%xmm0, 8(%rax)
	jmp	LBB0_21
LBB0_1:
	andl	$15, %ebx
	shll	$16, %ebx
	orl	36(%rax), %ebx
	movq	_CDB_STAT_PAUSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rax)
	movq	(%rax), %rax
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	(%rax), %edx
	andl	%ecx, %edx
	xorl	%edi, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.3:
	andl	4(%rax), %ecx
	movl	$1, %edi
	cmpl	%ebx, %ecx
	jge	LBB0_2
## %bb.4:
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	8(%rax), %edx
	andl	%ecx, %edx
	movl	$2, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.5:
	andl	12(%rax), %ecx
	movl	$3, %edi
	cmpl	%ebx, %ecx
	jge	LBB0_2
## %bb.6:
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	16(%rax), %edx
	andl	%ecx, %edx
	movl	$4, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.7:
	andl	20(%rax), %ecx
	movl	$5, %edi
	cmpl	%ebx, %ecx
	jge	LBB0_2
## %bb.8:
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	24(%rax), %edx
	andl	%ecx, %edx
	movl	$6, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.9:
	andl	28(%rax), %ecx
	movl	$7, %edi
	cmpl	%ebx, %ecx
	jge	LBB0_2
## %bb.10:
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	32(%rax), %edx
	andl	%ecx, %edx
	movl	$8, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.11:
	andl	36(%rax), %ecx
	movl	$9, %edi
	cmpl	%ebx, %ecx
	jge	LBB0_2
## %bb.12:
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	40(%rax), %edx
	andl	%ecx, %edx
	movl	$10, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.13:
	andl	44(%rax), %ecx
	movl	$11, %edi
	cmpl	%ebx, %ecx
	jge	LBB0_2
## %bb.14:
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	48(%rax), %edx
	andl	%ecx, %edx
	movl	$12, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.15:
	andl	52(%rax), %ecx
	movl	$13, %edi
	cmpl	%ebx, %ecx
	jge	LBB0_2
## %bb.16:
	movl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	56(%rax), %edx
	andl	%ecx, %edx
	movl	$14, %edi
	cmpl	%ebx, %edx
	jge	LBB0_2
## %bb.17:
	andl	60(%rax), %ecx
	movl	$15, %edi
	cmpl	%ebx, %ecx
	jl	LBB0_21
LBB0_2:
	movl	$1, %esi
	callq	_Cs2SetupDefaultPlayStats
	movq	(%r14), %rax
	movl	%ebx, 8(%rax)
	jmp	LBB0_21
LBB0_19:
	movq	_CDB_STAT_PAUSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rax)
	sarl	$8, %edi
	movl	$1, %esi
	callq	_Cs2SetupDefaultPlayStats
	movq	(%r14), %rax
	movzbl	36(%rax), %ecx
	movl	%ecx, 12(%rax)
LBB0_21:
	xorl	%edi, %edi
	callq	_Cs2SetTiming
	movq	(%r14), %rax
	movq	48(%rax), %rdi
	callq	_doCDReport
	movq	_CDB_HIRQ_CMOK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, 40(%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Cs2Area,8,3                    ## @Cs2Area
	.comm	_CDB_STAT_PAUSE,8,3             ## @CDB_STAT_PAUSE
	.comm	_CDB_STAT_STANDBY,8,3           ## @CDB_STAT_STANDBY
	.comm	_CDB_HIRQ_CMOK,4,2              ## @CDB_HIRQ_CMOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function Cs2SeekDisc
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Cs2SeekDisc
	.p2align	2
_Cs2SeekDisc:                           ; @Cs2SeekDisc
	.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, _Cs2Area@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Cs2Area@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w9, [x8, #32]
	tbnz	w9, #7, LBB0_3
; %bb.1:
	ldr	w9, [x8, #36]
	cmp	w9, #256
	b.hs	LBB0_20
; %bb.2:
Lloh2:
	adrp	x9, _CDB_STAT_STANDBY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CDB_STAT_STANDBY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	x9, [x8, #48]
	movi	d0, #0x0000ff000000ff
	str	d0, [x8, #24]
Lloh5:
	adrp	x9, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	stur	q0, [x8, #8]
	b	LBB0_37
LBB0_3:
	ubfiz	w9, w9, #16, #4
	ldr	w10, [x8, #36]
	orr	w20, w10, w9
Lloh7:
	adrp	x9, _CDB_STAT_PAUSE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CDB_STAT_PAUSE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	str	x9, [x8, #48]
	ldr	x8, [x8]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_21
; %bb.4:
	ldr	w9, [x8, #4]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_22
; %bb.5:
	ldr	w9, [x8, #8]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_23
; %bb.6:
	ldr	w9, [x8, #12]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_24
; %bb.7:
	ldr	w9, [x8, #16]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_25
; %bb.8:
	ldr	w9, [x8, #20]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_26
; %bb.9:
	ldr	w9, [x8, #24]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_27
; %bb.10:
	ldr	w9, [x8, #28]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_28
; %bb.11:
	ldr	w9, [x8, #32]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_29
; %bb.12:
	ldr	w9, [x8, #36]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_30
; %bb.13:
	ldr	w9, [x8, #40]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_31
; %bb.14:
	ldr	w9, [x8, #44]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_32
; %bb.15:
	ldr	w9, [x8, #48]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_33
; %bb.16:
	ldr	w9, [x8, #52]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_34
; %bb.17:
	ldr	w9, [x8, #56]
	and	w9, w9, #0xffffff
	cmp	w9, w20
	b.ge	LBB0_35
; %bb.18:
	ldr	w8, [x8, #60]
	and	w8, w8, #0xffffff
	cmp	w8, w20
	b.lt	LBB0_37
; %bb.19:
	mov	w0, #15
	b	LBB0_36
LBB0_20:
Lloh10:
	adrp	x10, _CDB_STAT_PAUSE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _CDB_STAT_PAUSE@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	str	x10, [x8, #48]
	asr	w0, w9, #8
	mov	w1, #1
	bl	_Cs2SetupDefaultPlayStats
	ldr	x8, [x19]
	ldrb	w9, [x8, #36]
	str	w9, [x8, #12]
	b	LBB0_37
LBB0_21:
	mov	w0, #0
	b	LBB0_36
LBB0_22:
	mov	w0, #1
	b	LBB0_36
LBB0_23:
	mov	w0, #2
	b	LBB0_36
LBB0_24:
	mov	w0, #3
	b	LBB0_36
LBB0_25:
	mov	w0, #4
	b	LBB0_36
LBB0_26:
	mov	w0, #5
	b	LBB0_36
LBB0_27:
	mov	w0, #6
	b	LBB0_36
LBB0_28:
	mov	w0, #7
	b	LBB0_36
LBB0_29:
	mov	w0, #8
	b	LBB0_36
LBB0_30:
	mov	w0, #9
	b	LBB0_36
LBB0_31:
	mov	w0, #10
	b	LBB0_36
LBB0_32:
	mov	w0, #11
	b	LBB0_36
LBB0_33:
	mov	w0, #12
	b	LBB0_36
LBB0_34:
	mov	w0, #13
	b	LBB0_36
LBB0_35:
	mov	w0, #14
LBB0_36:
	mov	w1, #1
	bl	_Cs2SetupDefaultPlayStats
	ldr	x8, [x19]
	str	w20, [x8, #8]
LBB0_37:
	mov	w0, #0
	bl	_Cs2SetTiming
	ldr	x8, [x19]
	ldr	x0, [x8, #48]
	bl	_doCDReport
Lloh13:
	adrp	x8, _CDB_HIRQ_CMOK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CDB_HIRQ_CMOK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #40]
	orr	w8, w10, w8
	str	w8, [x9, #40]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_Cs2Area,8,3                    ; @Cs2Area
	.comm	_CDB_STAT_PAUSE,8,3             ; @CDB_STAT_PAUSE
	.comm	_CDB_STAT_STANDBY,8,3           ; @CDB_STAT_STANDBY
	.comm	_CDB_HIRQ_CMOK,4,2              ; @CDB_HIRQ_CMOK
.subsections_via_symbols
