	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_bufio_release_move          ## -- Begin function dm_bufio_release_move
	.p2align	4, 0x90
_dm_bufio_release_move:                 ## @dm_bufio_release_move
	.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	%esi, %r15d
	movq	%rdi, %r14
	movq	32(%rdi), %r13
	xorl	%eax, %eax
	callq	_dm_bufio_in_request
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r13, %rdi
	callq	_dm_bufio_lock
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	___find
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	___wait_for_free_buffer
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	___find
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	___make_buffer_clean
	movq	%rbx, %rdi
	callq	___unlink_buffer
	movq	%rbx, %rdi
	callq	___free_buffer_wake
LBB0_5:
	xorl	%edi, %edi
	cmpl	$0, (%r14)
	sete	%dil
	callq	_BUG_ON
	movq	_B_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %r12
	movq	%r12, %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	___write_dirty_buffer
	cmpl	$1, (%r14)
	movq	_B_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	jne	LBB0_7
## %bb.6:
	callq	_wait_on_bit_io
	movq	_B_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	movq	$0, 24(%r14)
	movl	(%r13), %eax
	movl	%eax, 16(%r14)
	movq	_LIST_DIRTY@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_7:
	callq	_wait_on_bit_lock_io
	movl	12(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	___unlink_buffer
	leaq	4(%r14), %rbx
	movl	4(%r14), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	___link_buffer
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_write_endio@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_submit_io
	movq	_B_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wait_on_bit_io
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_8:
	movq	%r14, %rdi
	callq	___unlink_buffer
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	___link_buffer
	movq	%r13, %rdi
	callq	_dm_bufio_unlock
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_bufio_release               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B_READING,4,2                  ## @B_READING
	.comm	_B_WRITING,4,2                  ## @B_WRITING
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.comm	_B_DIRTY,4,2                    ## @B_DIRTY
	.comm	_LIST_DIRTY,4,2                 ## @LIST_DIRTY
	.comm	_REQ_OP_WRITE,4,2               ## @REQ_OP_WRITE
	.comm	_write_endio,4,2                ## @write_endio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_bufio_release_move          ; -- Begin function dm_bufio_release_move
	.p2align	2
_dm_bufio_release_move:                 ; @dm_bufio_release_move
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #32]
	bl	_dm_bufio_in_request
	bl	_BUG_ON
	mov	x0, x20
	bl	_dm_bufio_lock
	mov	x0, x20
	mov	x1, x21
	bl	___find
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	___wait_for_free_buffer
	mov	x0, x20
	mov	x1, x21
	bl	___find
	mov	x22, x0
	cbnz	x0, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	bl	___make_buffer_clean
	mov	x0, x22
	bl	___unlink_buffer
	mov	x0, x22
	bl	___free_buffer_wake
LBB0_5:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh0:
	adrp	x8, _B_READING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B_READING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x22, x19, #8
	mov	x1, x22
	bl	_test_bit
	bl	_BUG_ON
	mov	x0, x19
	mov	x1, #0
	bl	___write_dirty_buffer
Lloh3:
	adrp	x23, _B_WRITING@GOTPAGE
Lloh4:
	ldr	x23, [x23, _B_WRITING@GOTPAGEOFF]
	ldr	w8, [x19]
	ldr	w1, [x23]
Lloh5:
	adrp	x25, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x22
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
	bl	_wait_on_bit_io
Lloh7:
	adrp	x8, _B_DIRTY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _B_DIRTY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
	str	xzr, [x19, #24]
	ldr	w8, [x20]
	str	w8, [x19, #16]
Lloh10:
	adrp	x24, _LIST_DIRTY@GOTPAGE
Lloh11:
	ldr	x24, [x24, _LIST_DIRTY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	bl	_wait_on_bit_lock_io
	ldr	w26, [x19, #12]
	mov	x0, x19
	bl	___unlink_buffer
	mov	x24, x19
	ldr	w2, [x24, #4]!
	mov	x0, x19
	mov	x1, x21
	bl	___link_buffer
Lloh12:
	adrp	x8, _REQ_OP_WRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REQ_OP_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _write_endio@GOTPAGE
Lloh16:
	ldr	x8, [x8, _write_endio@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_submit_io
	ldr	w1, [x23]
	ldr	w2, [x25]
	mov	x0, x22
	bl	_wait_on_bit_io
	mov	x21, x26
LBB0_8:
	mov	x0, x19
	bl	___unlink_buffer
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x21
	bl	___link_buffer
	mov	x0, x20
	bl	_dm_bufio_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dm_bufio_release
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_B_READING,4,2                  ; @B_READING
	.comm	_B_WRITING,4,2                  ; @B_WRITING
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.comm	_B_DIRTY,4,2                    ; @B_DIRTY
	.comm	_LIST_DIRTY,4,2                 ; @LIST_DIRTY
	.comm	_REQ_OP_WRITE,4,2               ; @REQ_OP_WRITE
	.comm	_write_endio,4,2                ; @write_endio
.subsections_via_symbols
