	.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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MY_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %eax
	subl	%edi, %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	leal	(%r14,%r14), %ecx
	cltd
	idivl	%ecx
	leal	(%r14,%r14,2), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	xorl	%eax, %eax
	cmpl	%esi, %edx
	cmovgel	%ecx, %eax
	subl	%eax, %edx
	movl	%r14d, %eax
	shrl	$31, %eax
	addl	%r14d, %eax
	sarl	%eax
	subl	%edx, %r14d
	cmpl	%eax, %edx
	cmovll	%edx, %r14d
	movl	%r14d, %edi
	movl	$3, %esi
	callq	_int_pow
	cltq
	imulq	$-715827883, %rax, %r15         ## imm = 0xD5555555
	movq	%r15, %rax
	shrq	$63, %rax
	shrq	$32, %r15
	addl	%eax, %r15d
	movl	%r14d, %edi
	movl	$5, %esi
	callq	_int_pow
	movslq	%eax, %rbx
	imulq	$-2004318071, %rbx, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	addl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$6, %ebx
	addl	%eax, %ebx
	addl	%r15d, %ebx
	movl	%r14d, %edi
	movl	$7, %esi
	callq	_int_pow
	movslq	%eax, %rcx
	imulq	$804454191, %rcx, %rax          ## imm = 0x2FF2FF2F
	shrq	$32, %rax
	subl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$12, %eax
	addl	%ecx, %eax
	addl	%ebx, %eax
	addl	%r14d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MY_PI,4,2                      ## @MY_PI
	.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:
	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
Lloh0:
	adrp	x8, _MY_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MY_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	w19, w9, w8, lt
	mov	x0, x19
	mov	w1, #3
	bl	_int_pow
	mov	w8, #21845
	movk	w8, #54613, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w20, w8, w9
	mov	x0, x19
	mov	w1, #5
	bl	_int_pow
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #6
	add	w21, w9, w8, lsr #31
	mov	x0, x19
	mov	w1, #7
	bl	_int_pow
	mov	w8, #65327
	movk	w8, #12274, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	sub	w8, w8, w0
	asr	w9, w8, #12
	add	w8, w9, w8, lsr #31
	add	w9, w21, w20
	add	w8, w9, w8
	add	w0, w8, w19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MY_PI,4,2                      ; @MY_PI
	.no_dead_strip	_int_sin
.subsections_via_symbols
