	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xor_journal
_xor_journal:                           ## @xor_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %r12d
	imull	%ecx, %r12d
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %r12
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	callq	_likely
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	setne	%cl
	sete	%dl
	movq	16(%r15,%rcx,8), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	16(%r15,%rdx,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	-68(%rbp), %rcx
	leaq	-72(%rbp), %r8
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_page_list_location
	movl	-72(%rbp), %edi
	movq	%r12, %r14
	addl	%r12d, %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_roundup
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, %edi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_atomic_add
	movq	_ASYNC_TX_XOR_ZERO_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_complete_journal_op@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %rdi
	xorl	%edx, %edx
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_init_async_submit
	movl	-68(%rbp), %ecx
	movl	%ecx, -76(%rbp)
	movl	%ecx, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %r12d
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_rw_section_mac
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$1, %ebx
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	leal	1(%r12), %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	leaq	-76(%rbp), %rcx
	leaq	-64(%rbp), %r8
	callq	_page_list_location
	movl	-68(%rbp), %eax
	xorl	%edi, %edi
	cmpl	-76(%rbp), %eax
	sete	%dil
	callq	_unlikely
	decl	%ebx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r12d
	xorl	%ebx, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-72(%rbp), %eax
	subq	%rax, %rsi
	movq	%r14, %rdi
	callq	_min
	movq	%rax, %r12
	movl	-68(%rbp), %eax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx,%rax,8), %rcx
	movq	%rcx, -64(%rbp)
	movq	8(%r15), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	%rax, -56(%rbp)
	movl	-72(%rbp), %edx
	leaq	-64(%rbp), %rsi
	movl	$2, %ecx
	movq	%r12, %r8
	leaq	-80(%rbp), %r9
	callq	_async_xor
	movl	-68(%rbp), %eax
	incl	%eax
	movl	%eax, -68(%rbp)
	movl	$0, -72(%rbp)
	subq	%r12, %r14
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-76(%rbp), %ecx
	jmp	LBB0_1
LBB0_11:
	movl	%ebx, %edi
	callq	_BUG_ON
	xorl	%eax, %eax
	callq	_async_tx_issue_pending_all
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SHIFT,8,3               ## @SECTOR_SHIFT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_ASYNC_TX_XOR_ZERO_DST,4,2      ## @ASYNC_TX_XOR_ZERO_DST
	.comm	_complete_journal_op,4,2        ## @complete_journal_op
	.no_dead_strip	_xor_journal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xor_journal
_xor_journal:                           ; @xor_journal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w8, [x0]
	mul	w8, w8, w3
Lloh3:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x22, x8, x9
	mov	x0, x1
	bl	_likely
	mov	w8, #16
	mov	w9, #24
	cmp	x0, #0
	csel	x10, x9, x8, eq
	csel	x8, x8, x9, eq
	ldr	x25, [x21, x8]
	ldr	x26, [x21, x10]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	bl	_page_list_location
	ldr	w8, [sp, #8]
	add	w0, w8, w22
Lloh6:
	adrp	x27, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x27, [x27, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x1, [x27]
	bl	_roundup
Lloh8:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	asr	w0, w0, w8
	mov	x1, x24
	bl	_atomic_add
Lloh11:
	adrp	x8, _ASYNC_TX_XOR_ZERO_DST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASYNC_TX_XOR_ZERO_DST@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _complete_journal_op@GOTPAGE
Lloh15:
	ldr	x8, [x8, _complete_journal_op@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	add	x0, sp, #16
	mov	x2, #0
	mov	x4, x24
	mov	x5, #0
	bl	_init_async_submit
	ldr	w9, [sp, #12]
	str	w9, [sp, #4]
	mov	x8, x9
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_7
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x23
	mov	x0, x19
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x0, x21
	mov	x1, x24
	mov	w2, #1
	bl	_rw_section_mac
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=2
	add	w23, w24, #1
	subs	w20, w20, #1
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=2
	add	x3, sp, #4
	add	x4, sp, #24
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	bl	_page_list_location
	ldr	w8, [sp, #12]
	ldr	w9, [sp, #4]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w23, w24, #1
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x27]
	ldr	w9, [sp, #8]
	sub	x1, x8, x9
	mov	x0, x22
	bl	_min
	mov	x24, x0
	ldp	w2, w8, [sp, #8]
	lsl	x8, x8, #3
	ldr	x0, [x25, x8]
	ldr	x9, [x26, x8]
	str	x9, [sp, #24]
	ldr	x9, [x21, #8]
	ldr	x8, [x9, x8]
	str	x8, [sp, #32]
	add	x1, sp, #24
	add	x5, sp, #16
	mov	w3, #2
	mov	x4, x24
	bl	_async_xor
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	stp	wzr, w8, [sp, #8]
	subs	x22, x22, x24
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [sp, #4]
	b	LBB0_1
LBB0_9:
	mov	x0, x20
	bl	_BUG_ON
	bl	_async_tx_issue_pending_all
	ldr	x8, [sp, #40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SHIFT,8,3               ; @SECTOR_SHIFT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_ASYNC_TX_XOR_ZERO_DST,4,2      ; @ASYNC_TX_XOR_ZERO_DST
	.comm	_complete_journal_op,4,2        ; @complete_journal_op
	.no_dead_strip	_xor_journal
.subsections_via_symbols
