	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_error
_emit_error:                            ## @emit_error
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$6, %esi
	ja	LBB0_8
## %bb.1:
	leaq	L_.str(%rip), %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.7(%rip), %rbx
	jmp	LBB0_13
LBB0_4:
	leaq	4(%rdi), %rax
	leaq	L_.str.5(%rip), %rbx
	jmp	LBB0_10
LBB0_5:
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.6(%rip), %rbx
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.4(%rip), %rbx
	movq	%rdi, %rax
	jmp	LBB0_10
LBB0_12:
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_13
LBB0_3:
	leaq	L_.str.3(%rip), %rbx
	jmp	LBB0_13
LBB0_7:
	leaq	4(%rdi), %rax
	leaq	L_.str.6(%rip), %rbx
LBB0_10:
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_13
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	8(%rdi), %r12
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.8(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r14, %r8
	movq	%rax, %r9
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rdx
	leaq	L_.str.9(%rip), %rsi
	movl	%eax, %edi
	movq	%rbx, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libpng warning:"

L_.str.1:                               ## @.str.1
	.asciz	"libpng error:"

L_.str.2:                               ## @.str.2
	.asciz	"zlib error:"

L_.str.3:                               ## @.str.3
	.asciz	"invalid"

L_.str.4:                               ## @.str.4
	.asciz	"read failure:"

L_.str.5:                               ## @.str.5
	.asciz	"write error"

L_.str.6:                               ## @.str.6
	.asciz	"unexpected error:"

L_.str.7:                               ## @.str.7
	.asciz	"INVALID (internal error):"

	.comm	_stderr,4,2                     ## @stderr
L_.str.8:                               ## @.str.8
	.asciz	"%s: %s %s [%s]\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s: %s %s\n"

	.no_dead_strip	_emit_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_error
_emit_error:                            ; @emit_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	sub	w8, w1, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_3:
Lloh6:
	adrp	x20, l_.str.7@PAGE
Lloh7:
	add	x20, x20, l_.str.7@PAGEOFF
	b	LBB0_10
LBB0_4:
	add	x8, x0, #4
Lloh8:
	adrp	x20, l_.str.5@PAGE
Lloh9:
	add	x20, x20, l_.str.5@PAGEOFF
	ldr	w8, [x8]
	cbnz	w8, LBB0_12
	b	LBB0_10
LBB0_5:
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.6:
Lloh10:
	adrp	x20, l_.str.6@PAGE
Lloh11:
	add	x20, x20, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh12:
	adrp	x20, l_.str.4@PAGE
Lloh13:
	add	x20, x20, l_.str.4@PAGEOFF
	mov	x8, x0
	ldr	w8, [x8]
	cbnz	w8, LBB0_12
	b	LBB0_10
LBB0_8:
Lloh14:
	adrp	x20, l_.str.1@PAGE
Lloh15:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh16:
	adrp	x20, l_.str.3@PAGE
Lloh17:
	add	x20, x20, l_.str.3@PAGEOFF
LBB0_10:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	ldr	x2, [x0, #8]
	mov	x0, x8
	mov	x3, x20
	mov	x4, 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
	add	sp, sp, #64
	b	_fprintf
LBB0_11:
	add	x8, x0, #4
Lloh23:
	adrp	x20, l_.str.6@PAGE
Lloh24:
	add	x20, x20, l_.str.6@PAGEOFF
	ldr	w8, [x8]
	cbz	w8, LBB0_10
LBB0_12:
Lloh25:
	adrp	x9, _stderr@GOTPAGE
Lloh26:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x9]
	ldr	x22, [x0, #8]
	mov	x0, x8
	bl	_strerror
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
	str	x0, [sp]
	mov	x0, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, x19
	bl	_fprintf
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libpng warning:"

l_.str.1:                               ; @.str.1
	.asciz	"libpng error:"

l_.str.2:                               ; @.str.2
	.asciz	"zlib error:"

l_.str.3:                               ; @.str.3
	.asciz	"invalid"

l_.str.4:                               ; @.str.4
	.asciz	"read failure:"

l_.str.5:                               ; @.str.5
	.asciz	"write error"

l_.str.6:                               ; @.str.6
	.asciz	"unexpected error:"

l_.str.7:                               ; @.str.7
	.asciz	"INVALID (internal error):"

	.comm	_stderr,4,2                     ; @stderr
l_.str.8:                               ; @.str.8
	.asciz	"%s: %s %s [%s]\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s: %s %s\n"

	.no_dead_strip	_emit_error
.subsections_via_symbols
