	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function crypto_hash_finish
LCPI0_0:
	.long	92                              ## 0x5c
	.long	92                              ## 0x5c
	.long	92                              ## 0x5c
	.long	92                              ## 0x5c
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_crypto_hash_finish
	.p2align	4, 0x90
_crypto_hash_finish:                    ## @crypto_hash_finish
	.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
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r12
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movl	$-131, %eax
	addl	(%r12), %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	cmpq	$19, (%rdx)
	movq	$20, (%rdx)
	jbe	LBB0_8
## %bb.10:
	leaq	8(%r12), %rsi
	movq	%r14, %rdi
	callq	_SHA1Final
	jmp	LBB0_21
LBB0_1:
	movl	$-2, %ebx
	jmp	LBB0_22
LBB0_4:
	movq	%r12, %rdi
	callq	_os_free
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_7:
	cmpq	$15, (%rdx)
	movq	$16, (%rdx)
	jbe	LBB0_8
## %bb.19:
	leaq	12(%r12), %rsi
	movq	%r14, %rdi
	jmp	LBB0_20
LBB0_15:
	cmpq	$19, (%rdx)
	movq	$20, (%rdx)
	jbe	LBB0_8
## %bb.16:
	leaq	8(%r12), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_SHA1Final
	movl	24(%r12), %edx
	movl	28(%r12), %esi
	leaq	-304(%rbp), %rdi
	callq	_os_memcpy
	movslq	24(%r12), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	movl	$256, %edx                      ## imm = 0x100
	subl	%eax, %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_os_memset
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [92,92,92,92]
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movaps	-304(%rbp,%rbx,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-288(%rbp,%rbx,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -304(%rbp,%rbx,4)
	movaps	%xmm2, -288(%rbp,%rbx,4)
	movaps	-272(%rbp,%rbx,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-256(%rbp,%rbx,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -272(%rbp,%rbx,4)
	movaps	%xmm2, -256(%rbp,%rbx,4)
	addq	$16, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_17
## %bb.18:
	movq	%r15, %rdi
	callq	_SHA1Init
	leaq	-304(%rbp), %rsi
	movq	%r15, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_SHA1Update
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$20, %edx
	callq	_SHA1Update
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_SHA1Final
	jmp	LBB0_21
LBB0_11:
	cmpq	$15, (%rdx)
	movq	$16, (%rdx)
	ja	LBB0_12
LBB0_8:
	movq	%r12, %rdi
	callq	_os_free
	movl	$-1, %ebx
	jmp	LBB0_22
LBB0_12:
	leaq	12(%r12), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_MD5Final
	movl	24(%r12), %edx
	movl	28(%r12), %esi
	leaq	-304(%rbp), %rdi
	callq	_os_memcpy
	movslq	24(%r12), %rax
	leaq	-304(,%rax,4), %rdi
	addq	%rbp, %rdi
	movl	$256, %edx                      ## imm = 0x100
	subl	%eax, %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_os_memset
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [92,92,92,92]
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movaps	-304(%rbp,%rbx,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-288(%rbp,%rbx,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -304(%rbp,%rbx,4)
	movaps	%xmm2, -288(%rbp,%rbx,4)
	movaps	-272(%rbp,%rbx,4), %xmm1
	xorps	%xmm0, %xmm1
	movaps	-256(%rbp,%rbx,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	%xmm1, -272(%rbp,%rbx,4)
	movaps	%xmm2, -256(%rbp,%rbx,4)
	addq	$16, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_13
## %bb.14:
	movq	%r15, %rdi
	callq	_MD5Init
	leaq	-304(%rbp), %rsi
	movq	%r15, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_MD5Update
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_MD5Update
	movq	%r14, %rdi
	movq	%r15, %rsi
LBB0_20:
	callq	_MD5Final
LBB0_21:
	movq	%r12, %rdi
	callq	_os_free
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_TEST_FAIL
	negq	%rax
	sbbl	%ebx, %ebx
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%ebx, %eax
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_15
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_hash_finish             ; -- Begin function crypto_hash_finish
	.p2align	2
_crypto_hash_finish:                    ; @crypto_hash_finish
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_8
; %bb.2:
	cbz	x2, LBB0_8
; %bb.3:
	ldr	w8, [x19]
	sub	w8, w8, #131
	cmp	w8, #4
	b.hi	LBB0_16
; %bb.4:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x8, [x2]
	mov	w9, #20
	str	x9, [x2]
	cmp	x8, #19
	b.ls	LBB0_16
; %bb.6:
	add	x1, x19, #8
	mov	x0, x20
	bl	_SHA1Final
	b	LBB0_21
LBB0_7:
	mov	w0, #-2
	b	LBB0_22
LBB0_8:
	mov	x0, x19
	bl	_os_free
	mov	w0, #0
	b	LBB0_22
LBB0_9:
	ldr	x8, [x2]
	mov	w9, #16
	str	x9, [x2]
	cmp	x8, #15
	b.ls	LBB0_16
; %bb.10:
	add	x1, x19, #12
	mov	x0, x20
	b	LBB0_20
LBB0_11:
	ldr	x8, [x2]
	mov	w9, #20
	str	x9, [x2]
	cmp	x8, #19
	b.ls	LBB0_16
; %bb.12:
	add	x21, x19, #8
	mov	x0, x20
	mov	x1, x21
	bl	_SHA1Final
	ldp	w2, w1, [x19, #24]
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_os_memcpy
	ldrsw	x8, [x19, #24]
	add	x0, x22, x8, lsl #2
	mov	w9, #256
	sub	w2, w9, w8
	mov	w1, #0
	bl	_os_memset
	mov	x8, #0
	movi.4s	v0, #92
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x22, x8
	ldp	q1, q2, [x9]
	ldp	q3, q4, [x9, #32]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x9]
	stp	q3, q4, [x9, #32]
	add	x8, x8, #64
	cmp	x8, #1024
	b.ne	LBB0_13
; %bb.14:
	mov	x0, x21
	bl	_SHA1Init
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #256
	bl	_SHA1Update
	mov	x0, x21
	mov	x1, x20
	mov	w2, #20
	bl	_SHA1Update
	mov	x0, x20
	mov	x1, x21
	bl	_SHA1Final
	b	LBB0_21
LBB0_15:
	ldr	x8, [x2]
	mov	w9, #16
	str	x9, [x2]
	cmp	x8, #15
	b.hi	LBB0_17
LBB0_16:
	mov	x0, x19
	bl	_os_free
	mov	w0, #-1
	b	LBB0_22
LBB0_17:
	add	x21, x19, #12
	mov	x0, x20
	mov	x1, x21
	bl	_MD5Final
	ldp	w2, w1, [x19, #24]
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_os_memcpy
	ldrsw	x8, [x19, #24]
	add	x0, x22, x8, lsl #2
	mov	w9, #256
	sub	w2, w9, w8
	mov	w1, #0
	bl	_os_memset
	mov	x8, #0
	movi.4s	v0, #92
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x22, x8
	ldp	q1, q2, [x9]
	ldp	q3, q4, [x9, #32]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x9]
	stp	q3, q4, [x9, #32]
	add	x8, x8, #64
	cmp	x8, #1024
	b.ne	LBB0_18
; %bb.19:
	mov	x0, x21
	bl	_MD5Init
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #256
	bl	_MD5Update
	mov	x0, x21
	mov	x1, x20
	mov	w2, #16
	bl	_MD5Update
	mov	x0, x20
	mov	x1, x21
LBB0_20:
	bl	_MD5Final
LBB0_21:
	mov	x0, x19
	bl	_os_free
	bl	_TEST_FAIL
	cmp	x0, #0
	csetm	w0, ne
LBB0_22:
	ldur	x8, [x29, #-56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
                                        ; -- End function
.subsections_via_symbols
