	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Ppmd7_Construct                ## -- Begin function Ppmd7_Construct
	.p2align	4, 0x90
_Ppmd7_Construct:                       ## @Ppmd7_Construct
	.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	%rdi, %r14
	movq	$0, 40(%rdi)
	movq	_PPMD_NUM_INDEXES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testq	%r9, %r9
	je	LBB0_9
## %bb.1:
	xorl	%ecx, %ecx
	movl	$4, %r8d
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %eax
	movq	24(%r14), %rdx
	movq	%rax, (%rdx,%rcx,8)
	incq	%rcx
	cmpq	%r9, %rcx
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	movl	%ecx, %edi
	shrl	$2, %edi
	incl	%edi
	cmpq	$12, %rcx
	cmovael	%r8d, %edi
	leal	-1(%rdi), %r10d
	movl	%edi, %r11d
	andl	$3, %r11d
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%rsi,%rax), %ebx
	movq	32(%r14), %rdx
	movq	%rcx, (%rdx,%rbx,8)
	incl	%eax
	cmpl	%eax, %r11d
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	%eax, %esi
	subl	%eax, %edi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, %r10d
	jb	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r14), %rax
	leal	1(%rsi), %edx
	movl	%esi, %ebx
	movq	%rcx, (%rax,%rbx,8)
	movq	32(%r14), %rax
	leal	2(%rsi), %ebx
	movq	%rcx, (%rax,%rdx,8)
	movq	32(%r14), %rax
	leal	3(%rsi), %edx
	movq	%rcx, (%rax,%rbx,8)
	movq	32(%r14), %rax
	addl	$4, %esi
	movq	%rcx, (%rax,%rdx,8)
	addl	$-4, %edi
	jne	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movq	(%r14), %rdi
	movabsq	$8589934592, %rax               ## imm = 0x200000000
	movq	%rax, (%rdi)
	addq	$8, %rdi
	movl	$4, %esi
	movl	$9, %edx
	callq	_memset
	movq	(%r14), %rdi
	addq	$44, %rdi
	movl	$6, %esi
	movl	$245, %edx
	callq	_memset
	movq	16(%r14), %rax
	movq	$0, (%rax)
	movq	16(%r14), %rax
	movq	$1, 8(%rax)
	movq	16(%r14), %rax
	movq	$2, 16(%rax)
	movl	$1, %edx
	movl	$3, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %esi
	movq	16(%r14), %rdi
	movq	%rsi, 24(%rdi,%rax,8)
	cmpq	$252, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	decl	%edx
	leal	-1(%rcx), %esi
	xorl	%edi, %edi
	testl	%edx, %edx
	cmovnel	%edx, %esi
	sete	%dil
	leal	(%rcx,%rdi), %ebx
	movq	16(%r14), %rdx
	movq	%rbx, 32(%rdx,%rax,8)
	leal	(%rcx,%rdi), %edx
	decl	%edx
	xorl	%ecx, %ecx
	decl	%esi
	sete	%cl
	cmovnel	%esi, %edx
	addl	%ebx, %ecx
	addq	$2, %rax
                                        ## kill: def $ecx killed $ecx def $rcx
	jmp	LBB0_10
LBB0_12:
	movq	8(%r14), %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movl	$256, %edi                      ## imm = 0x100
	addq	8(%r14), %rdi
	movl	$8, %esi
	movl	$192, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPMD_NUM_INDEXES,4,2           ## @PPMD_NUM_INDEXES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function Ppmd7_Construct
lCPI0_0:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Ppmd7_Construct
	.p2align	2
_Ppmd7_Construct:                       ; @Ppmd7_Construct
	.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
	str	xzr, [x0, #40]
Lloh0:
	adrp	x8, _PPMD_NUM_INDEXES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPMD_NUM_INDEXES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x9, #0
	mov	w11, #0
	mov	w10, #4
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ubfx	x12, x9, #2, #30
	cmp	x9, #11
	csinc	w12, w10, w12, hi
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
                                        ; kill: def $w11 killed $w11 killed $x11
	ldr	x13, [x19, #32]
	str	x9, [x13, w11, uxtw #3]
	add	w11, w11, #1
	subs	w12, w12, #1
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x19, #24]
	str	x11, [x12, x9, lsl #3]
	add	x9, x9, #1
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_5:
	ldr	x0, [x19]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0], #8
	mov	w1, #4
	mov	w2, #9
	bl	_memset
	ldr	x8, [x19]
	add	x0, x8, #44
	mov	w1, #6
	mov	w2, #245
	bl	_memset
	ldr	x8, [x19, #16]
	str	xzr, [x8]
	ldr	x9, [x19, #16]
	mov	w8, #1
	str	x8, [x9, #8]
	ldr	x9, [x19, #16]
	mov	w10, #2
	str	x10, [x9, #16]
	mov	w9, #3
	mov	w10, #24
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	w11, w9
	ldr	x12, [x19, #16]
	str	x11, [x12, x10]
	subs	w8, w8, #1
	sub	w11, w9, #1
	csel	w8, w11, w8, eq
	cinc	w9, w9, eq
	add	x10, x10, #8
	cmp	x10, #2048
	b.ne	LBB0_6
; %bb.7:
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	x8, [x19, #8]
	add	x0, x8, #256
	mov	w1, #8
	mov	w2, #192
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PPMD_NUM_INDEXES,4,2           ; @PPMD_NUM_INDEXES
.subsections_via_symbols
