	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blk_flush_complete_seq
_blk_flush_complete_seq:                ## @blk_flush_complete_seq
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movq	(%r14), %r13
	shlq	$2, %r13
	addq	24(%r14), %r13
	movl	(%rdi), %edi
	andl	%esi, %edi
	callq	_BUG_ON
	orl	%ebx, (%r12)
	xorl	%edi, %edi
	testl	%r15d, %r15d
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%r12, %rdi
	callq	_blk_flush_cur_seq
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$131, %eax
	jne	LBB0_9
## %bb.4:
	leaq	4(%r12), %rdi
	leaq	12(%r14), %rsi
	callq	_list_move_tail
	addq	$8, %r12
	leaq	8(%r14), %rsi
	movq	%r12, %rdi
	callq	_list_add
	movl	$1, %ebx
	jmp	LBB0_10
LBB0_8:
	leaq	8(%r12), %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	leaq	4(%r12), %rdi
	callq	_list_del_init
	movq	%r12, %rdi
	callq	_blk_flush_restore_request
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	___blk_end_request_all
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_5:
	movq	%r13, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
LBB0_7:
	addq	$4, %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_list_move_tail
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_9:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BUG
LBB0_10:
	movq	%r14, %rdi
	callq	_blk_kick_flush
	orl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_blk_flush_complete_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blk_flush_complete_seq
_blk_flush_complete_seq:                ; @blk_flush_complete_seq
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	x23, [x19, #24]
	ldr	x24, [x19]
	ldr	w8, [x0]
	and	w0, w8, w1
	bl	_BUG_ON
	ldr	w8, [x20]
	orr	w8, w8, w22
	str	w8, [x20]
	cmp	w21, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_blk_flush_cur_seq
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.2:
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, #131
	b.ne	LBB0_9
; %bb.4:
	add	x0, x20, #4
	add	x1, x19, #12
	bl	_list_move_tail
	add	x0, x20, #8
	add	x1, x19, #8
	bl	_list_add
	mov	w20, #1
	b	LBB0_11
LBB0_5:
	add	x0, x20, #8
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x0, x20, #4
	bl	_list_del_init
	mov	x0, x20
	bl	_blk_flush_restore_request
	mov	x0, x20
	mov	x1, x21
	bl	___blk_end_request_all
	b	LBB0_10
LBB0_6:
	add	x21, x23, x24, lsl #2
	mov	x0, x21
	bl	_list_empty
	cbz	w0, LBB0_8
; %bb.7:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_8:
	add	x0, x20, #4
	mov	x1, x21
	bl	_list_move_tail
	b	LBB0_10
LBB0_9:
	bl	_BUG
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x19
	bl	_blk_kick_flush
	orr	w0, w0, w20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_blk_flush_complete_seq
.subsections_via_symbols
