	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yaml_parser_update_raw_buffer
_yaml_parser_update_raw_buffer:         ## @yaml_parser_update_raw_buffer
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	movq	8(%rdi), %rdi
	movq	16(%rbx), %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	24(%rbx), %rax
	movl	$1, %r14d
	cmpq	32(%rbx), %rax
	je	LBB0_10
LBB0_2:
	movl	$1, %r14d
	cmpl	$0, (%rbx)
	je	LBB0_3
LBB0_10:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	cmpq	%rsi, %rdi
	jge	LBB0_6
## %bb.4:
	movq	24(%rbx), %rdx
	subq	%rsi, %rdx
	jle	LBB0_6
## %bb.5:
	callq	_memmove
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rsi
LBB0_6:
	movq	%rdi, %rax
	subq	%rsi, %rax
	addq	24(%rbx), %rax
	movq	%rax, 24(%rbx)
	movq	%rdi, 16(%rbx)
	movl	44(%rbx), %edi
	movq	32(%rbx), %rdx
	subq	%rax, %rdx
	leaq	-24(%rbp), %rcx
	movq	%rax, %rsi
	callq	*48(%rbx)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	-24(%rbp), %rax
	addq	%rax, 24(%rbx)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movl	$1, (%rbx)
	jmp	LBB0_10
LBB0_7:
	movl	40(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$-1, %ecx
	callq	_yaml_parser_set_reader_error
	movl	%eax, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input error"

	.no_dead_strip	_yaml_parser_update_raw_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yaml_parser_update_raw_buffer
_yaml_parser_update_raw_buffer:         ; @yaml_parser_update_raw_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x0, [x0, #8]
	ldr	x1, [x19, #16]
	cmp	x0, x1
	b.ne	LBB0_2
; %bb.1:
	ldp	x8, x9, [x19, #24]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	cmp	x0, x1
	b.ge	LBB0_8
; %bb.6:
	ldr	x8, [x19, #24]
	subs	x2, x8, x1
	b.le	LBB0_8
; %bb.7:
	bl	_memmove
	ldp	x0, x1, [x19, #8]
LBB0_8:
	ldp	x8, x9, [x19, #24]
	sub	x10, x0, x1
	add	x1, x10, x8
	stp	x0, x1, [x19, #16]
	ldr	x8, [x19, #48]
	ldr	w0, [x19, #44]
	sub	x2, x9, x1
	add	x3, sp, #8
	blr	x8
	cbz	w0, LBB0_11
; %bb.9:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #24]
	add	x9, x9, x8
	str	x9, [x19, #24]
	mov	w0, #1
	cbnz	x8, LBB0_4
; %bb.10:
	str	w0, [x19]
	b	LBB0_4
LBB0_11:
	ldr	w2, [x19, #40]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w3, #-1
	bl	_yaml_parser_set_reader_error
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input error"

	.no_dead_strip	_yaml_parser_update_raw_buffer
.subsections_via_symbols
