	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cl_block
_cl_block:                              ## @cl_block
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_in_count@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_CHECK_GAP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	_checkpoint@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	cmpq	$8388608, %rax                  ## imm = 0x800000
	jl	LBB0_5
## %bb.1:
	movq	_bytes_out@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	cmpl	$256, %esi                      ## imm = 0x100
	jb	LBB0_6
## %bb.2:
	sarl	$8, %esi
	movslq	%esi, %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	cqto
	idivq	%rcx
	movq	%rax, %rcx
	jmp	LBB0_6
LBB0_5:
	shll	$8, %eax
	movq	_bytes_out@GOTPCREL(%rip), %rcx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	(%rcx)
	movslq	%eax, %rcx
LBB0_6:
	movq	_ratio@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jle	LBB0_9
## %bb.7:
	movq	%rcx, (%rax)
	jmp	LBB0_8
LBB0_9:
	movq	$0, (%rax)
	movq	_hsize@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cl_hash
	movq	_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_free_ent@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_clear_flg@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_output
	cmpl	$-1, %eax
	je	LBB0_10
LBB0_8:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %ecx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_in_count,4,2                   ## @in_count
	.comm	_CHECK_GAP,8,3                  ## @CHECK_GAP
	.comm	_checkpoint,8,3                 ## @checkpoint
	.comm	_bytes_out,4,2                  ## @bytes_out
	.comm	_ratio,8,3                      ## @ratio
	.comm	_hsize,8,3                      ## @hsize
	.comm	_FIRST,4,2                      ## @FIRST
	.comm	_free_ent,4,2                   ## @free_ent
	.comm	_clear_flg,4,2                  ## @clear_flg
	.comm	_CLEAR,8,3                      ## @CLEAR
	.no_dead_strip	_cl_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cl_block
_cl_block:                              ; @cl_block
	.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
Lloh0:
	adrp	x8, _in_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _in_count@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
Lloh3:
	adrp	x9, _CHECK_GAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHECK_GAP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, x8
Lloh6:
	adrp	x10, _checkpoint@GOTPAGE
Lloh7:
	ldr	x10, [x10, _checkpoint@GOTPAGEOFF]
Lloh8:
	str	x9, [x10]
	cmp	w8, #2048, lsl #12              ; =8388608
	b.lt	LBB0_2
; %bb.1:
Lloh9:
	adrp	x9, _bytes_out@GOTPAGE
Lloh10:
	ldr	x9, [x9, _bytes_out@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	mov	w10, #2147483647
	cmp	w9, #256
	sbfx	x9, x9, #8, #24
	sdiv	x8, x8, x9
	csel	x8, x10, x8, lo
	b	LBB0_3
LBB0_2:
	lsl	w8, w8, #8
Lloh12:
	adrp	x9, _bytes_out@GOTPAGE
Lloh13:
	ldr	x9, [x9, _bytes_out@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	sxtw	x8, w8
LBB0_3:
Lloh15:
	adrp	x9, _ratio@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ratio@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.le	LBB0_5
; %bb.4:
	str	x8, [x9]
	b	LBB0_6
LBB0_5:
	str	xzr, [x9]
Lloh17:
	adrp	x8, _hsize@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hsize@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cl_hash
Lloh20:
	adrp	x8, _FIRST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FIRST@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _free_ent@GOTPAGE
Lloh24:
	ldr	x9, [x9, _free_ent@GOTPAGEOFF]
Lloh25:
	adrp	x10, _clear_flg@GOTPAGE
Lloh26:
	ldr	x10, [x10, _clear_flg@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
	mov	w8, #1
Lloh28:
	str	w8, [x10]
Lloh29:
	adrp	x8, _CLEAR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CLEAR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_output
	cmn	w0, #1
	b.eq	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_in_count,4,2                   ; @in_count
	.comm	_CHECK_GAP,8,3                  ; @CHECK_GAP
	.comm	_checkpoint,8,3                 ; @checkpoint
	.comm	_bytes_out,4,2                  ; @bytes_out
	.comm	_ratio,8,3                      ; @ratio
	.comm	_hsize,8,3                      ; @hsize
	.comm	_FIRST,4,2                      ; @FIRST
	.comm	_free_ent,4,2                   ; @free_ent
	.comm	_clear_flg,4,2                  ; @clear_flg
	.comm	_CLEAR,8,3                      ; @CLEAR
	.no_dead_strip	_cl_block
.subsections_via_symbols
