	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDEO_SetGamma                 ## -- Begin function VIDEO_SetGamma
	.p2align	4, 0x90
_VIDEO_SetGamma:                        ## @VIDEO_SetGamma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %esi
	movl	$30, %edi
	callq	_MIN
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MAX
	movq	_gamma_coeffs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rdx
	movl	$16, %edi
	movl	$33, %esi
	popq	%rbp
	jmp	___VIWriteI2CRegisterBuf        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gamma_coeffs,8,3               ## @gamma_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDEO_SetGamma                 ; -- Begin function VIDEO_SetGamma
	.p2align	2
_VIDEO_SetGamma:                        ; @VIDEO_SetGamma
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
	mov	w0, #30
	bl	_MIN
	mov	x1, x0
	mov	w0, #0
	bl	_MAX
Lloh0:
	adrp	x8, _gamma_coeffs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gamma_coeffs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x2, [x8, w0, sxtw #3]
	mov	w0, #16
	mov	w1, #33
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	___VIWriteI2CRegisterBuf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gamma_coeffs,8,3               ; @gamma_coeffs
.subsections_via_symbols
