	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function decompose_transform
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decompose_transform:                   ## @decompose_transform
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movsd	(%rsi), %xmm3                   ## xmm3 = mem[0],zero
	movsd	8(%rsi), %xmm4                  ## xmm4 = mem[0],zero
	movsd	16(%rsi), %xmm0                 ## xmm0 = mem[0],zero
	movsd	24(%rsi), %xmm1                 ## xmm1 = mem[0],zero
	movsd	32(%rsi), %xmm6                 ## xmm6 = mem[0],zero
	movsd	40(%rsi), %xmm5                 ## xmm5 = mem[0],zero
	movapd	%xmm4, %xmm2
	mulsd	%xmm1, %xmm2
	movapd	%xmm3, %xmm7
	mulsd	%xmm6, %xmm7
	subsd	%xmm2, %xmm7
	movq	24(%rdi), %rax
	movsd	%xmm0, (%rax)
	movsd	%xmm5, 8(%rax)
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm3
	jne	LBB0_2
	jp	LBB0_2
## %bb.1:
	ucomisd	%xmm0, %xmm1
	jne	LBB0_2
	jp	LBB0_2
## %bb.3:
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm4
	jne	LBB0_5
	jp	LBB0_5
## %bb.4:
	ucomisd	%xmm0, %xmm6
	jne	LBB0_5
	jnp	LBB0_7
LBB0_5:
	movapd	%xmm6, %xmm0
	mulsd	%xmm6, %xmm0
	movapd	%xmm4, %xmm2
	mulsd	%xmm4, %xmm2
	addsd	%xmm0, %xmm2
	xorps	%xmm0, %xmm0
	sqrtsd	%xmm2, %xmm0
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	_M_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movapd	%xmm6, %xmm0
	movsd	%xmm3, -48(%rbp)                ## 8-byte Spill
	movapd	%xmm4, -80(%rbp)                ## 16-byte Spill
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movsd	%xmm6, -64(%rbp)                ## 8-byte Spill
	movsd	%xmm7, -56(%rbp)                ## 8-byte Spill
	callq	_FFSIGN
	movl	%eax, %r14d
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0]
	xorpd	-80(%rbp), %xmm0                ## 16-byte Folded Reload
	divsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_acos
	imull	%r14d, %eax
	subl	%eax, %ebx
	movl	%ebx, (%r15)
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movq	16(%r15), %rax
	movsd	%xmm1, (%rax)
	movsd	%xmm0, 8(%rax)
	movq	8(%r15), %rbx
	movq	$0, (%rbx)
	movsd	-40(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	-64(%rbp), %xmm2                ## 8-byte Folded Reload
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	-80(%rbp), %xmm1                ## 16-byte Folded Reload
	addsd	%xmm2, %xmm1
	mulsd	%xmm0, %xmm0
	divsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
	callq	_atan
	jmp	LBB0_6
LBB0_2:
	movapd	%xmm3, %xmm0
	movsd	%xmm3, -48(%rbp)                ## 8-byte Spill
	movapd	%xmm4, -80(%rbp)                ## 16-byte Spill
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movsd	%xmm6, -64(%rbp)                ## 8-byte Spill
	movsd	%xmm7, -56(%rbp)                ## 8-byte Spill
	callq	_hypot
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_FFSIGN
	movl	%eax, %r14d
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	divsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_acos
	imull	%r14d, %eax
	movl	%eax, (%r15)
	movq	16(%r15), %rax
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rax)
	movsd	-56(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	movapd	%xmm0, %xmm1
	movsd	%xmm2, 8(%rax)
	movsd	-64(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	-40(%rbp), %xmm2                ## 8-byte Folded Reload
	movapd	-80(%rbp), %xmm0                ## 16-byte Reload
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm1
	divsd	%xmm1, %xmm0
	callq	_atan
	movq	8(%r15), %rbx
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_6:
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_decompose_transform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decompose_transform
_decompose_transform:                   ; @decompose_transform
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
	mov	x19, x8
	ldp	d8, d12, [x0]
	ldp	d0, d9, [x0, #16]
	ldp	d10, d1, [x0, #32]
	fneg	d2, d9
	fmul	d2, d12, d2
	fmadd	d13, d8, d10, d2
	ldr	x8, [x8, #24]
	stp	d0, d1, [x8]
	fcmp	d8, #0.0
	b.ne	LBB0_5
; %bb.1:
	fcmp	d9, #0.0
	b.ne	LBB0_5
; %bb.2:
	fcmp	d12, #0.0
	b.ne	LBB0_4
; %bb.3:
	fcmp	d10, #0.0
	b.eq	LBB0_7
LBB0_4:
	fmul	d0, d10, d10
	fmadd	d0, d12, d12, d0
	fsqrt	d11, d0
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w21, w8, #1
	fmov	d0, d10
	bl	_FFSIGN
	mov	x20, x0
	fneg	d0, d12
	fdiv	d0, d0, d11
	bl	_acos
	msub	w8, w0, w20, w21
	str	w8, [x19]
	fdiv	d0, d13, d11
	ldp	x19, x8, [x19, #8]
	stp	d0, d11, [x8]
	str	xzr, [x19]
	fmul	d0, d9, d10
	fmadd	d0, d8, d12, d0
	fmul	d1, d11, d11
	fdiv	d0, d0, d1
	bl	_atan
	b	LBB0_6
LBB0_5:
	fmov	d0, d8
	fmov	d1, d9
	bl	_hypot
	fmov	d11, d0
	fmov	d0, d9
	bl	_FFSIGN
	mov	x20, x0
	fdiv	d0, d8, d11
	bl	_acos
	mul	w8, w0, w20
	str	w8, [x19]
	ldr	x8, [x19, #16]
	fdiv	d0, d13, d11
	stp	d11, d0, [x8]
	fmul	d0, d9, d10
	fmadd	d0, d8, d12, d0
	fmul	d1, d11, d11
	fdiv	d0, d0, d1
	bl	_atan
	mov	x8, x0
	mov	x0, #0
	ldr	x19, [x19, #8]
	str	x8, [x19]
LBB0_6:
	str	x0, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [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], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_decompose_transform
.subsections_via_symbols
