	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int_sin
_int_sin:                               ## @int_sin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INT_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	subl	%edi, %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	leal	(%rsi,%rsi), %ecx
	cltd
	idivl	%ecx
	leal	(%rsi,%rsi,2), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	xorl	%eax, %eax
	cmpl	%edi, %edx
	cmovgel	%ecx, %eax
	subl	%eax, %edx
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	subl	%edx, %esi
	cmpl	%eax, %edx
	cmovll	%edx, %esi
	movl	%esi, %eax
	imull	%esi, %eax
	movq	_FIXP2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cltd
	idivl	%edi
	movl	%eax, %ecx
	imull	%esi, %eax
	negl	%eax
	leal	(%rdi,%rdi), %edx
	leal	(%rdx,%rdx,2), %r8d
	cltd
	idivl	%r8d
	addl	%eax, %esi
	imull	%ecx, %eax
	negl	%eax
	leal	(,%rdi,4), %edx
	leal	(%rdx,%rdx,4), %r8d
	cltd
	idivl	%r8d
	addl	%eax, %esi
	imull	%ecx, %eax
	negl	%eax
	imull	$42, %edi, %r8d
	cltd
	idivl	%r8d
	addl	%eax, %esi
	imull	%ecx, %eax
	negl	%eax
	shll	$3, %edi
	leal	(%rdi,%rdi,8), %ecx
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	addl	%esi, %eax
	addl	$8, %eax
	sarl	$4, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_PI,4,2                     ## @INT_PI
	.comm	_FIXP2,4,2                      ## @FIXP2
	.no_dead_strip	_int_sin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int_sin
_int_sin:                               ; @int_sin
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _INT_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_PI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w9, w8, w0
	cmp	w0, #0
	csel	w9, w9, w0, lt
	lsl	w10, w8, #1
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	add	w11, w10, w8
	cmp	w11, #0
	cinc	w11, w11, lt
	cmp	w9, w11, asr #1
	csel	w10, wzr, w10, lt
	cmp	w8, #0
	cinc	w11, w8, lt
	sub	w9, w9, w10
	sub	w8, w8, w9
	cmp	w9, w11, asr #1
	csel	w8, w9, w8, lt
	mul	w9, w8, w8
Lloh3:
	adrp	x10, _FIXP2@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FIXP2@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	sdiv	w9, w9, w10
	mneg	w11, w9, w8
	add	w12, w10, w10, lsl #1
	lsl	w12, w12, #1
	sdiv	w11, w11, w12
	mneg	w12, w9, w11
	add	w13, w10, w10, lsl #2
	lsl	w13, w13, #2
	sdiv	w12, w12, w13
	add	w8, w8, w11
	add	w8, w8, w12
	mneg	w11, w9, w12
	mov	w12, #42
	mul	w12, w10, w12
	sdiv	w11, w11, w12
	mneg	w9, w9, w11
	add	w10, w10, w10, lsl #3
	lsl	w10, w10, #3
	sdiv	w9, w9, w10
	add	w8, w8, w11
	add	w8, w8, w9
	add	w8, w8, #8
	asr	w0, w8, #4
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_PI,4,2                     ; @INT_PI
	.comm	_FIXP2,4,2                      ; @FIXP2
	.no_dead_strip	_int_sin
.subsections_via_symbols
