	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_by_flag
_find_by_flag:                          ## @find_by_flag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_chunk_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-1(%rcx), %rax
	cmpq	%rdi, -8(%rdx,%rcx,8)
	movq	%rax, %rcx
	jne	LBB0_1
## %bb.3:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$4, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_NINFO,4,2                      ## @NINFO
	.comm	_chunk_info,8,3                 ## @chunk_info
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pngunknown: internal error\n"

	.no_dead_strip	_find_by_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_by_flag
_find_by_flag:                          ; @find_by_flag
	.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
Lloh0:
	adrp	x8, _NINFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NINFO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _chunk_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _chunk_info@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x10, x8, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x8, x9, #1
	ldr	x11, [x10, x9, lsl #3]
	mov	x9, x8
	cmp	x11, x0
	b.ne	LBB0_1
; %bb.3:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #4
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NINFO,4,2                      ; @NINFO
	.comm	_chunk_info,8,3                 ; @chunk_info
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pngunknown: internal error\n"

	.no_dead_strip	_find_by_flag
.subsections_via_symbols
