	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_journal
_init_journal:                          ## @init_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	xorl	%edx, %edx
	movq	_JOURNAL_SECTOR_DATA@GOTPCREL(%rip), %r15
	movzbl	%cl, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	incl	%edx
	cmpl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	addl	%edx, %eax
	movl	%eax, -44(%rbp)
	movq	%r14, %rdi
	leaq	-44(%rbp), %rsi
	callq	_wraparound_section
	cmpl	$0, (%r14)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_access_journal
	movq	%rax, %rbx
	leaq	4(%rax), %rdi
	movl	(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	callq	_dm_integrity_commit_id
	movl	%eax, (%rbx)
	incl	%r12d
	cmpl	(%r14), %r12d
	jb	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%r14)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_access_journal_entry
	movq	%rax, %rdi
	callq	_journal_entry_set_unused
	incl	%ebx
	cmpl	4(%r14), %ebx
	jb	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_write_journal
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JOURNAL_SECTOR_DATA,4,2        ## @JOURNAL_SECTOR_DATA
	.no_dead_strip	_init_journal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_journal
_init_journal:                          ; @init_journal
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_10
; %bb.1:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	w25, #0
Lloh0:
	adrp	x26, _JOURNAL_SECTOR_DATA@GOTPAGE
Lloh1:
	ldr	x26, [x26, _JOURNAL_SECTOR_DATA@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	cmp	w25, w19
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	add	w8, w25, w20
	str	w8, [sp, #12]
	add	x1, sp, #12
	mov	x0, x22
	bl	_wraparound_section
	ldr	w8, [x22]
	cbz	w8, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [sp, #12]
	mov	x0, x22
	mov	x2, x23
	bl	_access_journal
	mov	x24, x0
	add	x0, x0, #4
	ldr	w2, [x26]
	mov	w1, #0
	bl	_memset
	ldr	w1, [sp, #12]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x21
	bl	_dm_integrity_commit_id
	str	w0, [x24]
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.lo	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [sp, #12]
	mov	x0, x22
	mov	x2, x23
	bl	_access_journal_entry
	bl	_journal_entry_set_unused
	add	w23, w23, #1
	ldr	w8, [x22, #4]
	cmp	w23, w8
	b.lo	LBB0_8
	b	LBB0_2
LBB0_9:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_write_journal
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
LBB0_10:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_JOURNAL_SECTOR_DATA,4,2        ; @JOURNAL_SECTOR_DATA
	.no_dead_strip	_init_journal
.subsections_via_symbols
