	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_completion_wait
_build_completion_wait:                 ## @build_completion_wait
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	%esi, %rbx
	movq	%rbx, %rdi
	callq	_iommu_virt_to_phys
	movl	%eax, %r15d
	andl	$7, %ebx
	movl	%ebx, %edi
	callq	_WARN_ON
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%r15d, %edi
	callq	_lower_32_bits
	movq	_CMD_COMPL_WAIT_STORE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	movl	%r15d, %edi
	callq	_upper_32_bits
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx)
	movl	$1, 8(%rcx)
	movq	_CMD_COMPL_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CMD_SET_TYPE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_COMPL_WAIT_STORE_MASK,4,2  ## @CMD_COMPL_WAIT_STORE_MASK
	.comm	_CMD_COMPL_WAIT,4,2             ## @CMD_COMPL_WAIT
	.no_dead_strip	_build_completion_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_completion_wait
_build_completion_wait:                 ; @build_completion_wait
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	sxtw	x0, w19
	bl	_iommu_virt_to_phys
	mov	x21, x0
	and	w0, w19, #0x7
	bl	_WARN_ON
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x21
	bl	_lower_32_bits
Lloh0:
	adrp	x8, _CMD_COMPL_WAIT_STORE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_COMPL_WAIT_STORE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldr	x9, [x20]
	str	w8, [x9]
	mov	x0, x21
	bl	_upper_32_bits
	ldr	x8, [x20]
	mov	w9, #1
	stp	w0, w9, [x8, #4]
Lloh3:
	adrp	x8, _CMD_COMPL_WAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_COMPL_WAIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_CMD_SET_TYPE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_COMPL_WAIT_STORE_MASK,4,2  ; @CMD_COMPL_WAIT_STORE_MASK
	.comm	_CMD_COMPL_WAIT,4,2             ; @CMD_COMPL_WAIT
	.no_dead_strip	_build_completion_wait
.subsections_via_symbols
