	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block_close                    ## -- Begin function block_close
	.p2align	4, 0x90
_block_close:                           ## @block_close
	.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	_in@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	movq	_st@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_out@GOTPCREL(%rip), %r14
	movq	8(%r14), %rdi
	movq	8(%rbx), %rsi
	subq	%rdx, %rsi
	callq	_memmove
	movq	(%rbx), %rax
	movq	8(%r14), %rdi
	addq	%rax, %rdi
	movq	_ctab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movb	32(%rcx), %cl
	jmp	LBB0_4
LBB0_2:
	movb	$32, %cl
LBB0_4:
	movq	_cbsz@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	subq	%rax, %rdx
	movsbl	%cl, %esi
	callq	_memset
	movl	(%rbx), %eax
	addl	%eax, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_in,16,3                        ## @in
	.comm	_st,4,2                         ## @st
	.comm	_out,16,3                       ## @out
	.comm	_ctab,8,3                       ## @ctab
	.comm	_cbsz,8,3                       ## @cbsz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block_close                    ; -- Begin function block_close
	.p2align	2
_block_close:                           ; @block_close
	.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
Lloh0:
	adrp	x20, _in@GOTPAGE
Lloh1:
	ldr	x20, [x20, _in@GOTPAGEOFF]
	ldr	x2, [x20]
	cbz	x2, LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _st@GOTPAGE
Lloh3:
	ldr	x8, [x8, _st@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh4:
	adrp	x19, _out@GOTPAGE
Lloh5:
	ldr	x19, [x19, _out@GOTPAGEOFF]
	ldr	x0, [x19, #8]
	ldr	x8, [x20, #8]
	sub	x1, x8, x2
	bl	_memmove
	ldr	x9, [x19, #8]
	ldr	x8, [x20]
	add	x0, x8, x9
Lloh6:
	adrp	x9, _ctab@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ctab@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cbz	x9, LBB0_3
; %bb.2:
	ldrb	w9, [x9, #32]
	b	LBB0_4
LBB0_3:
	mov	w9, #32
LBB0_4:
Lloh9:
	adrp	x20, _cbsz@GOTPAGE
Lloh10:
	ldr	x20, [x20, _cbsz@GOTPAGEOFF]
	ldr	x10, [x20]
	sub	x2, x10, x8
	sxtb	w1, w9
	bl	_memset
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_in,16,3                        ; @in
	.comm	_st,4,2                         ; @st
	.comm	_out,16,3                       ; @out
	.comm	_ctab,8,3                       ; @ctab
	.comm	_cbsz,8,3                       ; @cbsz
.subsections_via_symbols
