	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function image_transform_png_set_shift_mod
_image_transform_png_set_shift_mod:     ## @image_transform_png_set_shift_mod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r9d
	movq	_PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	je	LBB0_5
## %bb.1:
	movl	$1, 4(%rsi)
	movq	_data@GOTPCREL(%rip), %r8
	testb	$2, %r9b
	je	LBB0_2
## %bb.3:
	movl	8(%r8), %eax
	movl	12(%r8), %r9d
	movl	16(%r8), %r10d
	jmp	LBB0_4
LBB0_2:
	movl	4(%r8), %eax
	movl	%eax, %r9d
	movl	%eax, %r10d
LBB0_4:
	movl	%eax, 12(%rsi)
	movl	%r9d, 16(%rsi)
	movl	%r10d, 20(%rsi)
	movl	(%r8), %eax
	movl	%eax, 8(%rsi)
LBB0_5:
	movq	(%rdi), %rdi
	movq	(%rdi), %rax
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ## @PNG_COLOR_TYPE_PALETTE
	.comm	_data,20,2                      ## @data
	.no_dead_strip	_image_transform_png_set_shift_mod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function image_transform_png_set_shift_mod
_image_transform_png_set_shift_mod:     ; @image_transform_png_set_shift_mod
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _PNG_COLOR_TYPE_PALETTE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PNG_COLOR_TYPE_PALETTE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x1, #4]
	tst	w8, #0x2
	cset	w8, eq
Lloh3:
	adrp	x9, _data@GOTPAGE
Lloh4:
	ldr	x9, [x9, _data@GOTPAGEOFF]
	ldr	w10, [x9, #16]
	ldr	d0, [x9, #8]
	ldp	w9, w11, [x9]
	csel	w10, w11, w10, eq
	dup.2s	v1, w8
	shl.2s	v1, v1, #31
	cmlt.2s	v1, v1, #0
	dup.2s	v2, w11
	bit.8b	v0, v2, v1
	stur	d0, [x1, #12]
	str	w10, [x1, #20]
	str	w9, [x1, #8]
LBB0_2:
	ldr	x0, [x0]
	ldr	x4, [x0]
	br	x4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ; @PNG_COLOR_TYPE_PALETTE
	.comm	_data,20,2                      ; @data
	.no_dead_strip	_image_transform_png_set_shift_mod
.subsections_via_symbols
