	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srgb_modification_init
_srgb_modification_init:                ## @srgb_modification_init
	.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
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_modification_init
	movq	_CHUNK_sBIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	cmpl	$4, %r12d
	jge	LBB0_1
## %bb.2:
	movq	_srgb_modify@GOTPCREL(%rip), %rax
	movq	_CHUNK_PLTE@GOTPCREL(%rip), %rcx
	movq	(%rax), %rax
	movq	(%rcx), %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	xorl	%r12d, %r12d
LBB0_3:
	movq	%rax, 24(%rbx)
	movq	%rcx, 16(%rbx)
	movl	%r12d, (%rbx)
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	%r15, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNK_sBIT,4,2                 ## @CHUNK_sBIT
	.comm	_srgb_modify,8,3                ## @srgb_modify
	.comm	_CHUNK_PLTE,8,3                 ## @CHUNK_PLTE
	.no_dead_strip	_srgb_modification_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srgb_modification_init
_srgb_modification_init:                ; @srgb_modification_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	add	x22, x0, #8
	mov	x0, x22
	bl	_modification_init
Lloh0:
	adrp	x8, _CHUNK_sBIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHUNK_sBIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #32]
Lloh3:
	adrp	x8, _srgb_modify@GOTPAGE
Lloh4:
	ldr	x8, [x8, _srgb_modify@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CHUNK_PLTE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CHUNK_PLTE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	ldr	x9, [x9]
	cmp	w19, #4
	csel	w10, w19, wzr, lt
	csel	x8, x8, xzr, lt
	csel	x9, x9, xzr, lt
	stp	x9, x8, [x21, #16]
	str	w10, [x21]
	ldr	x8, [x20]
	str	x8, [x21, #8]
	str	x22, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNK_sBIT,4,2                 ; @CHUNK_sBIT
	.comm	_srgb_modify,8,3                ; @srgb_modify
	.comm	_CHUNK_PLTE,8,3                 ; @CHUNK_PLTE
	.no_dead_strip	_srgb_modification_init
.subsections_via_symbols
