	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov965x_set_default_gamma_curve
_ov965x_set_default_gamma_curve:        ## @ov965x_set_default_gamma_curve
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_REG_GSP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	_ov965x_set_default_gamma_curve.gamma_curve(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	movq	%r14, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%rbx), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_ov965x_write
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ov965x_set_default_gamma_curve.gamma_curve
_ov965x_set_default_gamma_curve.gamma_curve:
	.long	64                              ## 0x40
	.long	48                              ## 0x30
	.long	75                              ## 0x4b
	.long	96                              ## 0x60
	.long	112                             ## 0x70
	.long	112                             ## 0x70
	.long	112                             ## 0x70
	.long	112                             ## 0x70
	.long	96                              ## 0x60
	.long	96                              ## 0x60
	.long	80                              ## 0x50
	.long	72                              ## 0x48
	.long	58                              ## 0x3a
	.long	46                              ## 0x2e
	.long	40                              ## 0x28
	.long	34                              ## 0x22
	.long	4                               ## 0x4
	.long	7                               ## 0x7
	.long	16                              ## 0x10
	.long	40                              ## 0x28
	.long	54                              ## 0x36
	.long	68                              ## 0x44
	.long	82                              ## 0x52
	.long	96                              ## 0x60
	.long	108                             ## 0x6c
	.long	120                             ## 0x78
	.long	140                             ## 0x8c
	.long	158                             ## 0x9e
	.long	187                             ## 0xbb
	.long	210                             ## 0xd2
	.long	230                             ## 0xe6

	.comm	_REG_GSP,4,2                    ## @REG_GSP
	.no_dead_strip	_ov965x_set_default_gamma_curve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov965x_set_default_gamma_curve
_ov965x_set_default_gamma_curve:        ; @ov965x_set_default_gamma_curve
	.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, x0
Lloh0:
	adrp	x8, _REG_GSP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_GSP@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x20, _ov965x_set_default_gamma_curve.gamma_curve@PAGE
Lloh4:
	add	x20, x20, _ov965x_set_default_gamma_curve.gamma_curve@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_5
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w21, w22
	ldr	w2, [x20, x22, lsl #2]
	mov	x0, x19
	bl	_ov965x_write
	tbnz	w0, #31, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	x22, w0, uxtw
	b.lo	LBB0_2
; %bb.4:
	mov	w0, #0
LBB0_5:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ov965x_set_default_gamma_curve.gamma_curve
_ov965x_set_default_gamma_curve.gamma_curve:
	.long	64                              ; 0x40
	.long	48                              ; 0x30
	.long	75                              ; 0x4b
	.long	96                              ; 0x60
	.long	112                             ; 0x70
	.long	112                             ; 0x70
	.long	112                             ; 0x70
	.long	112                             ; 0x70
	.long	96                              ; 0x60
	.long	96                              ; 0x60
	.long	80                              ; 0x50
	.long	72                              ; 0x48
	.long	58                              ; 0x3a
	.long	46                              ; 0x2e
	.long	40                              ; 0x28
	.long	34                              ; 0x22
	.long	4                               ; 0x4
	.long	7                               ; 0x7
	.long	16                              ; 0x10
	.long	40                              ; 0x28
	.long	54                              ; 0x36
	.long	68                              ; 0x44
	.long	82                              ; 0x52
	.long	96                              ; 0x60
	.long	108                             ; 0x6c
	.long	120                             ; 0x78
	.long	140                             ; 0x8c
	.long	158                             ; 0x9e
	.long	187                             ; 0xbb
	.long	210                             ; 0xd2
	.long	230                             ; 0xe6

	.comm	_REG_GSP,4,2                    ; @REG_GSP
	.no_dead_strip	_ov965x_set_default_gamma_curve
.subsections_via_symbols
