	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___dvd_resetasync               ## -- Begin function __dvd_resetasync
	.p2align	4, 0x90
___dvd_resetasync:                      ## @__dvd_resetasync
	.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	%edi, %ebx
	callq	__CPU_ISR_Disable
	xorl	%eax, %eax
	callq	___dvd_clearwaitingqueue
	movq	___dvd_canceling@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	___dvd_cancelcallback@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	jmp	LBB0_5
LBB0_2:
	movq	___dvd_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	$0, (%rax)
LBB0_4:
	movl	%ebx, %edi
	callq	_DVD_CancelAllAsync
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__CPU_ISR_Restore               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___dvd_canceling,8,3            ## @__dvd_canceling
	.comm	___dvd_cancelcallback,4,2       ## @__dvd_cancelcallback
	.comm	___dvd_executing,8,3            ## @__dvd_executing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___dvd_resetasync               ; -- Begin function __dvd_resetasync
	.p2align	2
___dvd_resetasync:                      ; @__dvd_resetasync
	.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
	mov	x19, x0
	bl	__CPU_ISR_Disable
	bl	___dvd_clearwaitingqueue
Lloh0:
	adrp	x8, ___dvd_canceling@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___dvd_canceling@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, ___dvd_cancelcallback@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___dvd_cancelcallback@GOTPAGEOFF]
Lloh5:
	str	w19, [x8]
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, ___dvd_executing@GOTPAGE
Lloh7:
	ldr	x8, [x8, ___dvd_executing@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	str	xzr, [x8]
LBB0_4:
	mov	x0, x19
	bl	_DVD_CancelAllAsync
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__CPU_ISR_Restore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	___dvd_canceling,8,3            ; @__dvd_canceling
	.comm	___dvd_cancelcallback,4,2       ; @__dvd_cancelcallback
	.comm	___dvd_executing,8,3            ; @__dvd_executing
.subsections_via_symbols
