	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __kernel_sin
___kernel_sin:                          ## @__kernel_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movsd	%xmm1, -16(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	___HI
	movsd	-24(%rbp), %xmm4                ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
	andl	$2143289344, %eax               ## imm = 0x7FC00000
	cmpl	$1044381695, %eax               ## imm = 0x3E3FFFFF
	ja	LBB0_2
## %bb.1:
	cvttsd2si	%xmm4, %eax
	testl	%eax, %eax
	je	LBB0_5
LBB0_2:
	movapd	%xmm4, %xmm1
	mulsd	%xmm4, %xmm1
	movapd	%xmm1, %xmm0
	mulsd	%xmm4, %xmm0
	movq	_S2@GOTPCREL(%rip), %rax
	movq	_S5@GOTPCREL(%rip), %rcx
	movq	_S6@GOTPCREL(%rip), %rdx
	movsd	(%rdx), %xmm2                   ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	(%rcx), %xmm2
	movq	_S4@GOTPCREL(%rip), %rcx
	mulsd	%xmm1, %xmm2
	addsd	(%rcx), %xmm2
	movq	_S3@GOTPCREL(%rip), %rcx
	mulsd	%xmm1, %xmm2
	addsd	(%rcx), %xmm2
	mulsd	%xmm1, %xmm2
	addsd	(%rax), %xmm2
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	movq	_half@GOTPCREL(%rip), %rax
	mulsd	%xmm0, %xmm2
	movsd	(%rax), %xmm3                   ## xmm3 = mem[0],zero
	movsd	-16(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	mulsd	%xmm5, %xmm3
	subsd	%xmm2, %xmm3
	mulsd	%xmm3, %xmm1
	subsd	%xmm5, %xmm1
	movq	_S1@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	subsd	%xmm0, %xmm1
	subsd	%xmm1, %xmm4
LBB0_5:
	movapd	%xmm4, %xmm0
	jmp	LBB0_6
LBB0_3:
	movq	_S1@GOTPCREL(%rip), %rax
	mulsd	%xmm2, %xmm1
	addsd	(%rax), %xmm1
	mulsd	%xmm1, %xmm0
	addsd	%xmm4, %xmm0
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S2,8,3                         ## @S2
	.comm	_S3,8,3                         ## @S3
	.comm	_S4,8,3                         ## @S4
	.comm	_S5,8,3                         ## @S5
	.comm	_S6,8,3                         ## @S6
	.comm	_S1,8,3                         ## @S1
	.comm	_half,8,3                       ## @half
	.no_dead_strip	___kernel_sin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __kernel_sin
___kernel_sin:                          ; @__kernel_sin
	.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
	fmov	d9, d1
	fmov	d8, d0
	bl	___HI
	fcvtzs	w8, d8
	ubfx	w9, w0, #22, #9
	cmp	w9, #248
	ccmp	w8, #0, #0, ls
	b.eq	LBB0_3
; %bb.1:
	fmul	d0, d8, d8
Lloh0:
	adrp	x8, _S2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S2@GOTPAGEOFF]
Lloh2:
	ldr	d2, [x8]
Lloh3:
	adrp	x8, _S3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S3@GOTPAGEOFF]
Lloh5:
	ldr	d3, [x8]
Lloh6:
	adrp	x8, _S4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S4@GOTPAGEOFF]
Lloh8:
	ldr	d4, [x8]
Lloh9:
	adrp	x8, _S5@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S5@GOTPAGEOFF]
Lloh11:
	ldr	d5, [x8]
Lloh12:
	adrp	x8, _S6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S6@GOTPAGEOFF]
	fmul	d1, d0, d8
Lloh14:
	ldr	d6, [x8]
	fmadd	d5, d0, d6, d5
	fmadd	d4, d0, d5, d4
	fmadd	d3, d0, d4, d3
	fmadd	d2, d0, d3, d2
	cbz	w19, LBB0_4
; %bb.2:
Lloh15:
	adrp	x8, _half@GOTPAGE
Lloh16:
	ldr	x8, [x8, _half@GOTPAGEOFF]
Lloh17:
	ldr	d3, [x8]
	fneg	d4, d1
	fmul	d2, d2, d4
	fmadd	d2, d3, d9, d2
	fnmsub	d0, d0, d2, d9
Lloh18:
	adrp	x8, _S1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _S1@GOTPAGEOFF]
Lloh20:
	ldr	d2, [x8]
	fmsub	d0, d1, d2, d0
	fsub	d8, d8, d0
LBB0_3:
	fmov	d0, d8
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _S1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _S1@GOTPAGEOFF]
Lloh23:
	ldr	d3, [x8]
	fmadd	d0, d0, d2, d3
	fmadd	d0, d1, d0, d8
LBB0_5:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_S2,8,3                         ; @S2
	.comm	_S3,8,3                         ; @S3
	.comm	_S4,8,3                         ; @S4
	.comm	_S5,8,3                         ; @S5
	.comm	_S6,8,3                         ; @S6
	.comm	_S1,8,3                         ; @S1
	.comm	_half,8,3                       ; @half
	.no_dead_strip	___kernel_sin
.subsections_via_symbols
