	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SHA1_End
_SHA1_End:                              ## @SHA1_End
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	testq	%r14, %r14
	jne	LBB0_3
## %bb.1:
	leal	(%r12,%r12), %edi
	incl	%edi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_SHA1_Final
	cmpl	$0, (%r13)
	jle	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	leaq	_SHA1_End.hex(%rip), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rdx), %esi
	shrq	$4, %rsi
	movzbl	(%rsi,%rdi), %ecx
	movb	%cl, (%r14,%rdx,2)
	movzbl	(%rbx,%rdx), %ecx
	andl	$15, %ecx
	movzbl	(%rcx,%rdi), %ecx
	movb	%cl, 1(%r14,%rdx,2)
	incq	%rdx
	movslq	(%r13), %rcx
	addq	$2, %rax
	cmpq	%rcx, %rdx
	jl	LBB0_6
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
LBB0_7:
	movb	$0, (%r14,%rax)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LENGTH,4,2                     ## @LENGTH
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @SHA1_End.hex
_SHA1_End.hex:
	.asciz	"0123456789abcdef"

	.no_dead_strip	_SHA1_End
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SHA1_End
_SHA1_End:                              ; @SHA1_End
	.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
	sub	sp, sp, #16
	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]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x22, _LENGTH@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LENGTH@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
	cbnz	x1, LBB0_2
; %bb.1:
	mov	w0, #1
	bfi	w0, w8, #1, #31
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_7
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	bl	_SHA1_Final
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x8, #0
	mov	x9, #0
Lloh7:
	adrp	x10, _SHA1_End.hex@PAGE
Lloh8:
	add	x10, x10, _SHA1_End.hex@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x20, x9]
	lsr	x11, x11, #4
	ldrb	w11, [x10, x11]
	add	x12, x19, x8
	strb	w11, [x12]
	ldrb	w11, [x20, x9]
	and	x11, x11, #0xf
	ldrb	w11, [x10, x11]
	strb	w11, [x12, #1]
	add	x9, x9, #1
	ldrsw	x11, [x22]
	add	x8, x8, #2
	cmp	x9, x11
	b.lt	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x8, #0
LBB0_6:
	strb	wzr, [x19, x8]
LBB0_7:
	ldur	x8, [x29, #-40]
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_9
; %bb.8:
	mov	x0, x19
	sub	sp, x29, #32
	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
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_LENGTH,4,2                     ; @LENGTH
	.section	__TEXT,__cstring,cstring_literals
_SHA1_End.hex:                          ; @SHA1_End.hex
	.asciz	"0123456789abcdef"

	.no_dead_strip	_SHA1_End
.subsections_via_symbols
