	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opp1_set_clamping
_opp1_set_clamping:                     ## @opp1_set_clamping
	.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
	movq	%rsi, %rbx
	movq	_FMT_CLAMP_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_FMT_CLAMP_DATA_EN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_FMT_CLAMP_COLOR_FORMAT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_REG_UPDATE_2
	movl	$-129, %eax
	addl	(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.opp1_set_clamping(%rip), %rcx
	movl	(%rcx,%rax,4), %r8d
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	(%r12), %ecx
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_UPDATE_2                   ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FMT_CLAMP_CNTL,4,2             ## @FMT_CLAMP_CNTL
	.comm	_FMT_CLAMP_DATA_EN,4,2          ## @FMT_CLAMP_DATA_EN
	.comm	_FMT_CLAMP_COLOR_FORMAT,4,2     ## @FMT_CLAMP_COLOR_FORMAT
	.no_dead_strip	_opp1_set_clamping
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.opp1_set_clamping
l_switch.table.opp1_set_clamping:
	.long	1                               ## 0x1
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opp1_set_clamping
_opp1_set_clamping:                     ; @opp1_set_clamping
	.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, x1
Lloh0:
	adrp	x20, _FMT_CLAMP_CNTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FMT_CLAMP_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _FMT_CLAMP_DATA_EN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _FMT_CLAMP_DATA_EN@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x22, _FMT_CLAMP_COLOR_FORMAT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _FMT_CLAMP_COLOR_FORMAT@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	w2, #0
	mov	w4, #0
	bl	_REG_UPDATE_2
	ldr	w8, [x19]
	sub	w8, w8, #129
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.opp1_set_clamping@PAGE
Lloh7:
	add	x9, x9, l_switch.table.opp1_set_clamping@PAGEOFF
	ldr	w4, [x9, w8, sxtw #2]
	ldr	w0, [x20]
	ldr	w1, [x21]
	ldr	w3, [x22]
	mov	w2, #1
	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
	b	_REG_UPDATE_2
LBB0_2:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FMT_CLAMP_CNTL,4,2             ; @FMT_CLAMP_CNTL
	.comm	_FMT_CLAMP_DATA_EN,4,2          ; @FMT_CLAMP_DATA_EN
	.comm	_FMT_CLAMP_COLOR_FORMAT,4,2     ; @FMT_CLAMP_COLOR_FORMAT
	.no_dead_strip	_opp1_set_clamping
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.opp1_set_clamping
l_switch.table.opp1_set_clamping:
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	0                               ; 0x0

.subsections_via_symbols
