	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sBIT_error_fn
_sBIT_error_fn:                         ## @sBIT_error_fn
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_png_get_color_type
	movq	%rax, %rcx
	movq	_PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rdx
	movl	$9, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_png_get_bit_depth
	incl	%eax
LBB0_2:
	movl	%eax, -32(%rbp)
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_png_set_sBIT
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_COLOR_TYPE_PALETTE,8,3     ## @PNG_COLOR_TYPE_PALETTE
	.no_dead_strip	_sBIT_error_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sBIT_error_fn
_sBIT_error_fn:                         ; @sBIT_error_fn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	bl	_png_get_color_type
Lloh0:
	adrp	x8, _PNG_COLOR_TYPE_PALETTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PNG_COLOR_TYPE_PALETTE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #9
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_png_get_bit_depth
	add	w8, w0, #1
LBB0_3:
	str	w8, [sp, #16]
	dup.4s	v0, w8
	str	q0, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_png_set_sBIT
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_COLOR_TYPE_PALETTE,8,3     ; @PNG_COLOR_TYPE_PALETTE
	.no_dead_strip	_sBIT_error_fn
.subsections_via_symbols
