	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __dvd_popwaitingqueue
___dvd_popwaitingqueue:                 ## @__dvd_popwaitingqueue
	.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
	callq	__CPU_ISR_Disable
	movq	___dvd_waitingqueue@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	___lwp_queue_isempty
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	___lwp_queue_isempty
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rdi
	addq	$8, %rdi
	callq	___lwp_queue_isempty
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	(%rbx), %rdi
	addq	$12, %rdi
	callq	___lwp_queue_isempty
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	callq	__CPU_ISR_Restore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_4:
	movl	$1, %ebx
	jmp	LBB0_2
LBB0_6:
	movl	$2, %ebx
	jmp	LBB0_2
LBB0_8:
	movl	$3, %ebx
LBB0_2:
	callq	__CPU_ISR_Restore
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___dvd_popwaitingqueueprio      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___dvd_waitingqueue,8,3         ## @__dvd_waitingqueue
	.no_dead_strip	___dvd_popwaitingqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __dvd_popwaitingqueue
___dvd_popwaitingqueue:                 ; @__dvd_popwaitingqueue
	.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
	bl	__CPU_ISR_Disable
Lloh0:
	adrp	x19, ___dvd_waitingqueue@GOTPAGE
Lloh1:
	ldr	x19, [x19, ___dvd_waitingqueue@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	___lwp_queue_isempty
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	___lwp_queue_isempty
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	___lwp_queue_isempty
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x19]
	add	x0, x8, #12
	bl	___lwp_queue_isempty
	cbz	w0, LBB0_8
; %bb.4:
	bl	__CPU_ISR_Restore
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w19, #0
	b	LBB0_9
LBB0_6:
	mov	w19, #1
	b	LBB0_9
LBB0_7:
	mov	w19, #2
	b	LBB0_9
LBB0_8:
	mov	w19, #3
LBB0_9:
	bl	__CPU_ISR_Restore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___dvd_popwaitingqueueprio
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	___dvd_waitingqueue,8,3         ; @__dvd_waitingqueue
	.no_dead_strip	___dvd_popwaitingqueue
.subsections_via_symbols
