	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bufferc
_bufferc:                               ## @bufferc
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_TERMP_NOBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.10:
	movq	16(%rbx), %rax
	movsbl	%r14b, %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movl	4(%rbx), %eax
	leal	1(%rax), %esi
	movq	8(%rbx), %rdi
	cmpl	(%rdi), %esi
	jl	LBB0_3
## %bb.2:
	callq	_adjbuf
	movq	8(%rbx), %rdi
	movl	4(%rbx), %eax
LBB0_3:
	movl	4(%rdi), %ecx
	cmpl	%eax, %ecx
	jle	LBB0_6
## %bb.4:
	cmpb	$32, %r14b
	je	LBB0_7
## %bb.5:
	movq	_ASCII_NBRSP@GOTPCREL(%rip), %rdx
	cmpb	%r14b, (%rdx)
	je	LBB0_7
LBB0_6:
	movq	8(%rdi), %rcx
	cltq
	movb	%r14b, (%rcx,%rax)
	movq	8(%rbx), %rdi
	movl	4(%rdi), %ecx
	movl	4(%rbx), %eax
LBB0_7:
	leal	1(%rax), %edx
	movl	%edx, 4(%rbx)
	cmpl	%eax, %ecx
	jg	LBB0_9
## %bb.8:
	movl	%edx, 4(%rdi)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TERMP_NOBUF,4,2                ## @TERMP_NOBUF
	.comm	_ASCII_NBRSP,1,0                ## @ASCII_NBRSP
	.no_dead_strip	_bufferc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bufferc
_bufferc:                               ; @bufferc
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TERMP_NOBUF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TERMP_NOBUF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x2, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_2:
	ldr	w8, [x19, #4]
	add	w1, w8, #1
	ldr	x0, [x19, #8]
	ldr	w9, [x0]
	cmp	w1, w9
	b.lt	LBB0_4
; %bb.3:
	bl	_adjbuf
	ldr	x0, [x19, #8]
	ldr	w8, [x19, #4]
LBB0_4:
	ldr	w9, [x0, #4]
	cmp	w9, w8
	b.le	LBB0_7
; %bb.5:
	cmp	w20, #32
	b.eq	LBB0_8
; %bb.6:
Lloh3:
	adrp	x10, _ASCII_NBRSP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ASCII_NBRSP@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w10, w20, uxtb
	b.eq	LBB0_8
LBB0_7:
	ldr	x9, [x0, #8]
	strb	w20, [x9, w8, sxtw]
	ldr	x0, [x19, #8]
	ldr	w9, [x0, #4]
	ldr	w8, [x19, #4]
LBB0_8:
	add	w10, w8, #1
	str	w10, [x19, #4]
	cmp	w9, w8
	b.gt	LBB0_10
; %bb.9:
	str	w10, [x0, #4]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TERMP_NOBUF,4,2                ; @TERMP_NOBUF
	.comm	_ASCII_NBRSP,1,0                ; @ASCII_NBRSP
	.no_dead_strip	_bufferc
.subsections_via_symbols
