	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_caching_strip                  ## -- Begin function caching_strip
	.p2align	4, 0x90
_caching_strip:                         ## @caching_strip
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	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	%rdi, %rbx
	callq	_strlen
	incl	%eax
	movslq	%eax, %r14
	movq	_caching_strip.buf(%rip), %rdi
	cmpq	%r14, _caching_strip.buf_size(%rip)
	jae	LBB0_4
## %bb.3:
	movq	%r14, %rsi
	callq	_xrealloc
	movq	%rax, %rdi
	movq	%rax, _caching_strip.buf(%rip)
	movq	%r14, _caching_strip.buf_size(%rip)
LBB0_4:
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movq	_caching_strip.buf(%rip), %rdi
	callq	_strip
	movq	_caching_strip.buf(%rip), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_caching_strip.buf,8,3 ## @caching_strip.buf
.zerofill __DATA,__bss,_caching_strip.buf_size,8,3 ## @caching_strip.buf_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_caching_strip                  ; -- Begin function caching_strip
	.p2align	2
_caching_strip:                         ; @caching_strip
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	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	x19, x0
	bl	_strlen
	add	w8, w0, #1
	sxtw	x20, w8
	adrp	x22, _caching_strip.buf_size@PAGE
	ldr	x8, [x22, _caching_strip.buf_size@PAGEOFF]
	adrp	x21, _caching_strip.buf@PAGE
	ldr	x0, [x21, _caching_strip.buf@PAGEOFF]
	cmp	x8, x20
	b.hs	LBB0_3
; %bb.2:
	mov	x1, x20
	bl	_xrealloc
	str	x0, [x21, _caching_strip.buf@PAGEOFF]
	str	x20, [x22, _caching_strip.buf_size@PAGEOFF]
LBB0_3:
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	ldr	x0, [x21, _caching_strip.buf@PAGEOFF]
	bl	_strip
	ldr	x0, [x21, _caching_strip.buf@PAGEOFF]
	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
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_caching_strip.buf,8,3 ; @caching_strip.buf
.zerofill __DATA,__bss,_caching_strip.buf_size,8,3 ; @caching_strip.buf_size
.subsections_via_symbols
