	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cram
_cram:                                  ## @cram
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_xmalloc
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_EVP_DecodeBlock
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	xorl	%eax, %eax
	callq	_EVP_md5
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_strlen
	movq	$0, (%rsp)
	leaq	-64(%rbp), %r9
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	callq	_HMAC
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	movb	$0, -80(%rbp)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-64(%rbp,%rbx), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	callq	_hexchar
	movb	%al, -112(%rbp,%rbx,2)
	movzbl	-64(%rbp,%rbx), %edi
	andl	$15, %edi
	callq	_hexchar
	movb	%al, -111(%rbp,%rbx,2)
	incq	%rbx
	cmpq	$16, %rbx
	jne	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	leaq	-112(%rbp), %rdx
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_xstrfmt
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ENCODED_SIZE
	movl	%eax, %edi
	callq	_xmallocz
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_EVP_EncodeBlock
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid challenge %s"

L_.str.1:                               ## @.str.1
	.asciz	"HMAC error"

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

L_.str.3:                               ## @.str.3
	.asciz	"EVP_EncodeBlock error"

	.no_dead_strip	_cram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cram
_cram:                                  ; @cram
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_strlen
	mov	x22, x0
	bl	_xmalloc
	mov	x21, x0
	mov	x1, x23
	mov	x2, x22
	bl	_EVP_DecodeBlock
	mov	x22, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
	str	x23, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
	bl	_EVP_md5
	mov	x23, x0
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	add	x24, sp, #56
	add	x5, sp, #56
	mov	x0, x23
	mov	x1, x20
	mov	x3, x21
	mov	x4, x22
	mov	x6, #0
	bl	_HMAC
	cbnz	w0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_4:
	mov	x20, #0
	strb	wzr, [sp, #55]
	add	x8, sp, #23
	add	x21, x8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x24, x20]
	lsr	w0, w8, #4
	bl	_hexchar
	sturb	w0, [x21, #-1]
	ldrb	w8, [x24, x20]
	and	w0, w8, #0xf
	bl	_hexchar
	strb	w0, [x21], #2
	add	x20, x20, #1
	cmp	x20, #16
	b.ne	LBB0_5
; %bb.6:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x2, sp, #23
	mov	x1, x19
	bl	_xstrfmt
	mov	x20, x0
	bl	_strlen
	mov	x21, x0
	bl	_ENCODED_SIZE
	bl	_xmallocz
	mov	x19, x0
	mov	x1, x20
	mov	x2, x21
	bl	_EVP_EncodeBlock
	tbz	w0, #31, LBB0_8
; %bb.7:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_die
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid challenge %s"

l_.str.1:                               ; @.str.1
	.asciz	"HMAC error"

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

l_.str.3:                               ; @.str.3
	.asciz	"EVP_EncodeBlock error"

	.no_dead_strip	_cram
.subsections_via_symbols
