	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function get_rotated_w
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_rotated_w:                         ## @get_rotated_w
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$64, %rsp
	movaps	%xmm0, %xmm1
	movsd	%xmm0, -8(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	_VAR_IN_W@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	(%rax,%rcx,8), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movq	_VAR_IN_H@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	(%rax,%rcx,8), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movaps	%xmm1, %xmm0
	callq	_sin
	movss	%xmm0, -24(%rbp)                ## 4-byte Spill
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_cos
	movss	%xmm0, -8(%rbp)                 ## 4-byte Spill
	movss	-24(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	movsd	%xmm1, -24(%rbp)                ## 8-byte Spill
	movapd	-64(%rbp), %xmm0                ## 16-byte Reload
	mulsd	%xmm1, %xmm0
	xorl	%edi, %edi
	callq	_FFMAX
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movapd	-48(%rbp), %xmm0                ## 16-byte Reload
	xorpd	LCPI0_0(%rip), %xmm0
	movss	-8(%rbp), %xmm1                 ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	movsd	%xmm1, -8(%rbp)                 ## 8-byte Spill
	mulsd	%xmm1, %xmm0
	xorl	%edi, %edi
	callq	_FFMAX
	addsd	-16(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movapd	-48(%rbp), %xmm0                ## 16-byte Reload
	mulsd	-8(%rbp), %xmm0                 ## 8-byte Folded Reload
	xorl	%edi, %edi
	callq	_FFMAX
	addsd	-16(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movapd	-64(%rbp), %xmm0                ## 16-byte Reload
	xorpd	LCPI0_0(%rip), %xmm0
	mulsd	-24(%rbp), %xmm0                ## 8-byte Folded Reload
	xorl	%edi, %edi
	callq	_FFMAX
	addsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	addq	$64, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_IN_W,8,3                   ## @VAR_IN_W
	.comm	_VAR_IN_H,8,3                   ## @VAR_IN_H
	.no_dead_strip	_get_rotated_w
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_rotated_w
_get_rotated_w:                         ; @get_rotated_w
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	.cfi_offset b10, -40
	.cfi_offset b11, -48
	.cfi_offset b12, -56
	.cfi_offset b13, -64
	fmov	d8, d0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VAR_IN_W@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VAR_IN_W@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	d10, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _VAR_IN_H@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VAR_IN_H@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	d11, [x8, x9, lsl #3]
	bl	_sin
	fmov	s9, s0
	fmov	d0, d8
	bl	_cos
	fmov	s8, s0
	fcvt	d12, s9
	fmul	d0, d11, d12
	mov	w0, #0
	bl	_FFMAX
	fmov	d9, d0
	fneg	d0, d10
	fcvt	d8, s8
	fmul	d0, d0, d8
	mov	w0, #0
	bl	_FFMAX
	fadd	d9, d9, d0
	fmul	d0, d10, d8
	mov	w0, #0
	bl	_FFMAX
	fadd	d8, d9, d0
	fneg	d0, d11
	fmul	d0, d0, d12
	mov	w0, #0
	bl	_FFMAX
	fadd	d0, d8, d0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VAR_IN_W,8,3                   ; @VAR_IN_W
	.comm	_VAR_IN_H,8,3                   ; @VAR_IN_H
	.no_dead_strip	_get_rotated_w
.subsections_via_symbols
