	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __dvd_statebusycb
___dvd_statebusycb:                     ## @__dvd_statebusycb
	.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
	cmpl	$16, %edi
	jne	LBB0_1
## %bb.52:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$-1, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___dvd_statetimeout             ## TAILCALL
LBB0_1:
	movq	___dvd_currcmd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	$15, %eax
	ja	LBB0_13
## %bb.2:
	movl	$16434, %ecx                    ## imm = 0x4032
	btl	%eax, %ecx
	jae	LBB0_3
LBB0_12:
	movq	___dvd_executing@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	8(%rcx), %edx
	movq	__diReg@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	subl	24(%rsi), %edx
	addl	%edx, 4(%rcx)
LBB0_13:
	testb	$8, %dil
	jne	LBB0_14
## %bb.17:
	testb	$1, %dil
	jne	LBB0_18
## %bb.42:
	cmpl	$2, %edi
	jne	LBB0_46
## %bb.43:
	leal	-4(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_47
## %bb.44:
	cmpl	$1, %eax
	je	LBB0_47
## %bb.45:
	cmpl	$14, %eax
	je	LBB0_53
	jmp	LBB0_46
LBB0_14:
	movq	___dvd_canceling@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	___dvd_dummycmdblk@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	$10, (%rcx)
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	$-3, %edi
	movq	%rbx, %rsi
	callq	*%rax
LBB0_16:
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	___dvd_cancelcallback
LBB0_25:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___dvd_stateready               ## TAILCALL
LBB0_3:
	movl	$32776, %ecx                    ## imm = 0x8008
	btl	%eax, %ecx
	jae	LBB0_13
## %bb.4:
	testb	$2, %dil
	jne	LBB0_53
## %bb.5:
	cmpl	$1, %edi
	jne	LBB0_10
## %bb.6:
	movq	___dvd_internalretries@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	cmpl	$15, %eax
	jne	LBB0_8
## %bb.7:
	movq	___dvd_resetrequired@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_8:
	movl	$7, %edi
	callq	___dvd_checkcancel
	testq	%rax, %rax
	jne	LBB0_51
## %bb.9:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$7, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___dvd_statemotorstopped        ## TAILCALL
LBB0_18:
	movq	___dvd_internalretries@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%edi, %edi
	callq	___dvd_checkcancel
	testq	%rax, %rax
	je	LBB0_19
LBB0_51:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_53:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$-1, (%rax)
	movl	$19088743, %edi                 ## imm = 0x1234567
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___dvd_stateerror               ## TAILCALL
LBB0_19:
	movl	(%rbx), %eax
	cmpl	$14, %eax
	ja	LBB0_26
## %bb.20:
	movl	$16434, %ecx                    ## imm = 0x4032
	btl	%eax, %ecx
	jae	LBB0_26
## %bb.21:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	4(%rsi), %rdi
	cmpq	%rdi, 16(%rsi)
	jne	LBB0_54
## %bb.22:
	movq	___dvd_dummycmdblk@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	$0, (%rsi)
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	LBB0_24
LBB0_10:
	cmpl	$14, %eax
	ja	LBB0_13
## %bb.11:
	movl	$16432, %ecx                    ## imm = 0x4030
	btl	%eax, %ecx
	jb	LBB0_12
	jmp	LBB0_13
LBB0_47:
	movq	___dvd_executing@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movslq	4(%rax), %rcx
	cmpq	%rcx, 16(%rax)
	jne	LBB0_46
## %bb.48:
	xorl	%edi, %edi
	callq	___dvd_checkcancel
	testq	%rax, %rax
	jne	LBB0_51
## %bb.49:
	movq	(%rbx), %rsi
	movq	___dvd_dummycmdblk@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movl	$0, (%rsi)
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.50:
	movl	4(%rsi), %edi
	jmp	LBB0_24
LBB0_46:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___dvd_stategettingerror        ## TAILCALL
LBB0_54:
	movq	%rsi, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___dvd_statebusy                ## TAILCALL
LBB0_26:
	leal	-9(%rax), %ecx
	cmpl	$3, %ecx
	ja	LBB0_29
## %bb.27:
	movq	__diReg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	32(%rcx), %ecx
	movq	___dvd_executing@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	___dvd_dummycmdblk@GOTPCREL(%rip), %rdi
	movq	%rdi, (%rdx)
	movl	$0, (%rsi)
	movq	24(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_25
## %bb.28:
	andl	$-2, %eax
	leal	(,%rcx,4), %edi
	cmpl	$10, %eax
	cmovnel	%ecx, %edi
	callq	*%rdx
	jmp	LBB0_25
LBB0_29:
	cmpl	$16, %eax
	je	LBB0_39
## %bb.30:
	cmpl	$6, %eax
	jne	LBB0_36
## %bb.31:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpl	$0, 8(%rsi)
	jne	LBB0_37
## %bb.32:
	movq	__diReg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testb	$1, 32(%rcx)
	jne	LBB0_33
## %bb.35:
	movq	___dvd_autofinishing@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	$1, 8(%rsi)
	movq	16(%rsi), %rax
	movl	32(%rsi), %edx
	leaq	___dvd_statebusycb(%rip), %rcx
	xorl	%edi, %edi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DVD_LowAudioStream             ## TAILCALL
LBB0_39:
	movq	___dvd_drivestate@GOTPCREL(%rip), %rax
	movq	_DVD_CHIPPRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_36
## %bb.40:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	___dvd_dummycmdblk@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	$0, (%rsi)
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.41:
	movq	_DVD_DISKIDSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	jmp	LBB0_24
LBB0_36:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_37:
	movq	___dvd_dummycmdblk@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	$0, (%rsi)
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.38:
	xorl	%edi, %edi
LBB0_24:
	callq	*%rax
	jmp	LBB0_25
LBB0_33:
	movq	___dvd_dummycmdblk@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	$9, (%rsi)
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.34:
	movl	$-2, %edi
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	___dvd_executing,8,3            ## @__dvd_executing
	.comm	___dvd_currcmd,4,2              ## @__dvd_currcmd
	.comm	___dvd_internalretries,8,3      ## @__dvd_internalretries
	.comm	___dvd_resetrequired,4,2        ## @__dvd_resetrequired
	.comm	__diReg,8,3                     ## @_diReg
	.comm	___dvd_canceling,8,3            ## @__dvd_canceling
	.comm	___dvd_dummycmdblk,40,3         ## @__dvd_dummycmdblk
	.comm	___dvd_autofinishing,8,3        ## @__dvd_autofinishing
	.comm	___dvd_drivestate,4,2           ## @__dvd_drivestate
	.comm	_DVD_CHIPPRESENT,4,2            ## @DVD_CHIPPRESENT
	.comm	_DVD_DISKIDSIZE,4,2             ## @DVD_DISKIDSIZE
	.no_dead_strip	___dvd_statebusycb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __dvd_statebusycb
___dvd_statebusycb:                     ; @__dvd_statebusycb
	.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
	cmp	w0, #16
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #-1
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___dvd_statetimeout
LBB0_2:
Lloh3:
	adrp	x19, ___dvd_currcmd@GOTPAGE
Lloh4:
	ldr	x19, [x19, ___dvd_currcmd@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #15
	b.hi	LBB0_5
; %bb.3:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #16434
	tst	w9, w10
	b.eq	LBB0_17
LBB0_4:
Lloh5:
	adrp	x9, ___dvd_executing@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___dvd_executing@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, __diReg@GOTPAGE
Lloh9:
	ldr	x10, [x10, __diReg@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldr	w10, [x10, #24]
	ldp	w12, w11, [x9, #4]
	sub	w10, w11, w10
	add	w10, w10, w12
	str	w10, [x9, #4]
LBB0_5:
	tbnz	w0, #3, LBB0_13
; %bb.6:
	tbnz	w0, #0, LBB0_24
; %bb.7:
	cmp	w0, #2
	b.ne	LBB0_34
; %bb.8:
	sub	w9, w8, #4
	cmp	w9, #2
	ccmp	w8, #1, #4, hs
	b.ne	LBB0_32
; %bb.9:
Lloh11:
	adrp	x19, ___dvd_executing@GOTPAGE
Lloh12:
	ldr	x19, [x19, ___dvd_executing@GOTPAGEOFF]
	ldr	x8, [x19]
	ldrsw	x9, [x8, #4]
	ldr	x8, [x8, #16]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.10:
	mov	w0, #0
	bl	___dvd_checkcancel
	cbnz	x0, LBB0_25
; %bb.11:
	ldr	x1, [x19]
Lloh13:
	adrp	x8, ___dvd_dummycmdblk@GOTPAGE
Lloh14:
	ldr	x8, [x8, ___dvd_dummycmdblk@GOTPAGEOFF]
	str	x8, [x19]
	str	wzr, [x1]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_16
; %bb.12:
	ldr	w0, [x1, #4]
	b	LBB0_30
LBB0_13:
Lloh15:
	adrp	x8, ___dvd_canceling@GOTPAGE
Lloh16:
	ldr	x8, [x8, ___dvd_canceling@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
Lloh18:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh19:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
	ldr	x19, [x8]
Lloh20:
	adrp	x9, ___dvd_dummycmdblk@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___dvd_dummycmdblk@GOTPAGEOFF]
	str	x9, [x8]
	mov	w8, #10
	str	w8, [x9]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_15
; %bb.14:
	mov	w0, #-3
	mov	x1, x19
	blr	x8
LBB0_15:
	mov	w0, #0
	mov	x1, x19
	bl	___dvd_cancelcallback
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___dvd_stateready
LBB0_17:
	mov	w10, #32776
	tst	w9, w10
	b.eq	LBB0_5
; %bb.18:
	tbnz	w0, #1, LBB0_33
; %bb.19:
	cmp	w0, #1
	b.ne	LBB0_31
; %bb.20:
Lloh22:
	adrp	x9, ___dvd_internalretries@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___dvd_internalretries@GOTPAGEOFF]
Lloh24:
	str	xzr, [x9]
	cmp	w8, #15
	b.ne	LBB0_22
; %bb.21:
Lloh25:
	adrp	x8, ___dvd_resetrequired@GOTPAGE
Lloh26:
	ldr	x8, [x8, ___dvd_resetrequired@GOTPAGEOFF]
	mov	w9, #1
Lloh27:
	str	w9, [x8]
LBB0_22:
	mov	w19, #7
	mov	w0, #7
	bl	___dvd_checkcancel
	cbnz	x0, LBB0_25
; %bb.23:
Lloh28:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh29:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	w19, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___dvd_statemotorstopped
LBB0_24:
Lloh31:
	adrp	x8, ___dvd_internalretries@GOTPAGE
Lloh32:
	ldr	x8, [x8, ___dvd_internalretries@GOTPAGEOFF]
Lloh33:
	str	xzr, [x8]
	mov	w0, #0
	bl	___dvd_checkcancel
	cbz	x0, LBB0_26
LBB0_25:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_26:
	ldr	w8, [x19]
	cmp	w8, #14
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #16434
	and	w9, w9, w10
	ccmp	w9, #0, #4, ls
	b.eq	LBB0_36
; %bb.27:
Lloh34:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh35:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
	ldr	x1, [x8]
	ldrsw	x0, [x1, #4]
	ldr	x9, [x1, #16]
	cmp	x9, x0
	b.ne	LBB0_35
; %bb.28:
Lloh36:
	adrp	x9, ___dvd_dummycmdblk@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___dvd_dummycmdblk@GOTPAGEOFF]
	str	x9, [x8]
	str	wzr, [x1]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_16
; %bb.29:
                                        ; kill: def $w0 killed $w0 killed $x0
LBB0_30:
	blr	x8
	b	LBB0_16
LBB0_31:
	cmp	w8, #14
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #16432
	and	w9, w9, w10
	ccmp	w9, #0, #4, ls
	b.ne	LBB0_4
	b	LBB0_5
LBB0_32:
	cmp	w8, #14
	b.ne	LBB0_34
LBB0_33:
Lloh38:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh39:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	mov	w9, #-1
	str	w9, [x8]
	mov	w0, #17767
	movk	w0, #291, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___dvd_stateerror
LBB0_34:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___dvd_stategettingerror
LBB0_35:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___dvd_statebusy
LBB0_36:
	sub	w9, w8, #9
	cmp	w9, #3
	b.hi	LBB0_39
; %bb.37:
Lloh41:
	adrp	x9, __diReg@GOTPAGE
Lloh42:
	ldr	x9, [x9, __diReg@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	ldr	w9, [x9, #32]
Lloh44:
	adrp	x10, ___dvd_executing@GOTPAGE
Lloh45:
	ldr	x10, [x10, ___dvd_executing@GOTPAGEOFF]
	ldr	x1, [x10]
Lloh46:
	adrp	x11, ___dvd_dummycmdblk@GOTPAGE
Lloh47:
	ldr	x11, [x11, ___dvd_dummycmdblk@GOTPAGEOFF]
	str	x11, [x10]
	str	wzr, [x1]
	ldr	x10, [x1, #24]
	cbz	x10, LBB0_16
; %bb.38:
	and	w8, w8, #0xfffffffe
	lsl	w11, w9, #2
	cmp	w8, #10
	csel	w0, w11, w9, eq
	blr	x10
	b	LBB0_16
LBB0_39:
	cmp	w8, #16
	b.eq	LBB0_44
; %bb.40:
	cmp	w8, #6
	b.ne	LBB0_47
; %bb.41:
Lloh48:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh49:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
	ldr	x1, [x8]
	ldr	w9, [x1, #8]
	cbnz	w9, LBB0_48
; %bb.42:
Lloh50:
	adrp	x9, __diReg@GOTPAGE
Lloh51:
	ldr	x9, [x9, __diReg@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	ldrb	w9, [x9, #32]
	tbnz	w9, #0, LBB0_50
; %bb.43:
Lloh53:
	adrp	x8, ___dvd_autofinishing@GOTPAGE
Lloh54:
	ldr	x8, [x8, ___dvd_autofinishing@GOTPAGEOFF]
Lloh55:
	str	xzr, [x8]
	mov	w8, #1
	str	w8, [x1, #8]
	ldr	x8, [x1, #16]
	ldr	w2, [x1, #32]
Lloh56:
	adrp	x3, ___dvd_statebusycb@PAGE
Lloh57:
	add	x3, x3, ___dvd_statebusycb@PAGEOFF
	mov	w0, #0
	mov	x1, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DVD_LowAudioStream
LBB0_44:
Lloh58:
	adrp	x8, ___dvd_drivestate@GOTPAGE
Lloh59:
	ldr	x8, [x8, ___dvd_drivestate@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _DVD_CHIPPRESENT@GOTPAGE
Lloh62:
	ldr	x9, [x9, _DVD_CHIPPRESENT@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_47
; %bb.45:
Lloh64:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh65:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
	ldr	x1, [x8]
Lloh66:
	adrp	x9, ___dvd_dummycmdblk@GOTPAGE
Lloh67:
	ldr	x9, [x9, ___dvd_dummycmdblk@GOTPAGEOFF]
	str	x9, [x8]
	str	wzr, [x1]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_16
; %bb.46:
Lloh68:
	adrp	x9, _DVD_DISKIDSIZE@GOTPAGE
Lloh69:
	ldr	x9, [x9, _DVD_DISKIDSIZE@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x9]
	b	LBB0_30
LBB0_47:
Lloh71:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh72:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
	ldr	x1, [x8]
LBB0_48:
Lloh73:
	adrp	x9, ___dvd_dummycmdblk@GOTPAGE
Lloh74:
	ldr	x9, [x9, ___dvd_dummycmdblk@GOTPAGEOFF]
	str	x9, [x8]
	str	wzr, [x1]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_16
; %bb.49:
	mov	w0, #0
	b	LBB0_30
LBB0_50:
Lloh75:
	adrp	x9, ___dvd_dummycmdblk@GOTPAGE
Lloh76:
	ldr	x9, [x9, ___dvd_dummycmdblk@GOTPAGEOFF]
	str	x9, [x8]
	mov	w8, #9
	str	w8, [x1]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_16
; %bb.51:
	mov	w0, #-2
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	___dvd_executing,8,3            ; @__dvd_executing
	.comm	___dvd_currcmd,4,2              ; @__dvd_currcmd
	.comm	___dvd_internalretries,8,3      ; @__dvd_internalretries
	.comm	___dvd_resetrequired,4,2        ; @__dvd_resetrequired
	.comm	__diReg,8,3                     ; @_diReg
	.comm	___dvd_canceling,8,3            ; @__dvd_canceling
	.comm	___dvd_dummycmdblk,40,3         ; @__dvd_dummycmdblk
	.comm	___dvd_autofinishing,8,3        ; @__dvd_autofinishing
	.comm	___dvd_drivestate,4,2           ; @__dvd_drivestate
	.comm	_DVD_CHIPPRESENT,4,2            ; @DVD_CHIPPRESENT
	.comm	_DVD_DISKIDSIZE,4,2             ; @DVD_DISKIDSIZE
	.no_dead_strip	___dvd_statebusycb
.subsections_via_symbols
