	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_huffpuff                       ## -- Begin function huffpuff
	.p2align	4, 0x90
_huffpuff:                              ## @huffpuff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_sys_huffpuff@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.1:
	movq	_sys_huffptr@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	incl	%eax
	movq	_sys_hufflen@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
	movl	%edx, (%rsi)
	movslq	%edx, %rax
	movl	$1000000000, (%rcx,%rax,4)      ## imm = 0x3B9ACA00
	movq	_sys_mindly@GOTPCREL(%rip), %r8
	movl	$1000000000, (%r8)              ## imm = 0x3B9ACA00
	movl	(%rdi), %edi
	testl	%edi, %edi
	jle	LBB0_19
## %bb.2:
	leaq	-1(%rdi), %rax
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$3, %rax
	jae	LBB0_4
## %bb.3:
	movl	$1000000000, %edx               ## imm = 0x3B9ACA00
	xorl	%eax, %eax
LBB0_14:
	testq	%r9, %r9
	je	LBB0_19
## %bb.15:
	leaq	(%rcx,%rax,4), %rax
	xorl	%ecx, %ecx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rcx
	cmpq	%rcx, %r9
	je	LBB0_19
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rcx,4), %esi
	cmpl	%edx, %esi
	jge	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%esi, (%r8)
	movl	%esi, %edx
	jmp	LBB0_18
LBB0_19:
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %edi
	movl	$1000000000, %edx               ## imm = 0x3B9ACA00
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %rax
	cmpq	%rax, %rdi
	je	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rax,4), %esi
	cmpl	%edx, %esi
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, (%r8)
	movl	%esi, %edx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rcx,%rax,4), %esi
	cmpl	%edx, %esi
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, (%r8)
	movl	%esi, %edx
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rcx,%rax,4), %esi
	cmpl	%edx, %esi
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, (%r8)
	movl	%esi, %edx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%rcx,%rax,4), %esi
	cmpl	%edx, %esi
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, (%r8)
	movl	%esi, %edx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_sys_huffpuff,8,3               ## @sys_huffpuff
	.comm	_sys_huffptr,4,2                ## @sys_huffptr
	.comm	_sys_hufflen,4,2                ## @sys_hufflen
	.comm	_sys_mindly,4,2                 ## @sys_mindly
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_huffpuff                       ; -- Begin function huffpuff
	.p2align	2
_huffpuff:                              ; @huffpuff
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _sys_huffpuff@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sys_huffpuff@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w9, #51712
	movk	w9, #15258, lsl #16
Lloh3:
	adrp	x10, _sys_huffptr@GOTPAGE
Lloh4:
	ldr	x10, [x10, _sys_huffptr@GOTPAGEOFF]
	ldr	w11, [x10]
	add	w11, w11, #1
Lloh5:
	adrp	x12, _sys_hufflen@GOTPAGE
Lloh6:
	ldr	x12, [x12, _sys_hufflen@GOTPAGEOFF]
	ldr	w13, [x12]
	sdiv	w14, w11, w13
	msub	w11, w14, w13, w11
	str	w11, [x10]
	str	w9, [x8, w11, sxtw #2]
Lloh7:
	adrp	x10, _sys_mindly@GOTPAGE
Lloh8:
	ldr	x10, [x10, _sys_mindly@GOTPAGEOFF]
	str	w9, [x10]
	ldr	w11, [x12]
	cmp	w11, #1
	b.ge	LBB0_4
LBB0_2:
	ret
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #4
	subs	x11, x11, #1
	b.eq	LBB0_2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8]
	cmp	w12, w9
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w12, [x10]
	mov	x9, x12
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_sys_huffpuff,8,3               ; @sys_huffpuff
	.comm	_sys_huffptr,4,2                ; @sys_huffptr
	.comm	_sys_hufflen,4,2                ; @sys_hufflen
	.comm	_sys_mindly,4,2                 ; @sys_mindly
.subsections_via_symbols
