	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function component_loc
_component_loc:                         ## @component_loc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PNG_FORMAT_FLAG_COLOR@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%esi, %eax
	setne	%cl
	leal	(%rcx,%rcx), %eax
	incl	%eax
	leal	(%rcx,%rcx), %edx
	movl	%edx, 12(%rdi)
	movl	%ecx, 8(%rdi)
	movl	$0, 4(%rdi)
	movq	_PNG_FORMAT_FLAG_ALPHA@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	%eax, (%rdi)
	incl	%eax
	popq	%rbp
	retq
LBB0_2:
	movl	$4, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FORMAT_FLAG_COLOR,4,2      ## @PNG_FORMAT_FLAG_COLOR
	.comm	_PNG_FORMAT_FLAG_ALPHA,4,2      ## @PNG_FORMAT_FLAG_ALPHA
	.comm	_PNG_FORMAT_FLAG_AFIRST,4,2     ## @PNG_FORMAT_FLAG_AFIRST
	.comm	_PNG_FORMAT_FLAG_BGR,4,2        ## @PNG_FORMAT_FLAG_BGR
	.no_dead_strip	_component_loc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function component_loc
_component_loc:                         ; @component_loc
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _PNG_FORMAT_FLAG_COLOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PNG_FORMAT_FLAG_COLOR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w1
	cset	w9, ne
	lsl	w10, w9, #1
	mov	w11, #3
	csinc	w0, w11, wzr, ne
	stp	w9, w10, [x8, #8]
	str	wzr, [x8, #4]
Lloh3:
	adrp	x9, _PNG_FORMAT_FLAG_ALPHA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PNG_FORMAT_FLAG_ALPHA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_2
; %bb.1:
	str	w0, [x8]
	add	w0, w0, #1
	ret
LBB0_2:
	mov	w9, #4
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FORMAT_FLAG_COLOR,4,2      ; @PNG_FORMAT_FLAG_COLOR
	.comm	_PNG_FORMAT_FLAG_ALPHA,4,2      ; @PNG_FORMAT_FLAG_ALPHA
	.comm	_PNG_FORMAT_FLAG_AFIRST,4,2     ; @PNG_FORMAT_FLAG_AFIRST
	.comm	_PNG_FORMAT_FLAG_BGR,4,2        ; @PNG_FORMAT_FLAG_BGR
	.no_dead_strip	_component_loc
.subsections_via_symbols
