	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p9_fd_cancel
_p9_fd_cancel:                          ## @p9_fd_cancel
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_P9_DEBUG_TRANS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_P9_DPRINTK
	movq	%r14, %rdi
	callq	_spin_lock
	movq	(%rbx), %rax
	movq	_REQ_STATUS_UNSENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rdi
	callq	_list_del
	xorl	%r15d, %r15d
	movq	_REQ_STATUS_FLSHD@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_REQ_STATUS_SENT@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_REQ_STATUS_FLSH@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P9_DEBUG_TRANS,4,2             ## @P9_DEBUG_TRANS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client %p req %p\n"

	.comm	_REQ_STATUS_UNSENT,8,3          ## @REQ_STATUS_UNSENT
	.comm	_REQ_STATUS_FLSHD,8,3           ## @REQ_STATUS_FLSHD
	.comm	_REQ_STATUS_SENT,8,3            ## @REQ_STATUS_SENT
	.comm	_REQ_STATUS_FLSH,8,3            ## @REQ_STATUS_FLSH
	.no_dead_strip	_p9_fd_cancel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p9_fd_cancel
_p9_fd_cancel:                          ; @p9_fd_cancel
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _P9_DEBUG_TRANS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P9_DEBUG_TRANS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_P9_DPRINTK
	mov	x0, x19
	bl	_spin_lock
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _REQ_STATUS_UNSENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REQ_STATUS_UNSENT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x0, x20, #8
	bl	_list_del
	mov	w21, #0
Lloh8:
	adrp	x8, _REQ_STATUS_FLSHD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REQ_STATUS_FLSHD@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh10:
	adrp	x9, _REQ_STATUS_SENT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _REQ_STATUS_SENT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	mov	w21, #1
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh13:
	adrp	x8, _REQ_STATUS_FLSH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REQ_STATUS_FLSH@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	str	x8, [x20]
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_P9_DEBUG_TRANS,4,2             ; @P9_DEBUG_TRANS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client %p req %p\n"

	.comm	_REQ_STATUS_UNSENT,8,3          ; @REQ_STATUS_UNSENT
	.comm	_REQ_STATUS_FLSHD,8,3           ; @REQ_STATUS_FLSHD
	.comm	_REQ_STATUS_SENT,8,3            ; @REQ_STATUS_SENT
	.comm	_REQ_STATUS_FLSH,8,3            ; @REQ_STATUS_FLSH
	.no_dead_strip	_p9_fd_cancel
.subsections_via_symbols
