	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function special_completion
_special_completion:                    ## @special_completion
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_CMD_CTX_CANCELLED@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	je	LBB0_8
## %bb.1:
	movq	%rsi, %rax
	movq	_CMD_CTX_FLUSH@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	je	LBB0_8
## %bb.2:
	movq	_CMD_CTX_COMPLETED@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_3
## %bb.4:
	movq	_CMD_CTX_INVALID@GOTPCREL(%rip), %rcx
	movq	(%rdi), %rbx
	cmpq	%rax, (%rcx)
	je	LBB0_5
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	(%rdi), %rbx
	movslq	4(%rdx), %r14
	movq	%rdx, %rdi
	callq	_le16_to_cpup
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	movslq	4(%rdx), %r14
	movq	%rdx, %rdi
	callq	_le16_to_cpup
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_CTX_CANCELLED,8,3          ## @CMD_CTX_CANCELLED
	.comm	_CMD_CTX_FLUSH,8,3              ## @CMD_CTX_FLUSH
	.comm	_CMD_CTX_COMPLETED,8,3          ## @CMD_CTX_COMPLETED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"completed id %d twice on queue %d\n"

	.comm	_CMD_CTX_INVALID,8,3            ## @CMD_CTX_INVALID
L_.str.1:                               ## @.str.1
	.asciz	"invalid id %d completed on queue %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown special completion %p\n"

	.no_dead_strip	_special_completion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function special_completion
_special_completion:                    ; @special_completion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x9, _CMD_CTX_CANCELLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CMD_CTX_CANCELLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CMD_CTX_FLUSH@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CMD_CTX_FLUSH@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x1
	ccmp	x10, x1, #4, ne
	b.eq	LBB0_7
; %bb.1:
	mov	x8, x1
Lloh6:
	adrp	x9, _CMD_CTX_COMPLETED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CMD_CTX_COMPLETED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x1
	b.eq	LBB0_4
; %bb.2:
Lloh9:
	adrp	x9, _CMD_CTX_INVALID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CMD_CTX_INVALID@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x19, [x0]
	cmp	x9, x8
	b.eq	LBB0_5
; %bb.3:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dev_warn
LBB0_4:
	ldr	x19, [x0]
	ldrsw	x20, [x2, #4]
	mov	x0, x2
	bl	_le16_to_cpup
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldrsw	x20, [x2, #4]
	mov	x0, x2
	bl	_le16_to_cpup
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	mov	x2, x20
	bl	_dev_warn
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_CTX_CANCELLED,8,3          ; @CMD_CTX_CANCELLED
	.comm	_CMD_CTX_FLUSH,8,3              ; @CMD_CTX_FLUSH
	.comm	_CMD_CTX_COMPLETED,8,3          ; @CMD_CTX_COMPLETED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"completed id %d twice on queue %d\n"

	.comm	_CMD_CTX_INVALID,8,3            ; @CMD_CTX_INVALID
l_.str.1:                               ; @.str.1
	.asciz	"invalid id %d completed on queue %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown special completion %p\n"

	.no_dead_strip	_special_completion
.subsections_via_symbols
