	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __stm_source_link_drop
___stm_source_link_drop:                ## @__stm_source_link_drop
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	leaq	16(%rsi), %rdi
	callq	_lockdep_assert_held
	leaq	8(%r13), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	16(%r14), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	movl	20(%r14), %edi
	movq	_stm_source_srcu@GOTPCREL(%rip), %rsi
	movl	$1, %edx
	callq	_srcu_dereference_check
	cmpq	%r13, %rax
	je	LBB0_2
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_stm_output_free
	leaq	24(%r14), %rdi
	callq	_list_del_init
	leaq	12(%r13), %rbx
	movq	%rbx, %rdi
	callq	_pm_runtime_mark_last_busy
	movq	%rbx, %rdi
	callq	_pm_runtime_put_autosuspend
	movq	%r13, %rdi
	callq	_stm_put_device
	movl	20(%r14), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_rcu_assign_pointer
LBB0_3:
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	%r15, %rdi
	callq	_spin_unlock
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.4:
	movq	8(%r14), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	*%rax
LBB0_6:
	movq	(%r13), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r14), %edx
	movl	4(%r14), %esi
	callq	*%rax
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stm_source_srcu,4,2            ## @stm_source_srcu
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	___stm_source_link_drop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __stm_source_link_drop
___stm_source_link_drop:                ; @__stm_source_link_drop
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	add	x0, x1, #16
	bl	_lockdep_assert_held
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock
	add	x22, x19, #16
	mov	x0, x22
	bl	_spin_lock
	ldr	w0, [x19, #20]
Lloh0:
	adrp	x1, _stm_source_srcu@GOTPAGE
Lloh1:
	ldr	x1, [x1, _stm_source_srcu@GOTPAGEOFF]
	mov	w2, #1
	bl	_srcu_dereference_check
	cmp	x0, x20
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_stm_output_free
	add	x0, x19, #24
	bl	_list_del_init
	add	x23, x20, #12
	mov	x0, x23
	bl	_pm_runtime_mark_last_busy
	mov	x0, x23
	bl	_pm_runtime_put_autosuspend
	mov	x0, x20
	bl	_stm_put_device
	ldr	w0, [x19, #20]
	mov	x1, #0
	bl	_rcu_assign_pointer
	mov	w23, #0
LBB0_3:
	mov	x0, x22
	bl	_spin_unlock
	mov	x0, x21
	bl	_spin_unlock
	cbnz	w23, LBB0_8
; %bb.4:
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.5:
	blr	x8
LBB0_6:
	ldr	x0, [x20]
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.7:
	ldp	w2, w1, [x19]
	blr	x8
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_stm_source_srcu,4,2            ; @stm_source_srcu
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	___stm_source_link_drop
.subsections_via_symbols
