	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Ppmd7_Update1                  ## -- Begin function Ppmd7_Update1
	.p2align	4, 0x90
_Ppmd7_Update1:                         ## @Ppmd7_Update1
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	addq	$4, %rax
	movq	%rax, (%rbx)
	movq	8(%rdi), %rcx
	addl	$4, (%rcx)
	cmpq	-8(%rbx), %rax
	jle	LBB0_3
## %bb.1:
	leaq	-8(%rbx), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_SwapStates
	movq	%r15, (%r14)
	movq	-8(%rbx), %rax
	movq	_MAX_FREQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_Rescale
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NextContext                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FREQ,8,3                   ## @MAX_FREQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Ppmd7_Update1                  ; -- Begin function Ppmd7_Update1
	.p2align	2
_Ppmd7_Update1:                         ; @Ppmd7_Update1
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldp	x20, x8, [x0]
	ldr	x9, [x20]
	add	x9, x9, #4
	str	x9, [x20]
	ldr	w10, [x8]
	add	w10, w10, #4
	str	w10, [x8]
	mov	x21, x20
	ldr	x8, [x21, #-8]!
	cmp	x9, x8
	b.le	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	bl	_SwapStates
	str	x21, [x19]
	ldur	x8, [x20, #-8]
Lloh0:
	adrp	x9, _MAX_FREQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_FREQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_Rescale
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_NextContext
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FREQ,8,3                   ; @MAX_FREQ
.subsections_via_symbols
