	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_signature
_check_signature:                       ## @check_signature
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	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
	subq	$24, %rsp
	.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, %r13
	movslq	%edx, %rbx
	leaq	(%rsi,%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdx
	callq	_sprintf
	leaq	16(%rbx), %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addq	%r14, %rbx
	addq	$16, %rbx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_md5_hex
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$1, %edi
	movl	%r12d, %edx
	movq	%r14, %rcx
	movq	%rbx, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_vkprintf
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx,%r15), %edi
	movsbl	(%r13,%r15), %esi
	callq	_xor_hcyf
	movb	%al, (%rbx,%r15)
	incq	%r15
	cmpq	$32, %r15
	jne	LBB0_3
## %bb.4:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addq	$48, %r15
	movq	%rbx, %rdi
	movl	$32, %esi
	movq	%r15, %rdx
	callq	_md5_hex
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	$0, 64(%rax,%r14)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoull
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	sete	%al
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%016llx"

L_.str.1:                               ## @.str.1
	.asciz	"in check_signature: md5_hex(%.*s)=%.32s, xor with %.32s\n"

L_.str.2:                               ## @.str.2
	.asciz	"xor=%.32s, md5(xor)=%.16s\n"

	.no_dead_strip	_check_signature
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_signature
_check_signature:                       ; @check_signature
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	cbz	x0, LBB0_4
; %bb.1:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	sxtw	x25, w2
	add	x23, x1, x25
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x3
	bl	_sprintf
	add	x24, x25, #16
	add	x22, x23, #16
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_md5_hex
	stp	x22, x21, [sp, #16]
	stp	x24, x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	mov	x26, #0
	add	x24, x20, x24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24, x26]
	ldrsb	w1, [x21, x26]
	bl	_xor_hcyf
	strb	w0, [x24, x26]
	add	x26, x26, #1
	cmp	x26, #32
	b.ne	LBB0_2
; %bb.3:
	add	x21, x23, #48
	mov	x0, x22
	mov	w1, #32
	mov	x2, x21
	bl	_md5_hex
	stp	x22, x21, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	add	x8, x25, x20
	strb	wzr, [x8, #64]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #16
	bl	_strtoull
	cmp	x0, x19
	cset	w0, eq
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%016llx"

l_.str.1:                               ; @.str.1
	.asciz	"in check_signature: md5_hex(%.*s)=%.32s, xor with %.32s\n"

l_.str.2:                               ; @.str.2
	.asciz	"xor=%.32s, md5(xor)=%.16s\n"

	.no_dead_strip	_check_signature
.subsections_via_symbols
