	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generateFixedDistanceTree
_generateFixedDistanceTree:             ## @generateFixedDistanceTree
	.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	_NUM_DISTANCE_SYMBOLS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	shll	$2, %edi
	callq	_lodepng_malloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$5, (%rbx,%rax,4)
	incq	%rax
	movl	(%r15), %edx
	cmpq	%rdx, %rax
	jb	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movl	$83, %eax
	jmp	LBB0_7
LBB0_2:
	xorl	%edx, %edx
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$15, %ecx
	callq	_HuffmanTree_makeFromLengths
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_lodepng_free
	movl	%r14d, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_DISTANCE_SYMBOLS,4,2       ## @NUM_DISTANCE_SYMBOLS
	.no_dead_strip	_generateFixedDistanceTree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generateFixedDistanceTree
_generateFixedDistanceTree:             ; @generateFixedDistanceTree
	.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	x20, x0
Lloh0:
	adrp	x21, _NUM_DISTANCE_SYMBOLS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NUM_DISTANCE_SYMBOLS@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w0, w8, #2
	bl	_lodepng_malloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x8, #0
	mov	w9, #5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w9, [x19, x8, lsl #2]
	add	x8, x8, #1
	ldr	w2, [x21]
	cmp	x8, x2
	b.lo	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w0, #83
	b	LBB0_7
LBB0_5:
	mov	w2, #0
LBB0_6:
	mov	x0, x20
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #15
	bl	_HuffmanTree_makeFromLengths
	mov	x20, x0
	mov	x0, x19
	bl	_lodepng_free
	mov	x0, x20
LBB0_7:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_DISTANCE_SYMBOLS,4,2       ; @NUM_DISTANCE_SYMBOLS
	.no_dead_strip	_generateFixedDistanceTree
.subsections_via_symbols
