	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_bm_read_lock                ## -- Begin function dm_bm_read_lock
	.p2align	4, 0x90
_dm_bm_read_lock:                       ## @dm_bm_read_lock
	.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	%rcx, %r13
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movq	%rcx, %rdx
	callq	_dm_bufio_read
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rdi
	callq	_to_buffer
	movl	%eax, %edi
	callq	_dm_bufio_get_aux_data
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_bl_down_read
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%r13), %rdi
	callq	_to_buffer
	movl	%eax, %edi
	callq	_dm_bufio_release
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_report_recursive_bug
	jmp	LBB0_6
LBB0_3:
	movq	$0, 8(%rbx)
	movq	(%r13), %rdi
	callq	_to_buffer
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_dm_bm_validate_buffer
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_bl_up_read
	movq	(%r13), %rdi
	callq	_to_buffer
	movl	%eax, %edi
	callq	_dm_bufio_release
	jmp	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_bm_read_lock                ; -- Begin function dm_bm_read_lock
	.p2align	2
_dm_bm_read_lock:                       ; @dm_bm_read_lock
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w0, [x0]
	mov	x2, x3
	bl	_dm_bufio_read
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	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
	b	_PTR_ERR
LBB0_2:
	ldr	x0, [x19]
	bl	_to_buffer
	bl	_dm_bufio_get_aux_data
	mov	x24, x0
	bl	_bl_down_read
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	bl	_to_buffer
	bl	_dm_bufio_release
	mov	x0, x22
	mov	x1, x21
	bl	_report_recursive_bug
	b	LBB0_7
LBB0_4:
	str	xzr, [x24, #8]
	ldr	x0, [x19]
	bl	_to_buffer
	mov	x1, x0
	mov	x0, x23
	mov	x2, x24
	mov	x3, x20
	bl	_dm_bm_validate_buffer
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x24
	bl	_bl_up_read
	ldr	x0, [x19]
	bl	_to_buffer
	bl	_dm_bufio_release
	b	LBB0_7
LBB0_6:
	mov	w21, #0
LBB0_7:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
