	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_co_gone
_smb_co_gone:                           ## @smb_co_gone
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_2:
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	leaq	12(%rbx), %r12
	movq	%r12, %rdi
	callq	_sx_xlock
	movq	%rbx, %rdi
	callq	_smb_co_lock
	movq	%r12, %rdi
	callq	_sx_unlock
	leaq	8(%rbx), %rdi
	movq	_smb_connobj@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_co_next@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	callq	_SLIST_REMOVE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_smb_co_put
LBB0_4:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smb_connobj,4,2                ## @smb_connobj
	.comm	_co_next,4,2                    ## @co_next
	.no_dead_strip	_smb_co_gone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_co_gone
_smb_co_gone:                           ; @smb_co_gone
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_2:
	ldr	x21, [x19, #16]
	cbz	x21, LBB0_4
; %bb.3:
	add	x22, x21, #12
	mov	x0, x22
	bl	_sx_xlock
	mov	x0, x21
	bl	_smb_co_lock
	mov	x0, x22
	bl	_sx_unlock
	add	x0, x21, #8
Lloh0:
	adrp	x8, _smb_connobj@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smb_connobj@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _co_next@GOTPAGE
Lloh4:
	ldr	x8, [x8, _co_next@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, x19
	bl	_SLIST_REMOVE
	mov	x0, x21
	mov	x1, x20
	bl	_smb_co_put
LBB0_4:
	ldr	x1, [x19]
	cbz	x1, LBB0_6
; %bb.5:
	mov	x0, x19
	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
	br	x1
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_smb_connobj,4,2                ; @smb_connobj
	.comm	_co_next,4,2                    ; @co_next
	.no_dead_strip	_smb_co_gone
.subsections_via_symbols
