	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arbfp_add_sRGB_correction
_arbfp_add_sRGB_correction:             ## @arbfp_add_sRGB_correction
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 16(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_shader_addline                 ## TAILCALL
LBB0_2:
	movq	%r8, %r15
	movq	%rcx, %r12
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	callq	_shader_addline
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.16(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%rbx, %r9
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_shader_addline                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SUBC %s, %s.x, srgb_consts1.x;\n"

L_.str.1:                               ## @.str.1
	.asciz	"POW %s.x (GE), %s.x, srgb_consts0.x;\n"

L_.str.2:                               ## @.str.2
	.asciz	"POW %s.y (GE), %s.y, srgb_consts0.x;\n"

L_.str.3:                               ## @.str.3
	.asciz	"POW %s.z (GE), %s.z, srgb_consts0.x;\n"

L_.str.4:                               ## @.str.4
	.asciz	"MUL %s.xyz (GE), %s, srgb_consts0.y;\n"

L_.str.5:                               ## @.str.5
	.asciz	"SUB %s.xyz (GE), %s, srgb_consts0.z;\n"

L_.str.6:                               ## @.str.6
	.asciz	"MUL %s.xyz (LT), srgb_consts0.w, %s;\n"

L_.str.7:                               ## @.str.7
	.asciz	"POW %s.x, %s.x, srgb_consts0.x;\n"

L_.str.8:                               ## @.str.8
	.asciz	"POW %s.y, %s.y, srgb_consts0.x;\n"

L_.str.9:                               ## @.str.9
	.asciz	"POW %s.z, %s.z, srgb_consts0.x;\n"

L_.str.10:                              ## @.str.10
	.asciz	"MUL %s, %s, srgb_consts0.y;\n"

L_.str.11:                              ## @.str.11
	.asciz	"SUB %s, %s, srgb_consts0.z;\n"

L_.str.12:                              ## @.str.12
	.asciz	"MUL %s, srgb_consts0.w, %s;\n"

L_.str.13:                              ## @.str.13
	.asciz	"SLT %s, srgb_consts1.x, %s;\n"

L_.str.14:                              ## @.str.14
	.asciz	"SGE %s, srgb_consts1.x, %s;\n"

L_.str.15:                              ## @.str.15
	.asciz	"MUL %s.xyz, %s, %s;\n"

L_.str.16:                              ## @.str.16
	.asciz	"MAD %s.xyz, %s, %s, %s;\n"

	.no_dead_strip	_arbfp_add_sRGB_correction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arbfp_add_sRGB_correction
_arbfp_add_sRGB_correction:             ; @arbfp_add_sRGB_correction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	cbz	x6, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	x3, x19
	bl	_shader_addline
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x19
	bl	_shader_addline
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x19
	bl	_shader_addline
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x19
	bl	_shader_addline
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x19
	bl	_shader_addline
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x19
	bl	_shader_addline
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_shader_addline
LBB0_2:
	mov	x22, x5
	mov	x24, x4
	mov	x21, x3
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	x3, x19
	bl	_shader_addline
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	x3, x19
	bl	_shader_addline
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	x3, x19
	bl	_shader_addline
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	x3, x23
	bl	_shader_addline
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	x3, x23
	bl	_shader_addline
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_shader_addline
Lloh26:
	adrp	x1, l_.str.13@PAGE
Lloh27:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	mov	x3, x19
	bl	_shader_addline
Lloh28:
	adrp	x1, l_.str.14@PAGE
Lloh29:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	mov	x3, x19
	bl	_shader_addline
	str	x24, [sp]
Lloh30:
	adrp	x1, l_.str.15@PAGE
Lloh31:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x23
	bl	_shader_addline
	stp	x22, x19, [sp]
Lloh32:
	adrp	x1, l_.str.16@PAGE
Lloh33:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
	bl	_shader_addline
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SUBC %s, %s.x, srgb_consts1.x;\n"

l_.str.1:                               ; @.str.1
	.asciz	"POW %s.x (GE), %s.x, srgb_consts0.x;\n"

l_.str.2:                               ; @.str.2
	.asciz	"POW %s.y (GE), %s.y, srgb_consts0.x;\n"

l_.str.3:                               ; @.str.3
	.asciz	"POW %s.z (GE), %s.z, srgb_consts0.x;\n"

l_.str.4:                               ; @.str.4
	.asciz	"MUL %s.xyz (GE), %s, srgb_consts0.y;\n"

l_.str.5:                               ; @.str.5
	.asciz	"SUB %s.xyz (GE), %s, srgb_consts0.z;\n"

l_.str.6:                               ; @.str.6
	.asciz	"MUL %s.xyz (LT), srgb_consts0.w, %s;\n"

l_.str.7:                               ; @.str.7
	.asciz	"POW %s.x, %s.x, srgb_consts0.x;\n"

l_.str.8:                               ; @.str.8
	.asciz	"POW %s.y, %s.y, srgb_consts0.x;\n"

l_.str.9:                               ; @.str.9
	.asciz	"POW %s.z, %s.z, srgb_consts0.x;\n"

l_.str.10:                              ; @.str.10
	.asciz	"MUL %s, %s, srgb_consts0.y;\n"

l_.str.11:                              ; @.str.11
	.asciz	"SUB %s, %s, srgb_consts0.z;\n"

l_.str.12:                              ; @.str.12
	.asciz	"MUL %s, srgb_consts0.w, %s;\n"

l_.str.13:                              ; @.str.13
	.asciz	"SLT %s, srgb_consts1.x, %s;\n"

l_.str.14:                              ; @.str.14
	.asciz	"SGE %s, srgb_consts1.x, %s;\n"

l_.str.15:                              ; @.str.15
	.asciz	"MUL %s.xyz, %s, %s;\n"

l_.str.16:                              ; @.str.16
	.asciz	"MAD %s.xyz, %s, %s, %s;\n"

	.no_dead_strip	_arbfp_add_sRGB_correction
.subsections_via_symbols
