	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function set_gamma
LCPI0_0:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
LCPI0_1:
	.quad	0x4024000000000000              ## double 10
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_set_gamma:                             ## @set_gamma
	.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
	movq	%rdi, %rbx
	movl	32(%rdi), %esi
	movl	52(%rdi), %edi
	movq	%rbx, %rdx
	callq	_av_expr_eval
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movl	%eax, %edi
	callq	_av_clipf
	movl	%eax, (%rbx)
	movl	32(%rbx), %esi
	movl	48(%rbx), %edi
	movq	%rbx, %rdx
	callq	_av_expr_eval
	movl	%eax, %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_av_clipf
	movl	%eax, 4(%rbx)
	movl	32(%rbx), %esi
	movl	44(%rbx), %edi
	movq	%rbx, %rdx
	callq	_av_expr_eval
	movl	%eax, %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_av_clipf
	movl	%eax, 8(%rbx)
	movl	32(%rbx), %esi
	movl	40(%rbx), %edi
	movq	%rbx, %rdx
	callq	_av_expr_eval
	movl	%eax, %edi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_av_clipf
	movl	%eax, 12(%rbx)
	movl	32(%rbx), %esi
	movl	36(%rbx), %edi
	movq	%rbx, %rdx
	callq	_av_expr_eval
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	movl	%eax, %edi
	callq	_av_clipf
	movq	%rax, 24(%rbx)
	movl	8(%rbx), %ecx
	movl	(%rbx), %eax
	imull	%ecx, %eax
	movq	16(%rbx), %rdx
	movl	%eax, (%rdx)
	movl	12(%rbx), %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	callq	_sqrt
	movq	16(%rbx), %rcx
	movl	%eax, 24(%rcx)
	movl	4(%rbx), %eax
	cltd
	idivl	8(%rbx)
	movl	%eax, %edi
	callq	_sqrt
	movq	16(%rbx), %rdi
	movl	%eax, 48(%rdi)
	movq	24(%rbx), %rax
	movq	%rax, 16(%rdi)
	movq	$0, 8(%rdi)
	movq	%rbx, %rsi
	callq	_check_values
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	leaq	24(%rax), %rdi
	movq	%rcx, 40(%rax)
	movq	$0, 32(%rax)
	movq	%rbx, %rsi
	callq	_check_values
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	leaq	48(%rax), %rdi
	movq	%rcx, 64(%rax)
	movq	$0, 56(%rax)
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_check_values                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_gamma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_gamma
_set_gamma:                             ; @set_gamma
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	ldr	w0, [x0, #52]
	ldr	w1, [x19, #32]
	mov	x2, x19
	bl	_av_expr_eval
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d8, x8
	fmov	d1, #10.00000000
	fmov	d0, d8
	bl	_av_clipf
	str	w0, [x19]
	ldr	w0, [x19, #48]
	ldr	w1, [x19, #32]
	mov	x2, x19
	bl	_av_expr_eval
	fmov	d1, #10.00000000
	fmov	d0, d8
	bl	_av_clipf
	str	w0, [x19, #4]
	ldr	w0, [x19, #44]
	ldr	w1, [x19, #32]
	mov	x2, x19
	bl	_av_expr_eval
	fmov	d1, #10.00000000
	fmov	d0, d8
	bl	_av_clipf
	str	w0, [x19, #8]
	ldr	w0, [x19, #40]
	ldr	w1, [x19, #32]
	mov	x2, x19
	bl	_av_expr_eval
	fmov	d1, #10.00000000
	fmov	d0, d8
	bl	_av_clipf
	str	w0, [x19, #12]
	ldp	w1, w0, [x19, #32]
	mov	x2, x19
	bl	_av_expr_eval
	movi	d0, #0000000000000000
	fmov	d1, #1.00000000
	bl	_av_clipf
	str	x0, [x19, #24]
	ldr	w8, [x19]
	ldp	w9, w10, [x19, #8]
	mul	w8, w9, w8
	ldr	x11, [x19, #16]
	str	w8, [x11]
	sdiv	w0, w10, w9
	bl	_sqrt
	ldr	x8, [x19, #16]
	str	w0, [x8, #24]
	ldp	w8, w9, [x19, #4]
	sdiv	w0, w8, w9
	bl	_sqrt
	ldp	x8, x9, [x19, #16]
	str	w0, [x8, #48]
	stp	xzr, x9, [x8, #8]
	mov	x0, x8
	mov	x1, x19
	bl	_check_values
	ldp	x9, x8, [x19, #16]
	add	x0, x9, #24
	stp	xzr, x8, [x9, #32]
	mov	x1, x19
	bl	_check_values
	ldp	x9, x8, [x19, #16]
	add	x0, x9, #48
	stp	xzr, x8, [x9, #56]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	_check_values
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_gamma
.subsections_via_symbols
