	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cfq_exit_single_io_context
___cfq_exit_single_io_context:          ## @__cfq_exit_single_io_context
	.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	32(%rsi), %r15
	leaq	24(%rsi), %rdi
	callq	_list_del_init
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	16(%rbx), %rax
	movq	%rax, (%rbx)
	movq	$0, 16(%rbx)
	movl	4(%r15), %edi
	callq	_rcu_dereference
	cmpq	%rbx, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_spin_lock
	movl	4(%r15), %edi
	xorl	%esi, %esi
	callq	_rcu_assign_pointer
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_2:
	movq	8(%rbx), %rax
	movq	_BLK_RW_ASYNC@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_cfq_exit_cfqq
	movq	8(%rbx), %rax
	movq	(%r15), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	8(%rbx), %rax
LBB0_4:
	movq	_BLK_RW_SYNC@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_cfq_exit_cfqq
	movq	8(%rbx), %rax
	movq	(%r15), %rcx
	movq	$0, (%rax,%rcx,8)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_RW_ASYNC,8,3               ## @BLK_RW_ASYNC
	.comm	_BLK_RW_SYNC,8,3                ## @BLK_RW_SYNC
	.no_dead_strip	___cfq_exit_single_io_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cfq_exit_single_io_context
___cfq_exit_single_io_context:          ; @__cfq_exit_single_io_context
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #32]
	add	x0, x1, #24
	bl	_list_del_init
	bl	_smp_wmb
	ldr	x8, [x19, #16]
	str	x8, [x19]
	str	xzr, [x19, #16]
	ldr	w0, [x21, #4]
	bl	_rcu_dereference
	cmp	x0, x19
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_spin_lock
	ldr	w0, [x21, #4]
	mov	x1, #0
	bl	_rcu_assign_pointer
	mov	x0, x21
	bl	_spin_unlock
LBB0_2:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x21, _BLK_RW_ASYNC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BLK_RW_ASYNC@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_cfq_exit_cfqq
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	str	xzr, [x8, x9, lsl #3]
	ldr	x8, [x19, #8]
LBB0_4:
Lloh2:
	adrp	x21, _BLK_RW_SYNC@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BLK_RW_SYNC@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_cfq_exit_cfqq
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	str	xzr, [x8, x9, lsl #3]
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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_RW_ASYNC,8,3               ; @BLK_RW_ASYNC
	.comm	_BLK_RW_SYNC,8,3                ; @BLK_RW_SYNC
	.no_dead_strip	___cfq_exit_single_io_context
.subsections_via_symbols
