	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc2_set_denorm_clamp          ## -- Begin function mpc2_set_denorm_clamp
	.p2align	4, 0x90
_mpc2_set_denorm_clamp:                 ## @mpc2_set_denorm_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
	movl	%esi, %ebx
	callq	_TO_DCN20_MPC
	movq	_DENORM_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	movl	(%rax,%rbx,4), %edi
	movq	_MPC_OUT_DENORM_CLAMP_MAX_R_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%rbp), %r8d
	movl	36(%rbp), %edx
	movq	_MPC_OUT_DENORM_CLAMP_MIN_R_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	movq	_DENORM_CLAMP_G_Y@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movq	_MPC_OUT_DENORM_CLAMP_MAX_G_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%rbp), %r8d
	movl	28(%rbp), %edx
	movq	_MPC_OUT_DENORM_CLAMP_MIN_G_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	movq	_DENORM_CLAMP_B_CB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movq	_MPC_OUT_DENORM_CLAMP_MAX_B_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbp), %r8d
	movl	20(%rbp), %edx
	movq	_MPC_OUT_DENORM_CLAMP_MIN_B_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_UPDATE_2                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DENORM_CONTROL,8,3             ## @DENORM_CONTROL
	.comm	_MPC_OUT_DENORM_CLAMP_MAX_R_CR,4,2 ## @MPC_OUT_DENORM_CLAMP_MAX_R_CR
	.comm	_MPC_OUT_DENORM_CLAMP_MIN_R_CR,4,2 ## @MPC_OUT_DENORM_CLAMP_MIN_R_CR
	.comm	_DENORM_CLAMP_G_Y,8,3           ## @DENORM_CLAMP_G_Y
	.comm	_MPC_OUT_DENORM_CLAMP_MAX_G_Y,4,2 ## @MPC_OUT_DENORM_CLAMP_MAX_G_Y
	.comm	_MPC_OUT_DENORM_CLAMP_MIN_G_Y,4,2 ## @MPC_OUT_DENORM_CLAMP_MIN_G_Y
	.comm	_DENORM_CLAMP_B_CB,8,3          ## @DENORM_CLAMP_B_CB
	.comm	_MPC_OUT_DENORM_CLAMP_MAX_B_CB,4,2 ## @MPC_OUT_DENORM_CLAMP_MAX_B_CB
	.comm	_MPC_OUT_DENORM_CLAMP_MIN_B_CB,4,2 ## @MPC_OUT_DENORM_CLAMP_MIN_B_CB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc2_set_denorm_clamp          ; -- Begin function mpc2_set_denorm_clamp
	.p2align	2
_mpc2_set_denorm_clamp:                 ; @mpc2_set_denorm_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
	mov	x19, x2
	mov	x20, x1
	bl	_TO_DCN20_MPC
Lloh0:
	adrp	x8, _DENORM_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DENORM_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sbfiz	x20, x20, #2, #32
	ldr	w0, [x8, x20]
Lloh3:
	adrp	x8, _MPC_OUT_DENORM_CLAMP_MAX_R_CR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPC_OUT_DENORM_CLAMP_MAX_R_CR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MPC_OUT_DENORM_CLAMP_MIN_R_CR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPC_OUT_DENORM_CLAMP_MIN_R_CR@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldp	w4, w2, [x19, #16]
	bl	_REG_UPDATE_2
Lloh9:
	adrp	x8, _DENORM_CLAMP_G_Y@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DENORM_CLAMP_G_Y@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w0, [x8, x20]
Lloh12:
	adrp	x8, _MPC_OUT_DENORM_CLAMP_MAX_G_Y@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPC_OUT_DENORM_CLAMP_MAX_G_Y@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MPC_OUT_DENORM_CLAMP_MIN_G_Y@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MPC_OUT_DENORM_CLAMP_MIN_G_Y@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	ldp	w4, w2, [x19, #8]
	bl	_REG_UPDATE_2
Lloh18:
	adrp	x8, _DENORM_CLAMP_B_CB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DENORM_CLAMP_B_CB@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w0, [x8, x20]
Lloh21:
	adrp	x8, _MPC_OUT_DENORM_CLAMP_MAX_B_CB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MPC_OUT_DENORM_CLAMP_MAX_B_CB@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _MPC_OUT_DENORM_CLAMP_MIN_B_CB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MPC_OUT_DENORM_CLAMP_MIN_B_CB@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	ldp	w4, w2, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_UPDATE_2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DENORM_CONTROL,8,3             ; @DENORM_CONTROL
	.comm	_MPC_OUT_DENORM_CLAMP_MAX_R_CR,4,2 ; @MPC_OUT_DENORM_CLAMP_MAX_R_CR
	.comm	_MPC_OUT_DENORM_CLAMP_MIN_R_CR,4,2 ; @MPC_OUT_DENORM_CLAMP_MIN_R_CR
	.comm	_DENORM_CLAMP_G_Y,8,3           ; @DENORM_CLAMP_G_Y
	.comm	_MPC_OUT_DENORM_CLAMP_MAX_G_Y,4,2 ; @MPC_OUT_DENORM_CLAMP_MAX_G_Y
	.comm	_MPC_OUT_DENORM_CLAMP_MIN_G_Y,4,2 ; @MPC_OUT_DENORM_CLAMP_MIN_G_Y
	.comm	_DENORM_CLAMP_B_CB,8,3          ; @DENORM_CLAMP_B_CB
	.comm	_MPC_OUT_DENORM_CLAMP_MAX_B_CB,4,2 ; @MPC_OUT_DENORM_CLAMP_MAX_B_CB
	.comm	_MPC_OUT_DENORM_CLAMP_MIN_B_CB,4,2 ; @MPC_OUT_DENORM_CLAMP_MIN_B_CB
.subsections_via_symbols
