	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxrpc_mark_call_released
_rxrpc_mark_call_released:              ## @rxrpc_mark_call_released
	.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, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_write_lock
	movq	(%rbx), %rax
	movq	_RXRPC_CALL_DEAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.1:
	movq	_RXRPC_CALL_COMPLETE@GOTPCREL(%rip), %rcx
	movb	$1, %r15b
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	__debug
	movq	_RXRPC_CALL_LOCALLY_ABORTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_RX_CALL_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_RXRPC_CALL_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	setne	%r15b
LBB0_3:
	movq	_RXRPC_CALL_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	testb	%r15b, %r15b
	jne	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_rxrpc_queue_call
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RXRPC_CALL_DEAD,8,3            ## @RXRPC_CALL_DEAD
	.comm	_RXRPC_CALL_COMPLETE,8,3        ## @RXRPC_CALL_COMPLETE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"abort call %p"

	.comm	_RXRPC_CALL_LOCALLY_ABORTED,8,3 ## @RXRPC_CALL_LOCALLY_ABORTED
	.comm	_RX_CALL_DEAD,4,2               ## @RX_CALL_DEAD
	.comm	_RXRPC_CALL_ABORT,4,2           ## @RXRPC_CALL_ABORT
	.comm	_RXRPC_CALL_RELEASE,4,2         ## @RXRPC_CALL_RELEASE
	.no_dead_strip	_rxrpc_mark_call_released
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxrpc_mark_call_released
_rxrpc_mark_call_released:              ; @rxrpc_mark_call_released
	.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, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_write_lock
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _RXRPC_CALL_DEAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RXRPC_CALL_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.1:
Lloh3:
	adrp	x9, _RXRPC_CALL_COMPLETE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RXRPC_CALL_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	__debug
Lloh8:
	adrp	x8, _RXRPC_CALL_LOCALLY_ABORTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RXRPC_CALL_LOCALLY_ABORTED@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x20]
Lloh11:
	adrp	x8, _RX_CALL_DEAD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RX_CALL_DEAD@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #16]
Lloh14:
	adrp	x8, _RXRPC_CALL_ABORT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RXRPC_CALL_ABORT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_test_and_set_bit
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_4
LBB0_3:
	mov	w21, #1
LBB0_4:
Lloh17:
	adrp	x8, _RXRPC_CALL_RELEASE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RXRPC_CALL_RELEASE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_test_and_set_bit
	cbz	w0, LBB0_6
; %bb.5:
	tbnz	w21, #0, LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_rxrpc_queue_call
LBB0_7:
	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
	b	_write_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RXRPC_CALL_DEAD,8,3            ; @RXRPC_CALL_DEAD
	.comm	_RXRPC_CALL_COMPLETE,8,3        ; @RXRPC_CALL_COMPLETE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"abort call %p"

	.comm	_RXRPC_CALL_LOCALLY_ABORTED,8,3 ; @RXRPC_CALL_LOCALLY_ABORTED
	.comm	_RX_CALL_DEAD,4,2               ; @RX_CALL_DEAD
	.comm	_RXRPC_CALL_ABORT,4,2           ; @RXRPC_CALL_ABORT
	.comm	_RXRPC_CALL_RELEASE,4,2         ; @RXRPC_CALL_RELEASE
	.no_dead_strip	_rxrpc_mark_call_released
.subsections_via_symbols
