	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_init_filter_functions
_png_init_filter_functions:             ## @png_init_filter_functions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	addl	$7, %ecx
	movq	_png_read_filter_row_sub@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%rdi), %rax
	movq	_PNG_FILTER_VALUE_SUB@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	%edx, -4(%rax,%rsi,4)
	movq	_png_read_filter_row_up@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_PNG_FILTER_VALUE_UP@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	%edx, -4(%rax,%rsi,4)
	movq	_png_read_filter_row_avg@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_PNG_FILTER_VALUE_AVG@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	%edx, -4(%rax,%rsi,4)
	andl	$-8, %ecx
	cmpl	$8, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_png_read_filter_row_paeth_1byte_pixel@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_png_read_filter_row_paeth_multibyte_pixel@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movq	_PNG_FILTER_VALUE_PAETH@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movl	%ecx, -4(%rax,%rdx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_png_read_filter_row_sub,4,2    ## @png_read_filter_row_sub
	.comm	_PNG_FILTER_VALUE_SUB,4,2       ## @PNG_FILTER_VALUE_SUB
	.comm	_png_read_filter_row_up,4,2     ## @png_read_filter_row_up
	.comm	_PNG_FILTER_VALUE_UP,4,2        ## @PNG_FILTER_VALUE_UP
	.comm	_png_read_filter_row_avg,4,2    ## @png_read_filter_row_avg
	.comm	_PNG_FILTER_VALUE_AVG,4,2       ## @PNG_FILTER_VALUE_AVG
	.comm	_png_read_filter_row_paeth_1byte_pixel,4,2 ## @png_read_filter_row_paeth_1byte_pixel
	.comm	_PNG_FILTER_VALUE_PAETH,4,2     ## @PNG_FILTER_VALUE_PAETH
	.comm	_png_read_filter_row_paeth_multibyte_pixel,4,2 ## @png_read_filter_row_paeth_multibyte_pixel
	.no_dead_strip	_png_init_filter_functions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_init_filter_functions
_png_init_filter_functions:             ; @png_init_filter_functions
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w8, w8, #7
Lloh0:
	adrp	x9, _png_read_filter_row_sub@GOTPAGE
Lloh1:
	ldr	x9, [x9, _png_read_filter_row_sub@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x10, [x0, #8]
Lloh3:
	adrp	x11, _PNG_FILTER_VALUE_SUB@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PNG_FILTER_VALUE_SUB@GOTPAGEOFF]
Lloh5:
	ldrsw	x11, [x11]
	add	x11, x10, x11, lsl #2
	stur	w9, [x11, #-4]
Lloh6:
	adrp	x9, _png_read_filter_row_up@GOTPAGE
Lloh7:
	ldr	x9, [x9, _png_read_filter_row_up@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x11, _PNG_FILTER_VALUE_UP@GOTPAGE
Lloh10:
	ldr	x11, [x11, _PNG_FILTER_VALUE_UP@GOTPAGEOFF]
Lloh11:
	ldrsw	x11, [x11]
	add	x11, x10, x11, lsl #2
	stur	w9, [x11, #-4]
Lloh12:
	adrp	x9, _png_read_filter_row_avg@GOTPAGE
Lloh13:
	ldr	x9, [x9, _png_read_filter_row_avg@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x11, _PNG_FILTER_VALUE_AVG@GOTPAGE
Lloh16:
	ldr	x11, [x11, _PNG_FILTER_VALUE_AVG@GOTPAGEOFF]
Lloh17:
	ldrsw	x11, [x11]
	add	x11, x10, x11, lsl #2
	stur	w9, [x11, #-4]
	and	w8, w8, #0xfffffff8
Lloh18:
	adrp	x9, _png_read_filter_row_paeth_1byte_pixel@GOTPAGE
Lloh19:
	ldr	x9, [x9, _png_read_filter_row_paeth_1byte_pixel@GOTPAGEOFF]
Lloh20:
	adrp	x11, _png_read_filter_row_paeth_multibyte_pixel@GOTPAGE
Lloh21:
	ldr	x11, [x11, _png_read_filter_row_paeth_multibyte_pixel@GOTPAGEOFF]
	cmp	w8, #8
	csel	x8, x9, x11, eq
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _PNG_FILTER_VALUE_PAETH@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PNG_FILTER_VALUE_PAETH@GOTPAGEOFF]
Lloh24:
	ldrsw	x9, [x9]
	add	x9, x10, x9, lsl #2
	stur	w8, [x9, #-4]
	ret
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_png_read_filter_row_sub,4,2    ; @png_read_filter_row_sub
	.comm	_PNG_FILTER_VALUE_SUB,4,2       ; @PNG_FILTER_VALUE_SUB
	.comm	_png_read_filter_row_up,4,2     ; @png_read_filter_row_up
	.comm	_PNG_FILTER_VALUE_UP,4,2        ; @PNG_FILTER_VALUE_UP
	.comm	_png_read_filter_row_avg,4,2    ; @png_read_filter_row_avg
	.comm	_PNG_FILTER_VALUE_AVG,4,2       ; @PNG_FILTER_VALUE_AVG
	.comm	_png_read_filter_row_paeth_1byte_pixel,4,2 ; @png_read_filter_row_paeth_1byte_pixel
	.comm	_PNG_FILTER_VALUE_PAETH,4,2     ; @PNG_FILTER_VALUE_PAETH
	.comm	_png_read_filter_row_paeth_multibyte_pixel,4,2 ; @png_read_filter_row_paeth_multibyte_pixel
	.no_dead_strip	_png_init_filter_functions
.subsections_via_symbols
