	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ft_trig_pseudo_rotate
_ft_trig_pseudo_rotate:                 ## @ft_trig_pseudo_rotate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %edx
	movl	4(%rdi), %ecx
	movq	_FT_ANGLE_PI4@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %ebx
	negl	%ebx
	cmpl	%esi, %ebx
	jle	LBB0_1
## %bb.4:
	movq	_FT_ANGLE_PI2@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	addl	%r9d, %esi
	negl	%edx
	movl	%edx, %ecx
	movl	%eax, %edx
	cmpl	%ebx, %esi
	jl	LBB0_5
## %bb.2:
	cmpl	%r8d, %esi
	jle	LBB0_3
LBB0_6:
	movq	_FT_ANGLE_PI2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r10d
	subl	%edx, %esi
	movl	%ecx, %eax
	negl	%eax
	movl	%r10d, %ecx
	cmpl	%r8d, %esi
	jg	LBB0_7
	jmp	LBB0_8
LBB0_1:
	movl	%edx, %eax
	cmpl	%r8d, %esi
	jg	LBB0_6
LBB0_3:
	movl	%ecx, %r10d
LBB0_8:
	movq	_FT_TRIG_MAX_ITERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	cmpl	$2, %r8d
	jl	LBB0_14
## %bb.9:
	movq	_ft_trig_arctan_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	decl	%r8d
	movl	$1, %r14d
	xorl	%r11d, %r11d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	leal	(%r14,%rax), %edx
	sarl	%cl, %edx
	subl	%ebx, %eax
	addl	%r10d, %edx
	subl	(%r9,%r11,4), %esi
	movl	%edx, %r10d
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	addl	%r14d, %r14d
	movq	%rcx, %r11
	cmpl	%ecx, %r8d
	je	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%r11), %rcx
	leal	(%r14,%r10), %ebx
	sarl	%cl, %ebx
	testl	%esi, %esi
	jns	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addl	%eax, %ebx
	addl	%r14d, %eax
	sarl	%cl, %eax
	subl	%eax, %r10d
	addl	(%r9,%r11,4), %esi
	movl	%ebx, %eax
	jmp	LBB0_13
LBB0_14:
	movl	%eax, (%rdi)
	movl	%r10d, 4(%rdi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_ANGLE_PI4,4,2               ## @FT_ANGLE_PI4
	.comm	_FT_ANGLE_PI2,8,3               ## @FT_ANGLE_PI2
	.comm	_ft_trig_arctan_table,8,3       ## @ft_trig_arctan_table
	.comm	_FT_TRIG_MAX_ITERS,4,2          ## @FT_TRIG_MAX_ITERS
	.no_dead_strip	_ft_trig_pseudo_rotate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ft_trig_pseudo_rotate
_ft_trig_pseudo_rotate:                 ; @ft_trig_pseudo_rotate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FT_ANGLE_PI4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_ANGLE_PI4@GOTPAGEOFF]
	ldp	w13, w11, [x0]
Lloh2:
	ldr	w10, [x8]
	neg	w12, w10
	cmp	w12, w1
Lloh3:
	adrp	x9, _FT_ANGLE_PI2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FT_ANGLE_PI2@GOTPAGEOFF]
	b.le	LBB0_6
; %bb.1:
	ldr	w14, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x11
	neg	w11, w13
	add	w1, w1, w14
	cmp	w1, w12
	mov	x13, x8
	b.lt	LBB0_2
; %bb.3:
	cmp	w1, w10
	b.le	LBB0_7
LBB0_4:
	ldr	w12, [x9]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	neg	w8, w11
	sub	w1, w1, w12
	cmp	w1, w10
	mov	x11, x9
	b.gt	LBB0_5
	b	LBB0_8
LBB0_6:
	mov	x8, x13
	cmp	w1, w10
	b.gt	LBB0_4
LBB0_7:
	mov	x9, x11
LBB0_8:
Lloh5:
	adrp	x10, _FT_TRIG_MAX_ITERS@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FT_TRIG_MAX_ITERS@GOTPAGEOFF]
Lloh7:
	ldr	w12, [x10]
	cmp	w12, #2
	b.lt	LBB0_14
; %bb.9:
	mov	x10, #0
Lloh8:
	adrp	x11, _ft_trig_arctan_table@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ft_trig_arctan_table@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	sub	w12, w12, #1
	mov	w13, #1
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	w8, w8, w15
	asr	w14, w16, w14
	add	w9, w14, w9
	ldr	w14, [x11, x10, lsl #2]
	sub	w1, w1, w14
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	lsl	w13, w13, #1
	add	x10, x10, #1
	cmp	w12, w10
	b.eq	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x10, #1
	add	w15, w13, w9
	asr	w15, w15, w14
	add	w16, w13, w8
	tbz	w1, #31, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	w8, w15, w8
	asr	w14, w16, w14
	sub	w9, w9, w14
	ldr	w14, [x11, x10, lsl #2]
	add	w1, w14, w1
	b	LBB0_11
LBB0_14:
	stp	w8, w9, [x0]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_ANGLE_PI4,4,2               ; @FT_ANGLE_PI4
	.comm	_FT_ANGLE_PI2,8,3               ; @FT_ANGLE_PI2
	.comm	_ft_trig_arctan_table,8,3       ; @ft_trig_arctan_table
	.comm	_FT_TRIG_MAX_ITERS,4,2          ; @FT_TRIG_MAX_ITERS
	.no_dead_strip	_ft_trig_pseudo_rotate
.subsections_via_symbols
