	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transform_set_encoding
_transform_set_encoding:                ## @transform_set_encoding
	.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	%rdi, %r14
	movq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_modifier_set_encoding
	movq	%rbx, %rdi
	callq	_modifier_color_encoding_is_set
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_modifier_color_encoding_is_sRGB
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	addq	$8, %r14
	movq	_PNG_sRGB_INTENT_ABSOLUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_srgb_modification_init         ## TAILCALL
LBB0_2:
	leaq	4(%r14), %rdi
	movl	8(%rbx), %edx
	movq	%rbx, %rsi
	callq	_gama_modification_init
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_chrm_modification_init         ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_sRGB_INTENT_ABSOLUTE,4,2   ## @PNG_sRGB_INTENT_ABSOLUTE
	.no_dead_strip	_transform_set_encoding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transform_set_encoding
_transform_set_encoding:                ; @transform_set_encoding
	.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	x20, x0
	ldr	x19, [x0, #16]
	mov	x0, x19
	bl	_modifier_set_encoding
	mov	x0, x19
	bl	_modifier_color_encoding_is_set
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_modifier_color_encoding_is_sRGB
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, x20, #8
Lloh0:
	adrp	x8, _PNG_sRGB_INTENT_ABSOLUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PNG_sRGB_INTENT_ABSOLUTE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_srgb_modification_init
LBB0_3:
	add	x0, x20, #4
	ldr	w2, [x19, #8]
	mov	x1, x19
	bl	_gama_modification_init
	ldr	x2, [x19]
	cbz	x2, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_chrm_modification_init
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_sRGB_INTENT_ABSOLUTE,4,2   ; @PNG_sRGB_INTENT_ABSOLUTE
	.no_dead_strip	_transform_set_encoding
.subsections_via_symbols
