	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sum_final
_sum_final:                             ## @sum_final
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	(%rdi), %eax
	movq	_F_CKSUM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movl	4(%rdi), %r12d
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.2:
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%r15), %edi
	movzbl	%r12b, %esi
	callq	_COMPUTE_CRC
	sarl	$8, %ebx
	cmpl	$255, %r12d
	movl	%ebx, %r12d
	ja	LBB0_3
## %bb.4:
	movl	(%r15), %eax
LBB0_5:
	movl	32(%r15), %ecx
	notl	%ecx
	movl	%ecx, 28(%r14)
LBB0_6:
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_CKSUM,4,2                    ## @F_CKSUM
	.comm	_F_MD5,4,2                      ## @F_MD5
	.comm	_F_RMD160,4,2                   ## @F_RMD160
	.comm	_F_SHA1,4,2                     ## @F_SHA1
	.comm	_F_SHA256,4,2                   ## @F_SHA256
	.comm	_F_SHA384,4,2                   ## @F_SHA384
	.comm	_F_SHA512,4,2                   ## @F_SHA512
	.no_dead_strip	_sum_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sum_final
_sum_final:                             ; @sum_final
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _F_CKSUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _F_CKSUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w21, [x0, #4]
	cbz	w21, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #32]
	and	w1, w21, #0xff
	bl	_COMPUTE_CRC
	asr	w8, w21, #8
	cmp	w21, #255
	mov	x21, x8
	b.hi	LBB0_2
; %bb.3:
	ldr	w8, [x20]
LBB0_4:
	ldr	w9, [x20, #32]
	mvn	w9, w9
	str	w9, [x19, #28]
LBB0_5:
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_F_CKSUM,4,2                    ; @F_CKSUM
	.comm	_F_MD5,4,2                      ; @F_MD5
	.comm	_F_RMD160,4,2                   ; @F_RMD160
	.comm	_F_SHA1,4,2                     ; @F_SHA1
	.comm	_F_SHA256,4,2                   ; @F_SHA256
	.comm	_F_SHA384,4,2                   ; @F_SHA384
	.comm	_F_SHA512,4,2                   ; @F_SHA512
	.no_dead_strip	_sum_final
.subsections_via_symbols
