	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov7670_sine
_ov7670_sine:                           ## @ov7670_sine
	.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, %eax
	negl	%eax
	cmovsl	%edi, %eax
	cmpl	$90, %eax
	ja	LBB0_2
## %bb.1:
	movq	_ov7670_sin_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_SIN_STEP@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	cltq
	movl	(%rcx,%rax,4), %ecx
	jmp	LBB0_3
LBB0_2:
	addl	$-90, %eax
	movq	_ov7670_sin_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_SIN_STEP@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	cltq
	movl	$1000, %ecx                     ## imm = 0x3E8
	subl	(%rsi,%rax,4), %ecx
LBB0_3:
	movl	%ecx, %eax
	negl	%eax
	testl	%edi, %edi
	cmovnsl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ov7670_sin_table,8,3           ## @ov7670_sin_table
	.comm	_SIN_STEP,4,2                   ## @SIN_STEP
	.no_dead_strip	_ov7670_sine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov7670_sine
_ov7670_sine:                           ; @ov7670_sine
	.cfi_startproc
; %bb.0:
	cmp	w0, #0
	cneg	w8, w0, mi
	subs	w9, w8, #90
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _ov7670_sin_table@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ov7670_sin_table@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _SIN_STEP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SIN_STEP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	sdiv	w8, w8, w10
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _ov7670_sin_table@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ov7670_sin_table@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x10, _SIN_STEP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SIN_STEP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	sdiv	w9, w9, w10
	ldr	w8, [x8, w9, sxtw #2]
	mov	w9, #1000
	sub	w8, w9, w8
LBB0_3:
	cmp	w0, #0
	cneg	w0, w8, lt
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ov7670_sin_table,8,3           ; @ov7670_sin_table
	.comm	_SIN_STEP,4,2                   ; @SIN_STEP
	.no_dead_strip	_ov7670_sine
.subsections_via_symbols
