	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Ppmd7_Update1_0                ## -- Begin function Ppmd7_Update1_0
	.p2align	4, 0x90
_Ppmd7_Update1_0:                       ## @Ppmd7_Update1_0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r8
	movq	16(%rdi), %rcx
	movl	(%r8), %edx
	leal	(%rdx,%rdx), %esi
	movl	(%rcx), %edi
	xorl	%eax, %eax
	cmpl	%edi, %esi
	setg	%al
	movl	%eax, (%rbx)
	addl	%eax, 4(%rbx)
	addl	$4, %edi
	movl	%edi, (%rcx)
	addl	$4, %edx
	movl	%edx, (%r8)
	movq	_MAX_FREQ@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jle	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_Rescale
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_NextContext                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FREQ,4,2                   ## @MAX_FREQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Ppmd7_Update1_0                ; -- Begin function Ppmd7_Update1_0
	.p2align	2
_Ppmd7_Update1_0:                       ; @Ppmd7_Update1_0
	.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, x0
	ldp	x8, x9, [x0, #8]
	ldr	w10, [x8]
	ldr	w11, [x9]
	cmp	w11, w10, lsl #1
	cset	w12, lt
	ldr	w13, [x0, #4]
	cinc	w13, w13, lt
	stp	w12, w13, [x0]
	add	w11, w11, #4
	str	w11, [x9]
	add	w9, w10, #4
	str	w9, [x8]
Lloh0:
	adrp	x8, _MAX_FREQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_FREQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_Rescale
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_NextContext
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FREQ,4,2                   ; @MAX_FREQ
.subsections_via_symbols
