	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getMNP_double
_getMNP_double:                         ## @getMNP_double
	.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	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	%r8, -144(%rbp)                 ## 8-byte Spill
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	%edx, %r12d
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movl	40(%rsi), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movl	44(%rsi), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	8(%rsi), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movslq	12(%rsi), %rax
	movl	48(%rsi), %ecx
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	imulq	$-1374389535, %rax, %rcx        ## imm = 0xAE147AE1
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	movl	16(%rsi), %r8d
	movl	52(%rsi), %ecx
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movl	20(%rsi), %r9d
	movl	56(%rsi), %ebx
	movl	60(%rsi), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	64(%rsi), %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movl	68(%rsi), %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	24(%rsi), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	28(%rsi), %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	32(%rsi), %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	36(%rsi), %r10d
	movl	(%rsi), %edi
	movl	4(%rsi), %r15d
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	sarl	%edx
	movl	$-1, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	movl	%edx, %esi
	sarl	%cl, %esi
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edi, %ecx
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r12d, %esi
	jge	LBB0_1
LBB0_4:
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	xorl	%r10d, %edx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	-80(%rbp), %esi                 ## 4-byte Folded Reload
	orl	%edx, %esi
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movl	%r12d, %edx
	shll	%cl, %edx
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movslq	%r12d, %rdx
	imulq	$1374389535, %rdx, %rsi         ## imm = 0x51EB851F
	movq	%rsi, %rdx
	shrq	$63, %rdx
	sarq	$38, %rsi
	addl	%edx, %esi
	addl	%r12d, %esi
	cmpl	%esi, %eax
	cmovgl	%eax, %esi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	cmpl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	jg	LBB0_29
## %bb.5:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	imull	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, -100(%rbp)               ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	leal	1(%rbx), %eax
	cmpl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%eax, %ebx
	je	LBB0_29
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##       Child Loop BB0_14 Depth 3
	movl	%r15d, %eax
	cltd
	idivl	%ebx
	cmpl	-92(%rbp), %eax                 ## 4-byte Folded Reload
	jl	LBB0_29
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	-88(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_28
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	cmpl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_28
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %r14d
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=2
	leal	1(%r14), %eax
	cmpl	-64(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%eax, %r14d
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_28
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_14 Depth 3
	movl	%r14d, %eax
	imull	%r15d, %eax
	cltd
	idivl	%ebx
	cmpl	-116(%rbp), %eax                ## 4-byte Folded Reload
	jl	LBB0_27
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	%eax, %edi
	cmpl	-112(%rbp), %eax                ## 4-byte Folded Reload
	jg	LBB0_28
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	-52(%rbp), %r11d                ## 4-byte Reload
	cmpl	-80(%rbp), %r11d                ## 4-byte Folded Reload
	jg	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	%edi, %ebx
	shrl	$31, %ebx
	addl	%edi, %ebx
	sarl	%ebx
	addl	-96(%rbp), %ebx                 ## 4-byte Folded Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=3
	incl	%r11d
	addl	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	cmpl	%r11d, -120(%rbp)               ## 4-byte Folded Reload
	je	LBB0_27
LBB0_14:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%edi, %eax
	cltd
	idivl	%r11d
	cmpl	%r8d, %eax
	jl	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	cmpl	%r9d, %eax
	jg	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=3
	movl	%ebx, %eax
	cltd
	idivl	%edi
	cmpl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	jl	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=3
	movl	%eax, %esi
	cmpl	%r10d, %eax
	jg	LBB0_27
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=3
	movl	%edi, %eax
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=3
	cmpl	$95, -108(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=3
	movl	%esi, %eax
	cltd
	idivl	%r11d
	addl	$-11, %eax
	cmpl	$-7, %eax
	jb	LBB0_26
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=3
	movl	%esi, %eax
	imull	%edi, %eax
	cltd
	idivl	%r11d
	cmpl	-104(%rbp), %eax                ## 4-byte Folded Reload
	jl	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=3
	cmpl	-160(%rbp), %eax                ## 4-byte Folded Reload
	jg	LBB0_26
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=3
	sarl	%cl, %eax
	movl	%eax, %edx
	subl	%r12d, %edx
	movl	%edx, %r13d
	negl	%r13d
	cmovsl	%edx, %r13d
	cmpl	-60(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movl	%r14d, (%rdx)
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	movl	%r10d, %r15d
	movl	%r8d, %r10d
	movl	%r9d, %r8d
	movl	%r12d, %r9d
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, (%rdx)
	movl	%r9d, %r12d
	movl	%r8d, %r9d
	movl	%r10d, %r8d
	movl	%r15d, %r10d
	movl	-100(%rbp), %r15d               ## 4-byte Reload
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movl	%esi, (%rdx)
	movq	16(%rbp), %rdx
	movl	%r11d, (%rdx)
	movq	24(%rbp), %rdx
	movl	%ecx, (%rdx)
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	%r12d, %eax
	jne	LBB0_26
## %bb.25:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
LBB0_29:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_getMNP_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getMNP_double
_getMNP_double:                         ; @getMNP_double
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x6, x7, [sp, #48]               ; 16-byte Folded Spill
	stp	x4, x5, [sp, #32]               ; 16-byte Folded Spill
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldp	w9, w10, [x1, #40]
	ldp	w3, w11, [x1, #8]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	ldr	w13, [x1, #48]
	ldp	w12, w19, [x1, #52]
	stp	w12, w13, [sp, #16]             ; 8-byte Folded Spill
	ldp	w14, w15, [x1, #16]
	ldp	w17, w12, [x1, #60]
	str	w12, [sp, #12]                  ; 4-byte Folded Spill
	ldr	w20, [x1, #68]
	ldp	w7, w22, [x1, #24]
	ldp	w23, w24, [x1, #32]
Lloh0:
	adrp	x13, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x13, [x13, _INT_MAX@GOTPAGEOFF]
	ldp	w12, w1, [x1]
Lloh2:
	ldr	w4, [x13]
	mov	x13, #-34079
	movk	x13, #44564, lsl #16
	mul	x13, x11, x13
	lsr	x16, x13, #63
	asr	x13, x13, #38
	add	w13, w13, w16
	add	w13, w13, w11
	cmp	w13, #0
	cinc	w13, w13, lt
	asr	w13, w13, #1
	mov	w26, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w26, w26, #1
	cbz	w2, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w26, w12
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	asr	w16, w13, w26
	cmp	w16, w2
	b.ge	LBB0_1
LBB0_4:
	cmp	w7, w22
	ccmp	w23, w24, #0, eq
	cset	w27, eq
	mov	w12, #34079
	movk	w12, #20971, lsl #16
	smull	x12, w2, w12
	lsr	x13, x12, #63
	asr	x12, x12, #38
	add	w12, w12, w13
	add	w12, w12, w2
	cmp	w11, w12
	csel	w28, w11, w12, gt
	cmp	w19, w17
	b.le	LBB0_6
; %bb.5:
	mov	w5, #0
	b	LBB0_29
LBB0_6:
	mov	w5, #0
	lsl	w30, w2, w26
	add	w13, w22, #1
	mul	w12, w7, w30
	str	w17, [sp, #8]                   ; 4-byte Folded Spill
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w11, w19, #1
	ldr	w16, [sp, #8]                   ; 4-byte Folded Reload
	cmp	w19, w16
	mov	x19, x11
	b.eq	LBB0_29
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_16 Depth 3
	sdiv	w11, w1, w19
	ldr	w16, [sp, #20]                  ; 4-byte Folded Reload
	cmp	w11, w16
	b.lt	LBB0_29
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldp	w17, w16, [sp, #12]             ; 8-byte Folded Reload
	cmp	w11, w16
	ccmp	w17, w20, #0, le
	b.le	LBB0_11
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w11, w17, #1
	cmp	w17, w20
	mov	x17, x11
	b.eq	LBB0_7
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_16 Depth 3
	mul	w11, w17, w1
	sdiv	w16, w11, w19
	cmp	w16, w9
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w16, w10
	b.gt	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w7, w22
	b.gt	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w16, #0
	cinc	w11, w16, lt
	add	w11, w12, w11, asr #1
	mov	x21, x7
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=3
	add	w21, w21, #1
	add	w11, w11, w30
	cmp	w13, w21
	b.eq	LBB0_10
LBB0_16:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sdiv	w0, w16, w21
	cmp	w0, w14
	b.lt	LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=3
	cmp	w0, w15
	b.gt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=3
	sdiv	w6, w11, w16
	cmp	w6, w23
	b.lt	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=3
	cmp	w6, w24
	b.gt	LBB0_10
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=3
	mov	x0, x16
	tbnz	w27, #0, LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=3
	cmp	w8, #95
	b.gt	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=3
	sdiv	w0, w6, w21
	sub	w0, w0, #11
	cmn	w0, #7
	b.lo	LBB0_15
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=3
	mul	w0, w6, w16
	sdiv	w0, w0, w21
	cmp	w0, w3
	b.lt	LBB0_10
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=3
	cmp	w0, w28
	b.gt	LBB0_15
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=3
	asr	w0, w0, w26
	subs	w25, w0, w2
	cneg	w25, w25, mi
	cmp	w25, w4
	b.ge	LBB0_15
; %bb.26:                               ;   in Loop: Header=BB0_16 Depth=3
	ldr	x4, [sp, #24]                   ; 8-byte Folded Reload
	str	w17, [x4]
	ldr	x4, [sp, #32]                   ; 8-byte Folded Reload
	str	w19, [x4]
	ldr	x4, [sp, #40]                   ; 8-byte Folded Reload
	str	w6, [x4]
	ldr	x4, [sp, #48]                   ; 8-byte Folded Reload
	str	w21, [x4]
	ldr	x4, [sp, #56]                   ; 8-byte Folded Reload
	str	w26, [x4]
	cmp	w0, w2
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=3
	mov	x4, x25
	mov	x5, x0
	b	LBB0_15
LBB0_28:
	mov	x5, x2
LBB0_29:
	mov	x0, x5
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_getMNP_double
.subsections_via_symbols
