	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MSG_initHuffman                ## -- Begin function MSG_initHuffman
	.p2align	4, 0x90
_MSG_initHuffman:                       ## @MSG_initHuffman
	.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	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_msgInit@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_msgHuff@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_Huff_Init
	movq	_msg_hData@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	xorl	%r13d, %r13d
	leaq	4(%r14), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	cmpq	$256, %r13                      ## imm = 0x100
	je	LBB0_5
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	cmpl	$0, (%rax,%r13,4)
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_Huff_addRef
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_Huff_addRef
	incl	%ebx
	movq	(%r12), %rax
	cmpl	(%rax,%r13,4), %ebx
	jl	LBB0_3
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_msgInit,4,2                    ## @msgInit
	.comm	_msgHuff,8,2                    ## @msgHuff
	.comm	_msg_hData,8,3                  ## @msg_hData
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MSG_initHuffman                ; -- Begin function MSG_initHuffman
	.p2align	2
_MSG_initHuffman:                       ; @MSG_initHuffman
	.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
Lloh0:
	adrp	x8, _qtrue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _msgInit@GOTPAGE
Lloh4:
	ldr	x9, [x9, _msgInit@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x19, _msgHuff@GOTPAGE
Lloh7:
	ldr	x19, [x19, _msgHuff@GOTPAGEOFF]
	mov	x0, x19
	bl	_Huff_Init
	mov	x20, #0
Lloh8:
	adrp	x21, _msg_hData@GOTPAGE
Lloh9:
	ldr	x21, [x21, _msg_hData@GOTPAGEOFF]
	ldr	x8, [x21]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	cmp	x20, #256
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w9, [x8, x20, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #0
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x19, #4
	mov	x1, x20
	bl	_Huff_addRef
	mov	x0, x19
	mov	x1, x20
	bl	_Huff_addRef
	add	w22, w22, #1
	ldr	x8, [x21]
	ldr	w9, [x8, x20, lsl #2]
	cmp	w22, w9
	b.lt	LBB0_4
	b	LBB0_1
LBB0_5:
	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
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_msgInit,4,2                    ; @msgInit
	.comm	_msgHuff,8,2                    ; @msgHuff
	.comm	_msg_hData,8,3                  ; @msg_hData
.subsections_via_symbols
