	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function section_mac
_section_mac:                           ## @section_mac
	.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
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_desc@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movl	4(%r13), %esi
	callq	_SHASH_DESC_ON_STACK
	movl	4(%r13), %eax
	movq	(%r14), %rdi
	movl	%eax, (%rdi)
	callq	_crypto_shash_init
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_dm_integrity_io_error
	jmp	LBB0_19
LBB0_2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	je	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_access_journal_entry
	movq	(%r14), %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_crypto_shash_update
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jb	LBB0_4
LBB0_6:
	movl	4(%r13), %edi
	callq	_crypto_shash_digestsize
	movl	%eax, %r15d
	movq	_JOURNAL_MAC_SIZE@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	setbe	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	(%r14), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_shash_final
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%r12d, %edx
LBB0_10:
	callq	_dm_integrity_io_error
	jmp	LBB0_18
LBB0_11:
	movq	%rsp, %r12
	movq	_HASH_MAX_DIGESTSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setb	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	subl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	jmp	LBB0_17
LBB0_13:
	movl	(%r12), %edx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.14:
	movl	%r15d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	subl	%r15d, %edx
	xorl	%esi, %esi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_15:
	movq	(%r14), %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_crypto_shash_final
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
LBB0_17:
	callq	_dm_integrity_io_error
	movq	%r12, %rsp
LBB0_18:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_19:
	movq	_JOURNAL_MAC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_JOURNAL_MAC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_memcpy
	movq	%r12, %rsp
	jmp	LBB0_20
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_JOURNAL_MAC_SIZE,4,2           ## @JOURNAL_MAC_SIZE
	.comm	_desc,8,3                       ## @desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"crypto_shash_init"

L_.str.1:                               ## @.str.1
	.asciz	"crypto_shash_update"

L_.str.2:                               ## @.str.2
	.asciz	"crypto_shash_final"

	.comm	_HASH_MAX_DIGESTSIZE,4,2        ## @HASH_MAX_DIGESTSIZE
L_.str.3:                               ## @.str.3
	.asciz	"digest_size"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_section_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function section_mac
_section_mac:                           ; @section_mac
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _desc@GOTPAGE
Lloh4:
	ldr	x25, [x25, _desc@GOTPAGEOFF]
	ldr	x0, [x25]
	ldr	w1, [x20, #4]
	bl	_SHASH_DESC_ON_STACK
	ldr	w8, [x20, #4]
	ldr	x0, [x25]
	str	w8, [x0]
	bl	_crypto_shash_init
	mov	x22, x0
	bl	_unlikely
Lloh5:
	adrp	x24, _JOURNAL_MAC_SIZE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _JOURNAL_MAC_SIZE@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.1:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	mov	x2, x22
LBB0_3:
	bl	_dm_integrity_io_error
LBB0_4:
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #0
	bl	_memset
LBB0_5:
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.6:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x20]
	cbz	w8, LBB0_11
; %bb.8:
	mov	w22, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_access_journal_entry
	mov	x1, x0
	ldr	x0, [x25]
	mov	w2, #4
	bl	_crypto_shash_update
	mov	x23, x0
	bl	_unlikely
	cbnz	x0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w22, w22, #1
	ldr	w8, [x20]
	cmp	w22, w8
	b.lo	LBB0_9
LBB0_11:
	ldr	w0, [x20, #4]
	bl	_crypto_shash_digestsize
	mov	x21, x0
	ldr	w8, [x24]
	cmp	w0, w8
	cset	w0, ls
	bl	_likely
	cbz	x0, LBB0_15
; %bb.12:
	ldr	x0, [x25]
	mov	x1, x19
	bl	_crypto_shash_final
	mov	x22, x0
	bl	_unlikely
	cbz	x0, LBB0_17
; %bb.13:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_14:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	b	LBB0_3
LBB0_15:
	mov	x23, sp
Lloh16:
	adrp	x8, _HASH_MAX_DIGESTSIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HASH_MAX_DIGESTSIZE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x7fffffff0
	sub	x22, x9, x10
	mov	sp, x22
	cmp	x8, w21, uxtw
	cset	w0, lo
	bl	_WARN_ON
	cbz	x0, LBB0_19
; %bb.16:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w2, w8
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	b	LBB0_21
LBB0_17:
	ldr	w8, [x24]
	ldur	x9, [x29, #-72]
Lloh26:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_23
; %bb.18:
	add	x0, x19, w21, uxtw #2
	sub	w2, w8, w21
	mov	w1, #0
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_memset
LBB0_19:
	ldr	x0, [x25]
	mov	x1, x22
	bl	_crypto_shash_final
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_22
; %bb.20:
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
LBB0_21:
	bl	_dm_integrity_io_error
	mov	sp, x23
	b	LBB0_4
LBB0_22:
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x22
	bl	_memcpy
	mov	sp, x23
	b	LBB0_5
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_JOURNAL_MAC_SIZE,4,2           ; @JOURNAL_MAC_SIZE
	.comm	_desc,8,3                       ; @desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"crypto_shash_init"

l_.str.1:                               ; @.str.1
	.asciz	"crypto_shash_update"

l_.str.2:                               ; @.str.2
	.asciz	"crypto_shash_final"

	.comm	_HASH_MAX_DIGESTSIZE,4,2        ; @HASH_MAX_DIGESTSIZE
l_.str.3:                               ; @.str.3
	.asciz	"digest_size"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_section_mac
.subsections_via_symbols
