	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_read_transform_info        ## -- Begin function png_read_transform_info
	.p2align	4, 0x90
_png_read_transform_info:               ## @png_read_transform_info
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$1, %r14d
	movl	$1, %edi
	callq	_png_debug
	movl	(%rbx), %eax
	movq	_PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movl	$1, 8(%rbx)
	jmp	LBB0_5
LBB0_2:
	movq	_PNG_COLOR_MASK_COLOR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	$3, 8(%rbx)
	movl	$3, %r14d
	jmp	LBB0_5
LBB0_4:
	movl	$1, 8(%rbx)
	movl	$1, %r14d
LBB0_5:
	movq	_PNG_COLOR_MASK_ALPHA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	incl	%r14d
	movl	%r14d, 8(%rbx)
LBB0_7:
	movslq	4(%rbx), %rax
	movl	%r14d, %edi
	imulq	%rax, %rdi
	movq	%rdi, 16(%rbx)
	movl	12(%rbx), %esi
	callq	_PNG_ROWBYTES
	movl	%eax, 24(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in png_read_transform_info\n"

	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ## @PNG_COLOR_TYPE_PALETTE
	.comm	_PNG_COLOR_MASK_COLOR,4,2       ## @PNG_COLOR_MASK_COLOR
	.comm	_PNG_COLOR_MASK_ALPHA,4,2       ## @PNG_COLOR_MASK_ALPHA
	.comm	_PNG_16_TO_8,4,2                ## @PNG_16_TO_8
	.comm	_PNG_ADD_ALPHA,4,2              ## @PNG_ADD_ALPHA
	.comm	_PNG_BACKGROUND,4,2             ## @PNG_BACKGROUND
	.comm	_PNG_COLOR_TYPE_GRAY,4,2        ## @PNG_COLOR_TYPE_GRAY
	.comm	_PNG_COLOR_TYPE_RGB,4,2         ## @PNG_COLOR_TYPE_RGB
	.comm	_PNG_COLOR_TYPE_RGB_ALPHA,4,2   ## @PNG_COLOR_TYPE_RGB_ALPHA
	.comm	_PNG_DITHER,4,2                 ## @PNG_DITHER
	.comm	_PNG_EXPAND,4,2                 ## @PNG_EXPAND
	.comm	_PNG_EXPAND_tRNS,4,2            ## @PNG_EXPAND_tRNS
	.comm	_PNG_FILLER,4,2                 ## @PNG_FILLER
	.comm	_PNG_FLAG_STRIP_ALPHA,4,2       ## @PNG_FLAG_STRIP_ALPHA
	.comm	_PNG_GAMMA,4,2                  ## @PNG_GAMMA
	.comm	_PNG_GRAY_TO_RGB,4,2            ## @PNG_GRAY_TO_RGB
	.comm	_PNG_PACK,4,2                   ## @PNG_PACK
	.comm	_PNG_RGB_TO_GRAY,4,2            ## @PNG_RGB_TO_GRAY
	.comm	_PNG_USER_TRANSFORM,4,2         ## @PNG_USER_TRANSFORM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_read_transform_info        ; -- Begin function png_read_transform_info
	.p2align	2
_png_read_transform_info:               ; @png_read_transform_info
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w20, #1
	mov	w0, #1
	bl	_png_debug
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _PNG_COLOR_TYPE_PALETTE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PNG_COLOR_TYPE_PALETTE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.1:
Lloh5:
	adrp	x9, _PNG_COLOR_MASK_COLOR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PNG_COLOR_MASK_COLOR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w20, #3
	b	LBB0_4
LBB0_3:
	mov	w20, #1
LBB0_4:
	str	w20, [x19, #8]
Lloh8:
	adrp	x9, _PNG_COLOR_MASK_ALPHA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PNG_COLOR_MASK_ALPHA@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	add	w20, w20, #1
	str	w20, [x19, #8]
LBB0_6:
	ldrsw	x8, [x19, #4]
	mov	w9, w20
	mul	x0, x8, x9
	str	x0, [x19, #16]
	ldr	w1, [x19, #12]
	bl	_PNG_ROWBYTES
	str	w0, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in png_read_transform_info\n"

	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ; @PNG_COLOR_TYPE_PALETTE
	.comm	_PNG_COLOR_MASK_COLOR,4,2       ; @PNG_COLOR_MASK_COLOR
	.comm	_PNG_COLOR_MASK_ALPHA,4,2       ; @PNG_COLOR_MASK_ALPHA
	.comm	_PNG_16_TO_8,4,2                ; @PNG_16_TO_8
	.comm	_PNG_ADD_ALPHA,4,2              ; @PNG_ADD_ALPHA
	.comm	_PNG_BACKGROUND,4,2             ; @PNG_BACKGROUND
	.comm	_PNG_COLOR_TYPE_GRAY,4,2        ; @PNG_COLOR_TYPE_GRAY
	.comm	_PNG_COLOR_TYPE_RGB,4,2         ; @PNG_COLOR_TYPE_RGB
	.comm	_PNG_COLOR_TYPE_RGB_ALPHA,4,2   ; @PNG_COLOR_TYPE_RGB_ALPHA
	.comm	_PNG_DITHER,4,2                 ; @PNG_DITHER
	.comm	_PNG_EXPAND,4,2                 ; @PNG_EXPAND
	.comm	_PNG_EXPAND_tRNS,4,2            ; @PNG_EXPAND_tRNS
	.comm	_PNG_FILLER,4,2                 ; @PNG_FILLER
	.comm	_PNG_FLAG_STRIP_ALPHA,4,2       ; @PNG_FLAG_STRIP_ALPHA
	.comm	_PNG_GAMMA,4,2                  ; @PNG_GAMMA
	.comm	_PNG_GRAY_TO_RGB,4,2            ; @PNG_GRAY_TO_RGB
	.comm	_PNG_PACK,4,2                   ; @PNG_PACK
	.comm	_PNG_RGB_TO_GRAY,4,2            ; @PNG_RGB_TO_GRAY
	.comm	_PNG_USER_TRANSFORM,4,2         ; @PNG_USER_TRANSFORM
.subsections_via_symbols
