	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rw_journal_sectors
_rw_journal_sectors:                    ## @rw_journal_sectors
	.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, %r13
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_dm_integrity_failed
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testq	%r13, %r13
	je	LBB0_13
## %bb.2:
	movq	$-1, %rdi
	movq	%r13, %rsi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete_journal_io            ## TAILCALL
LBB0_3:
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%eax, %ecx
	movl	%r12d, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %ecx
	shll	%cl, %r12d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	andl	%r12d, %eax
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, -136(%rbp)
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -132(%rbp)
	movq	_DM_IO_PAGE_LIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -88(%rbp)
	movq	40(%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.4:
	movq	32(%rbx), %rcx
LBB0_5:
	movl	%edx, %edx
	leaq	(%rcx,%rdx,4), %rcx
	movq	%rcx, -96(%rbp)
	movl	%eax, -104(%rbp)
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r13, -112(%rbp)
	movq	_complete_journal_io@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, -120(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -128(%rbp)
	movq	16(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	8(%rbx), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_SB_SECTORS@GOTPCREL(%rip), %rax
	movl	%ecx, %ecx
	addq	(%rbx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, -72(%rbp)
	movl	%r15d, -80(%rbp)
	leaq	-136(%rbp), %rdi
	leaq	-80(%rbp), %rdx
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_dm_io
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_REQ_OP_READ@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_dm_integrity_io_error
	testq	%r13, %r13
	je	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movl	%r12d, %edx
	callq	_WARN_ONCE
	movq	$-1, %rdi
	movq	%r13, %rsi
	callq	_complete_journal_io
LBB0_13:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DM_IO_PAGE_LIST,4,2            ## @DM_IO_PAGE_LIST
	.comm	_SB_SECTORS,8,3                 ## @SB_SECTORS
	.comm	_REQ_OP_READ,4,2                ## @REQ_OP_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading journal"

L_.str.1:                               ## @.str.1
	.asciz	"writing journal"

L_.str.2:                               ## @.str.2
	.asciz	"asynchronous dm_io failed: %d"

	.no_dead_strip	_rw_journal_sectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rw_journal_sectors
_rw_journal_sectors:                    ; @rw_journal_sectors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x20, x0
	bl	_dm_integrity_failed
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x19, LBB0_13
; %bb.2:
	mov	x0, #-1
	mov	x1, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_complete_journal_io
LBB0_3:
Lloh0:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w8, w8, w9
	lsr	w8, w23, w8
	lsl	w9, w23, w9
Lloh6:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	sub	w10, w10, #1
	and	w9, w10, w9
	stp	w21, w24, [sp, #24]
Lloh9:
	adrp	x10, _DM_IO_PAGE_LIST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DM_IO_PAGE_LIST@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	str	w10, [sp, #72]
	ldr	x10, [x20, #40]
	cbnz	x10, LBB0_5
; %bb.4:
	ldr	x10, [x20, #32]
LBB0_5:
	add	x8, x10, w8, uxtw #2
	str	x8, [sp, #64]
	str	w9, [sp, #56]
	cmp	x19, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_7
; %bb.6:
	str	x19, [sp, #48]
Lloh12:
	adrp	x8, _complete_journal_io@GOTPAGE
Lloh13:
	ldr	x8, [x8, _complete_journal_io@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	x8, #0
LBB0_8:
	str	x8, [sp, #40]
	ldr	w8, [x20, #24]
	str	w8, [sp, #32]
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_10
; %bb.9:
	ldr	x8, [x20, #8]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh14:
	adrp	x8, _SB_SECTORS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SB_SECTORS@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh16:
	ldr	x8, [x8]
	add	x9, x9, w23, uxtw
	add	x8, x9, x8
	str	x8, [sp, #8]
	str	w22, [sp]
	add	x0, sp, #24
	mov	x2, sp
	mov	w1, #1
	mov	x3, #0
	bl	_dm_io
	mov	x22, x0
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.11:
Lloh17:
	adrp	x8, _REQ_OP_READ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REQ_OP_READ@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, l_.str.1@PAGE
Lloh21:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh22:
	adrp	x10, l_.str@PAGE
Lloh23:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w8, w21
	csel	x1, x10, x9, eq
	mov	x0, x20
	mov	x2, x22
	bl	_dm_integrity_io_error
	cbz	x19, LBB0_13
; %bb.12:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x2, x22
	bl	_WARN_ONCE
	mov	x0, #-1
	mov	x1, x19
	bl	_complete_journal_io
LBB0_13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DM_IO_PAGE_LIST,4,2            ; @DM_IO_PAGE_LIST
	.comm	_SB_SECTORS,8,3                 ; @SB_SECTORS
	.comm	_REQ_OP_READ,4,2                ; @REQ_OP_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading journal"

l_.str.1:                               ; @.str.1
	.asciz	"writing journal"

l_.str.2:                               ; @.str.2
	.asciz	"asynchronous dm_io failed: %d"

	.no_dead_strip	_rw_journal_sectors
.subsections_via_symbols
