	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_from_journal
_copy_from_journal:                     ## @copy_from_journal
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	orl	%edx, %eax
	orl	%r8d, %eax
	movl	(%rdi), %edi
	decl	%edi
	andl	%eax, %edi
	callq	_BUG_ON
	movq	%r13, %rdi
	callq	_dm_integrity_failed
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	$-1, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	imull	4(%r13), %r14d
	movq	_JOURNAL_BLOCK_SECTORS@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	addl	%r14d, %ebx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%eax, %ecx
	movl	%ebx, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	movl	%eax, %ecx
	shll	%cl, %ebx
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	$0, -88(%rbp)
	movq	_DM_IO_PAGE_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	shlq	$2, %rdx
	addq	24(%r13), %rdx
	andl	%ebx, %eax
	movq	%rdx, -104(%rbp)
	movl	%eax, -112(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -120(%rbp)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, -128(%rbp)
	movl	16(%r13), %eax
	movl	%eax, -136(%rbp)
	movq	8(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	%r15d, -72(%rbp)
	movl	%r12d, -68(%rbp)
	leaq	-136(%rbp), %rdi
	leaq	-72(%rbp), %rdx
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_dm_io
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	callq	_WARN_ONCE
	movq	$-1, %rdi
	movq	%r14, %rsi
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
LBB0_3:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JOURNAL_BLOCK_SECTORS,4,2      ## @JOURNAL_BLOCK_SECTORS
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_REQ_OP_WRITE,4,2               ## @REQ_OP_WRITE
	.comm	_DM_IO_PAGE_LIST,4,2            ## @DM_IO_PAGE_LIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"asynchronous dm_io failed: %d"

	.no_dead_strip	_copy_from_journal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_from_journal
_copy_from_journal:                     ; @copy_from_journal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x6
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x4
	mov	x20, x3
	mov	x24, x2
	mov	x23, x1
	mov	x22, x0
	orr	w8, w3, w2
	orr	w8, w8, w4
	ldr	w9, [x0]
	sub	w9, w9, #1
	and	w0, w9, w8
	bl	_BUG_ON
	mov	x0, x22
	bl	_dm_integrity_failed
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #-1
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	br	x2
LBB0_2:
	ldr	w8, [x22, #4]
Lloh0:
	adrp	x9, _JOURNAL_BLOCK_SECTORS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JOURNAL_BLOCK_SECTORS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w9, w9, w24
	madd	w8, w8, w23, w9
Lloh3:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SECTOR_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	sub	w9, w9, w10
	lsr	w9, w8, w9
	lsl	w8, w8, w10
Lloh9:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	sub	w10, w10, #1
	and	w8, w10, w8
Lloh12:
	adrp	x10, _REQ_OP_WRITE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _REQ_OP_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	str	w10, [sp, #88]
	str	xzr, [sp, #80]
Lloh15:
	adrp	x10, _DM_IO_PAGE_LIST@GOTPAGE
Lloh16:
	ldr	x10, [x10, _DM_IO_PAGE_LIST@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	str	w10, [sp, #72]
	ldr	x10, [x22, #24]
	add	x9, x10, w9, uxtw #2
	str	x9, [sp, #64]
	str	w8, [sp, #56]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	stp	x19, x0, [sp, #40]
	ldr	w8, [x22, #16]
	str	w8, [sp, #32]
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	stp	w20, w8, [sp, #20]
	str	w21, [sp, #16]
	add	x0, sp, #32
	add	x2, sp, #16
	mov	w1, #1
	mov	x3, #0
	bl	_dm_io
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_WARN_ONCE
	mov	x0, #-1
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	blr	x2
LBB0_4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_JOURNAL_BLOCK_SECTORS,4,2      ; @JOURNAL_BLOCK_SECTORS
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_REQ_OP_WRITE,4,2               ; @REQ_OP_WRITE
	.comm	_DM_IO_PAGE_LIST,4,2            ; @DM_IO_PAGE_LIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"asynchronous dm_io failed: %d"

	.no_dead_strip	_copy_from_journal
.subsections_via_symbols
