	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_read_buffer_next
_store_read_buffer_next:                ## @store_read_buffer_next
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	16(%rdi), %rax
	movq	24(%rdi), %rcx
	xorl	%ebx, %ebx
	cmpq	%rcx, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, %rdx
	movq	(%rcx), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_1
## %bb.3:
	movq	%rdx, 16(%rdi)
	movq	$0, 8(%rdi)
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_4:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_png_error
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buffer lost"

	.no_dead_strip	_store_read_buffer_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_read_buffer_next
_store_read_buffer_next:                ; @store_read_buffer_next
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	x8, x9, [x0, #16]
	cmp	x8, x9
	b.eq	LBB0_5
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x10, x9
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_1
; %bb.3:
	stp	xzr, x10, [x0, #8]
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_png_error
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buffer lost"

	.no_dead_strip	_store_read_buffer_next
.subsections_via_symbols
