	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ft_trig_pseudo_polarize
_ft_trig_pseudo_polarize:               ## @ft_trig_pseudo_polarize
	.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	%rdi, %r14
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	movl	%eax, %r10d
	negl	%r10d
	cmpl	%eax, %ecx
	jle	LBB0_3
## %bb.1:
	cmpl	%r10d, %ecx
	jle	LBB0_5
## %bb.2:
	movq	_FT_ANGLE_PI2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ecx, %r15d
	jmp	LBB0_8
LBB0_3:
	xorl	%edi, %edi
	cmpl	%r10d, %ecx
	jge	LBB0_6
## %bb.4:
	movq	_FT_ANGLE_PI2@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	subl	(%rdx), %edi
	negl	%ecx
	movl	%ecx, %r15d
	movl	%eax, %r10d
	jmp	LBB0_8
LBB0_5:
	movq	_FT_ANGLE_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	negl	%edi
	testl	%ecx, %ecx
	cmovgl	%eax, %edi
	negl	%ecx
	movl	%r10d, %r15d
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %r15d
LBB0_7:
	movl	%ecx, %r10d
LBB0_8:
	movq	_FT_TRIG_MAX_ITERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	cmpl	$2, %r9d
	jl	LBB0_14
## %bb.9:
	movq	_ft_trig_arctan_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	decl	%r9d
	movl	$1, %esi
	xorl	%edx, %edx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=1
	leal	(%rsi,%r15), %ebx
	sarl	%cl, %ebx
	subl	%eax, %r15d
	addl	%r10d, %ebx
	subl	(%r8,%rdx,4), %edi
	movl	%ebx, %r10d
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	addl	%esi, %esi
	movq	%rcx, %rdx
	cmpl	%ecx, %r9d
	je	LBB0_14
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdx), %rcx
	leal	(%rsi,%r10), %eax
	sarl	%cl, %eax
	testl	%r10d, %r10d
	jle	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	addl	%r15d, %eax
	addl	%esi, %r15d
	sarl	%cl, %r15d
	subl	%r15d, %r10d
	addl	(%r8,%rdx,4), %edi
	movl	%eax, %r15d
	jmp	LBB0_11
LBB0_14:
	testl	%edi, %edi
	js	LBB0_16
## %bb.15:
	movl	$16, %esi
	callq	_FT_PAD_ROUND
	jmp	LBB0_17
LBB0_16:
	negl	%edi
	movl	$16, %esi
	callq	_FT_PAD_ROUND
	negl	%eax
LBB0_17:
	movl	%r15d, (%r14)
	movl	%eax, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_ANGLE_PI2,4,2               ## @FT_ANGLE_PI2
	.comm	_FT_ANGLE_PI,4,2                ## @FT_ANGLE_PI
	.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_polarize
.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_polarize
_ft_trig_pseudo_polarize:               ; @ft_trig_pseudo_polarize
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	w10, w9, [x0]
	neg	w8, w10
	cmp	w9, w10
	b.le	LBB0_3
; %bb.1:
	cmp	w9, w8
	b.le	LBB0_5
; %bb.2:
Lloh0:
	adrp	x10, _FT_ANGLE_PI2@GOTPAGE
Lloh1:
	ldr	x10, [x10, _FT_ANGLE_PI2@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x10]
	mov	x20, x9
	b	LBB0_7
LBB0_3:
	cmp	w9, w8
	b.ge	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _FT_ANGLE_PI2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FT_ANGLE_PI2@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	neg	w20, w9
	mov	x8, x10
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x10, _FT_ANGLE_PI@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FT_ANGLE_PI@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, #0
	cneg	w0, w10, le
	mov	x20, x8
	neg	w8, w9
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	mov	x20, x10
	mov	x8, x9
LBB0_7:
Lloh9:
	adrp	x9, _FT_TRIG_MAX_ITERS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FT_TRIG_MAX_ITERS@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x9]
	cmp	w11, #2
	b.lt	LBB0_13
; %bb.8:
	mov	x9, #0
Lloh12:
	adrp	x10, _ft_trig_arctan_table@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ft_trig_arctan_table@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	sub	w11, w11, #1
	mov	w12, #1
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	sub	w20, w20, w14
	asr	w13, w15, w13
	add	w8, w13, w8
	ldr	w13, [x10, x9, lsl #2]
	sub	w0, w0, w13
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	lsl	w12, w12, #1
	add	x9, x9, #1
	cmp	w11, w9
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x13, x9, #1
	add	w14, w12, w8
	asr	w14, w14, w13
	add	w15, w12, w20
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w20, w14, w20
	asr	w13, w15, w13
	sub	w8, w8, w13
	ldr	w13, [x10, x9, lsl #2]
	add	w0, w13, w0
	b	LBB0_10
LBB0_13:
	tbnz	w0, #31, LBB0_15
; %bb.14:
	mov	w1, #16
	bl	_FT_PAD_ROUND
	b	LBB0_16
LBB0_15:
	neg	w0, w0
	mov	w1, #16
	bl	_FT_PAD_ROUND
	neg	w0, w0
LBB0_16:
	stp	w20, w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_ANGLE_PI2,4,2               ; @FT_ANGLE_PI2
	.comm	_FT_ANGLE_PI,4,2                ; @FT_ANGLE_PI
	.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_polarize
.subsections_via_symbols
