	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmar_qi_emit_wait_descr
_dmar_qi_emit_wait_descr:               ## @dmar_qi_emit_wait_descr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	callq	_DMAR_ASSERT_LOCKED
	movq	_DMAR_IQ_DESCR_WAIT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DMAR_IQ_DESCR_WAIT_IF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_DMAR_IQ_DESCR_WAIT_FN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movq	_DMAR_IQ_DESCR_WAIT_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%ecx, %r13d
	callq	_DMAR_IQ_DESCR_WAIT_SD
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	(%r12), %edx
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_3:
	testl	%r15d, %r15d
	cmovel	%r15d, %r14d
	orl	%ecx, %r14d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	cmovel	%ecx, %ebx
	orl	%eax, %ebx
	orl	%r14d, %ebx
	orl	%esi, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dmar_qi_emit                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAR_IQ_DESCR_WAIT_ID,4,2      ## @DMAR_IQ_DESCR_WAIT_ID
	.comm	_DMAR_IQ_DESCR_WAIT_IF,4,2      ## @DMAR_IQ_DESCR_WAIT_IF
	.comm	_DMAR_IQ_DESCR_WAIT_SW,4,2      ## @DMAR_IQ_DESCR_WAIT_SW
	.comm	_DMAR_IQ_DESCR_WAIT_FN,4,2      ## @DMAR_IQ_DESCR_WAIT_FN
	.no_dead_strip	_dmar_qi_emit_wait_descr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmar_qi_emit_wait_descr
_dmar_qi_emit_wait_descr:               ; @dmar_qi_emit_wait_descr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_DMAR_ASSERT_LOCKED
Lloh0:
	adrp	x8, _DMAR_IQ_DESCR_WAIT_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAR_IQ_DESCR_WAIT_ID@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _DMAR_IQ_DESCR_WAIT_IF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMAR_IQ_DESCR_WAIT_IF@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
Lloh6:
	adrp	x8, _DMAR_IQ_DESCR_WAIT_FN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMAR_IQ_DESCR_WAIT_FN@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
	cbz	w23, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _DMAR_IQ_DESCR_WAIT_SW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMAR_IQ_DESCR_WAIT_SW@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_DMAR_IQ_DESCR_WAIT_SD
	ldr	w2, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
	mov	w2, #0
LBB0_3:
	cmp	w21, #0
	csel	w8, wzr, w26, eq
	orr	w8, w8, w24
	cmp	w20, #0
	csel	w9, wzr, w25, eq
	orr	w8, w8, w9
	orr	w8, w8, w0
	orr	w1, w8, w23
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dmar_qi_emit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAR_IQ_DESCR_WAIT_ID,4,2      ; @DMAR_IQ_DESCR_WAIT_ID
	.comm	_DMAR_IQ_DESCR_WAIT_IF,4,2      ; @DMAR_IQ_DESCR_WAIT_IF
	.comm	_DMAR_IQ_DESCR_WAIT_SW,4,2      ; @DMAR_IQ_DESCR_WAIT_SW
	.comm	_DMAR_IQ_DESCR_WAIT_FN,4,2      ; @DMAR_IQ_DESCR_WAIT_FN
	.no_dead_strip	_dmar_qi_emit_wait_descr
.subsections_via_symbols
