	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function estimateSqrt32
_estimateSqrt32:                        ## @estimateSqrt32
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	shrl	$27, %eax
	andl	$15, %eax
	movl	%esi, %ebx
	sarl	$17, %ebx
	testb	$1, %dil
	jne	LBB0_1
## %bb.3:
	leaq	_estimateSqrt32.sqrtEvenAdjustments(%rip), %rcx
	subl	(%rcx,%rax,4), %ebx
	leal	32768(%rbx), %ecx
	movl	%esi, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	addl	$32768, %eax                    ## imm = 0x8000
	movl	%eax, %ecx
	shll	$15, %ecx
	cmpl	$131072, %eax                   ## imm = 0x20000
	movl	$-32768, %ebx                   ## imm = 0x8000
	cmovll	%ecx, %ebx
	cmpl	%esi, %ebx
	jg	LBB0_2
## %bb.4:
	sarl	%esi
	movl	%esi, %ebx
	jmp	LBB0_5
LBB0_1:
	leaq	_estimateSqrt32.sqrtOddAdjustments(%rip), %rcx
	subl	(%rcx,%rax,4), %ebx
	addl	$16384, %ebx                    ## imm = 0x4000
	movl	%esi, %eax
	cltd
	idivl	%ebx
	shll	$14, %eax
	shll	$15, %ebx
	addl	%eax, %ebx
	sarl	%esi
LBB0_2:
	movl	%esi, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_estimateDiv64To32
	sarl	%eax
	sarl	%ebx
	addl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @estimateSqrt32.sqrtOddAdjustments
_estimateSqrt32.sqrtOddAdjustments:
	.long	4                               ## 0x4
	.long	34                              ## 0x22
	.long	93                              ## 0x5d
	.long	177                             ## 0xb1
	.long	285                             ## 0x11d
	.long	415                             ## 0x19f
	.long	566                             ## 0x236
	.long	736                             ## 0x2e0
	.long	924                             ## 0x39c
	.long	1128                            ## 0x468
	.long	1349                            ## 0x545
	.long	1585                            ## 0x631
	.long	1835                            ## 0x72b
	.long	2098                            ## 0x832
	.long	2374                            ## 0x946
	.long	2663                            ## 0xa67

	.p2align	4                               ## @estimateSqrt32.sqrtEvenAdjustments
_estimateSqrt32.sqrtEvenAdjustments:
	.long	2605                            ## 0xa2d
	.long	2223                            ## 0x8af
	.long	1882                            ## 0x75a
	.long	1577                            ## 0x629
	.long	1306                            ## 0x51a
	.long	1065                            ## 0x429
	.long	854                             ## 0x356
	.long	670                             ## 0x29e
	.long	512                             ## 0x200
	.long	377                             ## 0x179
	.long	265                             ## 0x109
	.long	175                             ## 0xaf
	.long	104                             ## 0x68
	.long	52                              ## 0x34
	.long	18                              ## 0x12
	.long	2                               ## 0x2

	.no_dead_strip	_estimateSqrt32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function estimateSqrt32
_estimateSqrt32:                        ; @estimateSqrt32
	.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
	ubfx	w8, w1, #27, #4
	asr	w9, w1, #17
	tbnz	w0, #0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, _estimateSqrt32.sqrtEvenAdjustments@PAGE
Lloh1:
	add	x10, x10, _estimateSqrt32.sqrtEvenAdjustments@PAGEOFF
	ldr	w8, [x10, x8, lsl #2]
	sub	w8, w9, w8
	add	w8, w8, #8, lsl #12             ; =32768
	sdiv	w9, w1, w8
	add	w8, w9, w8
	lsl	w9, w8, #15
	mov	w10, #-32768
	cmp	w8, #32, lsl #12                ; =131072
	csel	w19, w10, w9, ge
	cmp	w19, w1
	b.gt	LBB0_4
; %bb.2:
	asr	w0, w1, #1
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x10, _estimateSqrt32.sqrtOddAdjustments@PAGE
Lloh3:
	add	x10, x10, _estimateSqrt32.sqrtOddAdjustments@PAGEOFF
	ldr	w8, [x10, x8, lsl #2]
	sub	w8, w9, w8
	add	w8, w8, #4, lsl #12             ; =16384
	sdiv	w9, w1, w8
	lsl	w9, w9, #14
	add	w19, w9, w8, lsl #15
	asr	w1, w1, #1
LBB0_4:
	mov	x0, x1
	mov	w1, #0
	mov	x2, x19
	bl	_estimateDiv64To32
	asr	w8, w0, #1
	add	w0, w8, w19, asr #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @estimateSqrt32.sqrtOddAdjustments
_estimateSqrt32.sqrtOddAdjustments:
	.long	4                               ; 0x4
	.long	34                              ; 0x22
	.long	93                              ; 0x5d
	.long	177                             ; 0xb1
	.long	285                             ; 0x11d
	.long	415                             ; 0x19f
	.long	566                             ; 0x236
	.long	736                             ; 0x2e0
	.long	924                             ; 0x39c
	.long	1128                            ; 0x468
	.long	1349                            ; 0x545
	.long	1585                            ; 0x631
	.long	1835                            ; 0x72b
	.long	2098                            ; 0x832
	.long	2374                            ; 0x946
	.long	2663                            ; 0xa67

	.p2align	2                               ; @estimateSqrt32.sqrtEvenAdjustments
_estimateSqrt32.sqrtEvenAdjustments:
	.long	2605                            ; 0xa2d
	.long	2223                            ; 0x8af
	.long	1882                            ; 0x75a
	.long	1577                            ; 0x629
	.long	1306                            ; 0x51a
	.long	1065                            ; 0x429
	.long	854                             ; 0x356
	.long	670                             ; 0x29e
	.long	512                             ; 0x200
	.long	377                             ; 0x179
	.long	265                             ; 0x109
	.long	175                             ; 0xaf
	.long	104                             ; 0x68
	.long	52                              ; 0x34
	.long	18                              ; 0x12
	.long	2                               ; 0x2

	.no_dead_strip	_estimateSqrt32
.subsections_via_symbols
