	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enlarge_bufspace               ## -- Begin function enlarge_bufspace
	.p2align	4, 0x90
_enlarge_bufspace:                      ## @enlarge_bufspace
	.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	_bufsize@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	addl	%eax, %esi
	movl	%esi, (%r14)
	movq	_buf@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rdx
	callq	_xrealloc
	movq	_MAXINP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	cmpl	$1, %r8d
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	movq	_bbase@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rbx
	subq	(%r15), %rbx
	addq	%rax, %rbx
	movq	%rbx, (%rcx,%rdx,8)
	movq	(%rdi), %rcx
	movq	8(%rcx,%rdx,8), %rbx
	subq	(%r15), %rbx
	addq	%rax, %rbx
	movq	%rbx, 8(%rcx,%rdx,8)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movq	_bbase@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rdx,8), %rsi
	subq	(%r15), %rsi
	addq	%rax, %rsi
	movq	%rsi, (%rcx,%rdx,8)
LBB0_7:
	movq	_bp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%r15), %rsi
	subq	%rsi, %rdx
	addq	%rax, %rdx
	movq	%rdx, (%rcx)
	movq	_bufbase@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	subq	%rsi, %rdx
	addq	%rax, %rdx
	movq	%rdx, (%rcx)
	movq	%rax, (%r15)
	movslq	(%r14), %rcx
	addq	%rax, %rcx
	movq	_endpbb@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bufsize,4,2                    ## @bufsize
	.comm	_buf,8,3                        ## @buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many characters pushed back"

	.comm	_MAXINP,4,2                     ## @MAXINP
	.comm	_bbase,8,3                      ## @bbase
	.comm	_bp,8,3                         ## @bp
	.comm	_bufbase,8,3                    ## @bufbase
	.comm	_endpbb,8,3                     ## @endpbb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enlarge_bufspace               ; -- Begin function enlarge_bufspace
	.p2align	2
_enlarge_bufspace:                      ; @enlarge_bufspace
	.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	x19, _bufsize@GOTPAGE
Lloh1:
	ldr	x19, [x19, _bufsize@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w9, w8, lt
	add	w1, w8, w9, asr #1
	str	w1, [x19]
Lloh2:
	adrp	x20, _buf@GOTPAGE
Lloh3:
	ldr	x20, [x20, _buf@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	bl	_xrealloc
Lloh6:
	adrp	x8, _MAXINP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAXINP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	lsl	x9, x9, #3
Lloh9:
	adrp	x10, _bbase@GOTPAGE
Lloh10:
	ldr	x10, [x10, _bbase@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	ldr	x12, [x11, x8]
	ldr	x13, [x20]
	sub	x12, x12, x13
	add	x12, x0, x12
	str	x12, [x11, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_3:
Lloh11:
	adrp	x8, _bp@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bp@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x20]
	sub	x9, x9, x10
	add	x9, x0, x9
	str	x9, [x8]
Lloh13:
	adrp	x8, _bufbase@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bufbase@GOTPAGEOFF]
	ldr	x9, [x8]
	sub	x9, x9, x10
	add	x9, x0, x9
	str	x9, [x8]
	str	x0, [x20]
	ldrsw	x8, [x19]
	add	x8, x0, x8
Lloh15:
	adrp	x9, _endpbb@GOTPAGE
Lloh16:
	ldr	x9, [x9, _endpbb@GOTPAGEOFF]
Lloh17:
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_bufsize,4,2                    ; @bufsize
	.comm	_buf,8,3                        ; @buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many characters pushed back"

	.comm	_MAXINP,4,2                     ; @MAXINP
	.comm	_bbase,8,3                      ; @bbase
	.comm	_bp,8,3                         ; @bp
	.comm	_bufbase,8,3                    ; @bufbase
	.comm	_endpbb,8,3                     ; @endpbb
.subsections_via_symbols
