	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_clamp
_set_clamp:                             ## @set_clamp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	addl	$-128, %esi
	cmpl	$4, %esi
	jae	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	L_switch.table.set_clamp(%rip), %rcx
	movl	(%rcx,%rax,4), %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	movl	$16320, %ebx                    ## imm = 0x3FC0
LBB0_3:
	movq	_OUT_CLAMP_CONTROL_B_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OUT_CLAMP_MIN_B_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OUT_CLAMP_MAX_B_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	%ebx, %r9d
	callq	_REG_SET_2
	movq	_OUT_CLAMP_CONTROL_G_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OUT_CLAMP_MIN_G_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OUT_CLAMP_MAX_G_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	%ebx, %r9d
	callq	_REG_SET_2
	movq	_OUT_CLAMP_CONTROL_R_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OUT_CLAMP_MIN_R_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_OUT_CLAMP_MAX_R_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	%ebx, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_SET_2                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OUT_CLAMP_CONTROL_B_CB,4,2     ## @OUT_CLAMP_CONTROL_B_CB
	.comm	_OUT_CLAMP_MIN_B_CB,4,2         ## @OUT_CLAMP_MIN_B_CB
	.comm	_OUT_CLAMP_MAX_B_CB,4,2         ## @OUT_CLAMP_MAX_B_CB
	.comm	_OUT_CLAMP_CONTROL_G_Y,4,2      ## @OUT_CLAMP_CONTROL_G_Y
	.comm	_OUT_CLAMP_MIN_G_Y,4,2          ## @OUT_CLAMP_MIN_G_Y
	.comm	_OUT_CLAMP_MAX_G_Y,4,2          ## @OUT_CLAMP_MAX_G_Y
	.comm	_OUT_CLAMP_CONTROL_R_CR,4,2     ## @OUT_CLAMP_CONTROL_R_CR
	.comm	_OUT_CLAMP_MIN_R_CR,4,2         ## @OUT_CLAMP_MIN_R_CR
	.comm	_OUT_CLAMP_MAX_R_CR,4,2         ## @OUT_CLAMP_MAX_R_CR
	.no_dead_strip	_set_clamp
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.set_clamp
L_switch.table.set_clamp:
	.long	16320                           ## 0x3fc0
	.long	16128                           ## 0x3f00
	.long	16383                           ## 0x3fff
	.long	16380                           ## 0x3ffc

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_clamp
_set_clamp:                             ; @set_clamp
	.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
	sub	w8, w1, #128
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.set_clamp@PAGE
Lloh1:
	add	x9, x9, l_switch.table.set_clamp@PAGEOFF
	ldr	w19, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	bl	_BREAK_TO_DEBUGGER
	mov	w19, #16320
LBB0_3:
Lloh2:
	adrp	x8, _OUT_CLAMP_CONTROL_B_CB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OUT_CLAMP_CONTROL_B_CB@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _OUT_CLAMP_MIN_B_CB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OUT_CLAMP_MIN_B_CB@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _OUT_CLAMP_MAX_B_CB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OUT_CLAMP_MAX_B_CB@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	x5, x19
	bl	_REG_SET_2
Lloh11:
	adrp	x8, _OUT_CLAMP_CONTROL_G_Y@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OUT_CLAMP_CONTROL_G_Y@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _OUT_CLAMP_MIN_G_Y@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OUT_CLAMP_MIN_G_Y@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _OUT_CLAMP_MAX_G_Y@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OUT_CLAMP_MAX_G_Y@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	x5, x19
	bl	_REG_SET_2
Lloh20:
	adrp	x8, _OUT_CLAMP_CONTROL_R_CR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OUT_CLAMP_CONTROL_R_CR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _OUT_CLAMP_MIN_R_CR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OUT_CLAMP_MIN_R_CR@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _OUT_CLAMP_MAX_R_CR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OUT_CLAMP_MAX_R_CR@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	x5, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_SET_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OUT_CLAMP_CONTROL_B_CB,4,2     ; @OUT_CLAMP_CONTROL_B_CB
	.comm	_OUT_CLAMP_MIN_B_CB,4,2         ; @OUT_CLAMP_MIN_B_CB
	.comm	_OUT_CLAMP_MAX_B_CB,4,2         ; @OUT_CLAMP_MAX_B_CB
	.comm	_OUT_CLAMP_CONTROL_G_Y,4,2      ; @OUT_CLAMP_CONTROL_G_Y
	.comm	_OUT_CLAMP_MIN_G_Y,4,2          ; @OUT_CLAMP_MIN_G_Y
	.comm	_OUT_CLAMP_MAX_G_Y,4,2          ; @OUT_CLAMP_MAX_G_Y
	.comm	_OUT_CLAMP_CONTROL_R_CR,4,2     ; @OUT_CLAMP_CONTROL_R_CR
	.comm	_OUT_CLAMP_MIN_R_CR,4,2         ; @OUT_CLAMP_MIN_R_CR
	.comm	_OUT_CLAMP_MAX_R_CR,4,2         ; @OUT_CLAMP_MAX_R_CR
	.no_dead_strip	_set_clamp
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.set_clamp
l_switch.table.set_clamp:
	.long	16320                           ; 0x3fc0
	.long	16128                           ; 0x3f00
	.long	16383                           ; 0x3fff
	.long	16380                           ; 0x3ffc

.subsections_via_symbols
