	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chapSHA1
_chapSHA1:                              ## @chapSHA1
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movb	%dil, -33(%rbp)
	movl	$3, %edi
	callq	_debug_called
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_SHA1_Init
	leaq	-33(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_SHA1_Update
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_str2bin
	movl	$-1, %ebx
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdi
	movl	%eax, %edx
	callq	_SHA1_Update
	movq	-48(%rbp), %rdi
	callq	_free
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_str2bin
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_SHA1_Update
	movq	-48(%rbp), %rdi
	callq	_free
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_SHA1_Final
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_chapSHA1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chapSHA1
_chapSHA1:                              ; @chapSHA1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x2
	mov	x20, x1
	strb	w0, [sp, #15]
	mov	w0, #3
	bl	_debug_called
	add	x0, sp, #8
	bl	_SHA1_Init
	add	x0, sp, #8
	add	x1, sp, #15
	mov	w2, #1
	bl	_SHA1_Update
	mov	x1, sp
	mov	x0, x21
	bl	_str2bin
	cbz	w0, LBB0_3
; %bb.1:
	mov	x2, x0
	ldr	x1, [sp]
	add	x0, sp, #8
	bl	_SHA1_Update
	ldr	x0, [sp]
	bl	_free
	mov	x1, sp
	mov	x0, x20
	bl	_str2bin
	cbz	w0, LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	x1, [sp]
	add	x0, sp, #8
	bl	_SHA1_Update
	ldr	x0, [sp]
	bl	_free
	add	x1, sp, #8
	mov	x0, x19
	bl	_SHA1_Final
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_chapSHA1
.subsections_via_symbols
