	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_delete_xprt                ## -- Begin function svc_delete_xprt
	.p2align	4, 0x90
_svc_delete_xprt:                       ## @svc_delete_xprt
	.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	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_XPT_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_BUG
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_dprintk
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	_XPT_DETACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	8(%rbx), %rdi
	callq	_list_del_init
LBB0_4:
	leaq	4(%rbx), %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movq	_XPT_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	decl	4(%r14)
LBB0_6:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_svc_deferred_dequeue
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_9:
	movq	%rbx, %rdi
	callq	_call_xpt_users
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_svc_xprt_put                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XPT_DEAD,4,2                   ## @XPT_DEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svc: svc_delete_xprt(%p)\n"

	.comm	_XPT_DETACHED,4,2               ## @XPT_DETACHED
	.comm	_XPT_TEMP,4,2                   ## @XPT_TEMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_delete_xprt                ; -- Begin function svc_delete_xprt
	.p2align	2
_svc_delete_xprt:                       ; @svc_delete_xprt
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x8, _XPT_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XPT_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_2
; %bb.1:
	bl	_BUG
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_dprintk
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x0, x20
	bl	_spin_lock_bh
Lloh5:
	adrp	x8, _XPT_DETACHED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XPT_DETACHED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_and_set_bit
	cbnz	x0, LBB0_4
; %bb.3:
	add	x0, x19, #8
	bl	_list_del_init
LBB0_4:
	add	x0, x19, #4
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh8:
	adrp	x8, _XPT_TEMP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XPT_TEMP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x20, #4]
	sub	w8, w8, #1
	str	w8, [x20, #4]
LBB0_6:
	mov	x0, x20
	bl	_spin_unlock_bh
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_svc_deferred_dequeue
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_kfree
	b	LBB0_7
LBB0_9:
	mov	x0, x19
	bl	_call_xpt_users
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_svc_xprt_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_XPT_DEAD,4,2                   ; @XPT_DEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svc: svc_delete_xprt(%p)\n"

	.comm	_XPT_DETACHED,4,2               ; @XPT_DETACHED
	.comm	_XPT_TEMP,4,2                   ; @XPT_TEMP
.subsections_via_symbols
