	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_MD5Final                  ## -- Begin function HPDF_MD5Final
	.p2align	4, 0x90
_HPDF_MD5Final:                         ## @HPDF_MD5Final
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	16(%rsi), %rcx
	movl	(%rax), %eax
	shrl	$3, %eax
	andl	$63, %eax
	leaq	(%rcx,%rax,4), %rdi
	addq	$4, %rdi
	movl	$128, (%rcx,%rax,4)
	movl	%eax, %edx
	xorl	$63, %edx
	cmpl	$7, %edx
	ja	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	callq	_HPDF_MemSet
	movq	16(%rbx), %rdi
	movl	$16, %esi
	callq	_MD5ByteReverse
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rsi
	callq	_MD5Transform
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	jmp	LBB0_3
LBB0_2:
	movl	$55, %edx
	subl	%eax, %edx
	xorl	%esi, %esi
LBB0_3:
	callq	_HPDF_MemSet
	movq	16(%rbx), %rdi
	movl	$14, %esi
	callq	_MD5ByteReverse
	movq	(%rbx), %rax
	movq	16(%rbx), %rsi
	movl	(%rax), %ecx
	movl	%ecx, 56(%rsi)
	movl	4(%rax), %eax
	movl	%eax, 60(%rsi)
	movq	8(%rbx), %rdi
	callq	_MD5Transform
	movq	8(%rbx), %rdi
	movl	$4, %esi
	callq	_MD5ByteReverse
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_HPDF_MemCpy
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_HPDF_MemSet                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_MD5Final                  ; -- Begin function HPDF_MD5Final
	.p2align	2
_HPDF_MD5Final:                         ; @HPDF_MD5Final
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldr	w8, [x8]
	ubfx	x8, x8, #3, #6
	ldr	x9, [x1, #16]
	add	x0, x9, x8, lsl #2
	mov	w9, #128
	str	w9, [x0], #4
	eor	w2, w8, #0x3f
	cmp	w2, #7
	b.hi	LBB0_2
; %bb.1:
	mov	w1, #0
	bl	_HPDF_MemSet
	ldr	x0, [x19, #16]
	mov	w1, #16
	bl	_MD5ByteReverse
	ldp	x0, x1, [x19, #8]
	bl	_MD5Transform
	ldr	x0, [x19, #16]
	mov	w1, #0
	mov	w2, #56
	b	LBB0_3
LBB0_2:
	mov	w9, #55
	sub	w2, w9, w8
	mov	w1, #0
LBB0_3:
	bl	_HPDF_MemSet
	ldr	x0, [x19, #16]
	mov	w1, #14
	bl	_MD5ByteReverse
	ldp	x8, x0, [x19]
	ldr	w9, [x8]
	ldr	x1, [x19, #16]
	str	w9, [x1, #56]
	ldr	w8, [x8, #4]
	str	w8, [x1, #60]
	bl	_MD5Transform
	ldr	x0, [x19, #8]
	mov	w1, #4
	bl	_MD5ByteReverse
	ldr	x1, [x19, #8]
	mov	x0, x20
	mov	w2, #16
	bl	_HPDF_MemCpy
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_HPDF_MemSet
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
