	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_exceptions
_read_exceptions:                       ## @read_exceptions
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	$1, -44(%rbp)
	movq	8(%rdi), %rax
	movl	4(%rax), %edi
	callq	_dm_snap_cow
	movl	(%rax), %edi
	movq	8(%r13), %rax
	movl	(%rax), %esi
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_dm_bufio_client_create
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.18:
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	_DM_PREFETCH_CHUNKS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	movq	%r15, %rdi
	callq	_dm_bufio_set_minimum_buffers
	movq	$0, (%r13)
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	xorl	%edi, %edi
	cmpq	%rax, %r12
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %r12
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DM_PREFETCH_CHUNKS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %r12
	leaq	-1(%rax), %r14
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_area_location
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_dm_bufio_get_device_size
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_dm_bufio_prefetch
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	_DM_PREFETCH_CHUNKS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	(%r13), %rcx
	leaq	1(%r12), %rax
	leaq	-1(%r12), %rdx
	cmpq	%rcx, %rdx
	jl	LBB0_6
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rsi
	movq	%r13, %rdi
	callq	_area_location
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	leaq	-80(%rbp), %rdx
	callq	_dm_bufio_read
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	-44(%rbp), %r8
	callq	_insert_exceptions
	movl	%eax, %ebx
	cmpl	$0, -44(%rbp)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r13), %edi
	movq	8(%r13), %rax
	movl	(%rax), %edx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	%r15, %rsi
	callq	_memcpy
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi
	callq	_dm_bufio_release
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_dm_bufio_forget
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rcx
	leaq	1(%rcx), %rax
	movq	%rax, (%r13)
	cmpl	$0, -44(%rbp)
	jne	LBB0_2
## %bb.16:
	movq	%rcx, (%r13)
	movq	%r13, %rdi
	callq	_skip_metadata
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_11:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_17:
	movq	%r15, %rdi
	callq	_dm_bufio_client_destroy
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_DM_PREFETCH_CHUNKS,8,3         ## @DM_PREFETCH_CHUNKS
	.no_dead_strip	_read_exceptions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_exceptions
_read_exceptions:                       ; @read_exceptions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w8, #1
	str	w8, [sp, #12]
	ldr	x8, [x0, #8]
	ldr	w0, [x8, #4]
	bl	_dm_snap_cow
	ldr	w0, [x0]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x26, _SECTOR_SHIFT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SECTOR_SHIFT@GOTPAGEOFF]
	ldr	w9, [x26]
	lsl	w1, w8, w9
	mov	w2, #1
	mov	w3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_dm_bufio_client_create
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
LBB0_2:
Lloh2:
	adrp	x27, _DM_PREFETCH_CHUNKS@GOTPAGE
Lloh3:
	ldr	x27, [x27, _DM_PREFETCH_CHUNKS@GOTPAGEOFF]
	ldr	x8, [x27]
	add	x1, x8, #1
	mov	x0, x22
	bl	_dm_bufio_set_minimum_buffers
	mov	x28, #0
	mov	x8, #0
	str	xzr, [x19]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	x28, x8
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x28, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x28, #1
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x28, x8
	sub	x23, x8, #1
	mov	x0, x19
	mov	x1, x23
	bl	_area_location
	mov	x24, x0
	mov	x0, x22
	bl	_dm_bufio_get_device_size
	cmp	x24, x0
	cset	w0, ge
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	mov	x1, x24
	mov	w2, #1
	bl	_dm_bufio_prefetch
	cmp	x28, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x19]
	ldr	x10, [x27]
	add	x8, x28, #1
	add	x9, x10, x9
	cmp	x23, x9
	b.lt	LBB0_7
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x23
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x19]
	mov	x0, x19
	bl	_area_location
	mov	x24, x0
	mov	x2, sp
	mov	x0, x22
	mov	x1, x24
	bl	_dm_bufio_read
	mov	x25, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x4, sp, #12
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	mov	x3, x20
	bl	_insert_exceptions
	mov	x23, x0
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	ldr	w9, [x26]
	lsl	w2, w8, w9
	mov	x1, x25
	bl	_memcpy
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp]
	bl	_dm_bufio_release
	mov	x0, x22
	mov	x1, x24
	bl	_dm_bufio_forget
	mov	x0, x23
	bl	_unlikely
	cbnz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19]
	add	x8, x9, #1
	str	x8, [x19]
	ldr	w10, [sp, #12]
	cbnz	w10, LBB0_3
; %bb.16:
	str	x9, [x19]
	mov	x0, x19
	bl	_skip_metadata
	mov	w23, #0
	b	LBB0_18
LBB0_17:
	mov	x0, x25
	bl	_PTR_ERR
	mov	x23, x0
LBB0_18:
	mov	x0, x22
	bl	_dm_bufio_client_destroy
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_DM_PREFETCH_CHUNKS,8,3         ; @DM_PREFETCH_CHUNKS
	.no_dead_strip	_read_exceptions
.subsections_via_symbols
