	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chap_compute_md5
_chap_compute_md5:                      ## @chap_compute_md5
	.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	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movb	%dil, -41(%rbp)
	movq	_CHAP_DIGEST_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r9, (%rax)
	sete	%dil
	callq	_assert
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_MD5Init
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_MD5Update
	movq	%r13, %rdi
	callq	_strlen
	movslq	%eax, %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_MD5Update
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_MD5Update
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_MD5Final
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAP_DIGEST_LEN,8,3            ## @CHAP_DIGEST_LEN
	.no_dead_strip	_chap_compute_md5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chap_compute_md5
_chap_compute_md5:                      ; @chap_compute_md5
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	strb	w0, [sp, #15]
Lloh0:
	adrp	x8, _CHAP_DIGEST_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHAP_DIGEST_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x5
	cset	w0, eq
	bl	_assert
	add	x0, sp, #8
	bl	_MD5Init
	add	x0, sp, #8
	add	x1, sp, #15
	mov	w2, #1
	bl	_MD5Update
	mov	x0, x22
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	add	x0, sp, #8
	mov	x1, x22
	bl	_MD5Update
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	bl	_MD5Update
	add	x1, sp, #8
	mov	x0, x19
	bl	_MD5Final
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAP_DIGEST_LEN,8,3            ; @CHAP_DIGEST_LEN
	.no_dead_strip	_chap_compute_md5
.subsections_via_symbols
