	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ProcessNextCmd
___ProcessNextCmd:                      ## @__ProcessNextCmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	___dvd_nextcmdnum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	___dvd_cmdlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rsi,%rsi,4), %rdx
	movl	(%rax,%rdx,4), %edi
	cmpl	$2, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$1, %edi
	jne	LBB0_2
## %bb.3:
	incq	%rsi
	movq	%rsi, (%rcx)
	movl	16(%rax,%rdx,4), %edi
	movl	12(%rax,%rdx,4), %esi
	movl	4(%rax,%rdx,4), %ecx
	movl	8(%rax,%rdx,4), %edx
	callq	___Read
	jmp	LBB0_5
LBB0_4:
	incq	%rsi
	movq	%rsi, (%rcx)
	movl	4(%rax,%rdx,4), %esi
	movl	8(%rax,%rdx,4), %edi
	callq	_DVD_LowSeek
LBB0_5:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___dvd_nextcmdnum,8,3           ## @__dvd_nextcmdnum
	.comm	___dvd_cmdlist,8,3              ## @__dvd_cmdlist
	.no_dead_strip	___ProcessNextCmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __ProcessNextCmd
___ProcessNextCmd:                      ; @__ProcessNextCmd
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x10, ___dvd_nextcmdnum@GOTPAGE
Lloh1:
	ldr	x10, [x10, ___dvd_nextcmdnum@GOTPAGEOFF]
	ldr	x8, [x10]
Lloh2:
	adrp	x9, ___dvd_cmdlist@GOTPAGE
Lloh3:
	ldr	x9, [x9, ___dvd_cmdlist@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	mov	w11, #20
	mul	x11, x8, x11
	ldr	w11, [x9, x11]
	cmp	w11, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w11, #1
	b.ne	LBB0_5
; %bb.2:
	add	x11, x8, #1
	str	x11, [x10]
	mov	w10, #20
	madd	x8, x8, x10, x9
	ldp	w1, w0, [x8, #12]
	ldp	w3, w2, [x8, #4]
	bl	___Read
	b	LBB0_4
LBB0_3:
	add	x11, x8, #1
	str	x11, [x10]
	mov	w10, #20
	madd	x8, x8, x10, x9
	ldp	w1, w0, [x8, #4]
	bl	_DVD_LowSeek
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	___dvd_nextcmdnum,8,3           ; @__dvd_nextcmdnum
	.comm	___dvd_cmdlist,8,3              ; @__dvd_cmdlist
	.no_dead_strip	___ProcessNextCmd
.subsections_via_symbols
