	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function standard_info_part2
_standard_info_part2:                   ## @standard_info_part2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_png_get_color_type
	movl	%eax, %r13d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_png_get_bit_depth
	cmpl	$8, %eax
	jl	LBB0_4
## %bb.1:
	movq	_PNG_COLOR_TYPE_RGB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	je	LBB0_3
## %bb.2:
	movq	_PNG_COLOR_TYPE_GRAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	jne	LBB0_4
LBB0_3:
	movl	%r13d, %ecx
	orl	$4, %ecx
	cmpq	$0, 24(%rbx)
	cmovnel	%ecx, %r13d
LBB0_4:
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_bit_size
	movl	%eax, (%rbx)
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_png_get_image_width
	imull	(%rbx), %eax
	movl	%eax, 4(%rbx)
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_png_get_rowbytes
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %ecx
	leal	7(%rcx), %edx
	addl	$14, %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	sarl	$3, %ecx
	cmpl	%ecx, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	callq	_png_error
	movl	8(%rbx), %eax
LBB0_6:
	movl	12(%rbx), %r8d
	movl	16(%rbx), %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_store_ensure_image             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_COLOR_TYPE_RGB,4,2         ## @PNG_COLOR_TYPE_RGB
	.comm	_PNG_COLOR_TYPE_GRAY,4,2        ## @PNG_COLOR_TYPE_GRAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad png_get_rowbytes calculation"

	.no_dead_strip	_standard_info_part2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function standard_info_part2
_standard_info_part2:                   ; @standard_info_part2
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x2
	bl	_png_get_color_type
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_png_get_bit_depth
	mov	x2, x0
	cmp	w0, #8
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _PNG_COLOR_TYPE_RGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PNG_COLOR_TYPE_RGB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PNG_COLOR_TYPE_GRAY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PNG_COLOR_TYPE_GRAY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w23, w8
	ccmp	w23, w9, #4, ne
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x21, #24]
	orr	w9, w23, #0x4
	cmp	x8, #0
	csel	w23, w23, w9, eq
LBB0_3:
	mov	x0, x20
	mov	x1, x23
	bl	_bit_size
	str	w0, [x21]
	mov	x0, x20
	mov	x1, x22
	bl	_png_get_image_width
	ldr	w8, [x21]
	mul	w8, w8, w0
	str	w8, [x21, #4]
	mov	x0, x20
	mov	x1, x22
	bl	_png_get_rowbytes
	mov	x3, x0
	str	w0, [x21, #8]
	ldr	w8, [x21, #4]
	add	w9, w8, #7
	add	w8, w8, #14
	cmp	w9, #0
	csel	w8, w8, w9, lt
	cmp	w0, w8, asr #3
	b.eq	LBB0_5
; %bb.4:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_png_error
	ldr	w3, [x21, #8]
LBB0_5:
	ldp	w4, w0, [x21, #12]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_store_ensure_image
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_COLOR_TYPE_RGB,4,2         ; @PNG_COLOR_TYPE_RGB
	.comm	_PNG_COLOR_TYPE_GRAY,4,2        ; @PNG_COLOR_TYPE_GRAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad png_get_rowbytes calculation"

	.no_dead_strip	_standard_info_part2
.subsections_via_symbols
