	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chapDigest                     ## -- Begin function chapDigest
	.p2align	4, 0x90
_chapDigest:                            ## @chapDigest
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$3, %edi
	callq	_debug_called
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movsbl	%r12b, %edi
	leaq	-64(%rbp), %rcx
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_chapMD5
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movsbl	%r12b, %edi
	leaq	-64(%rbp), %rcx
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_chapSHA1
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movl	$16, %r15d
	jmp	LBB0_8
LBB0_7:
	movl	$20, %r15d
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	leaq	-67(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_sprintf
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_bin2str
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"5"

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

L_.str.2:                               ## @.str.2
	.asciz	"%.2s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chapDigest                     ; -- Begin function chapDigest
	.p2align	2
_chapDigest:                            ; @chapDigest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w0, #3
	bl	_debug_called
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.1:
	add	x3, sp, #4
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_chapMD5
	cbz	x0, LBB0_5
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.3:
	add	x3, sp, #4
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_chapSHA1
	cbz	x0, LBB0_6
LBB0_4:
	mov	x0, #0
	b	LBB0_8
LBB0_5:
	mov	w20, #16
	b	LBB0_7
LBB0_6:
	mov	w20, #20
LBB0_7:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #1
	mov	x2, x19
	bl	_sprintf
	add	x0, sp, #1
	add	x1, sp, #4
	mov	x2, x20
	bl	_bin2str
LBB0_8:
	ldr	x8, [sp, #24]
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_10
; %bb.9:
	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
	add	sp, sp, #80
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"5"

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

l_.str.2:                               ; @.str.2
	.asciz	"%.2s"

.subsections_via_symbols
