	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpn_s_ex
_rpn_s_ex:                              ## @rpn_s_ex
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	_calc@GOTPCREL(%rip), %r12
	movl	16(%r12), %edi
	movq	_IDC_LIST_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LB_GETCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessage
	movl	(%r13), %edi
	cmpq	$1, %rax
	ja	LBB0_1
## %bb.7:
	movq	_MPFR_DEFAULT_RND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mpfr_set_ui                    ## TAILCALL
LBB0_1:
	movq	%rax, %r15
	callq	_stat_sum
	movl	(%r13), %edi
	movq	_MPFR_DEFAULT_RND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	%edi, %esi
	movq	%r15, %rdx
	callq	_mpfr_div_ui
	callq	_mpfr_init
	callq	_mpfr_init
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_mpfr_set_ui
	movq	8(%r12), %r12
	testq	%r12, %r12
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %esi
	movl	(%r13), %edx
	movl	(%rbx), %ecx
	callq	_mpfr_sub
	movl	(%rbx), %edx
	callq	_mpfr_sqr
	movl	(%rbx), %ecx
	callq	_mpfr_add
	movq	(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_2
LBB0_4:
	movl	(%r13), %edi
	cmpl	$1, %r14d
	adcq	$-1, %r15
	movl	(%rbx), %ecx
	movq	%r15, %rdx
	callq	_mpfr_div_ui
	movl	(%r13), %edi
	movl	(%rbx), %edx
	movl	%edi, %esi
	callq	_mpfr_sqrt
	movq	_calc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_IDC_RADIO_DEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movl	(%r13), %edi
	movl	%edi, %esi
	callq	_mpfr_trunc
LBB0_6:
	callq	_mpfr_clear
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mpfr_clear                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_calc,24,3                      ## @calc
	.comm	_IDC_LIST_STAT,4,2              ## @IDC_LIST_STAT
	.comm	_LB_GETCOUNT,4,2                ## @LB_GETCOUNT
	.comm	_MPFR_DEFAULT_RND,4,2           ## @MPFR_DEFAULT_RND
	.comm	_IDC_RADIO_DEC,8,3              ## @IDC_RADIO_DEC
	.no_dead_strip	_rpn_s_ex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpn_s_ex
_rpn_s_ex:                              ; @rpn_s_ex
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _calc@GOTPAGE
Lloh1:
	ldr	x22, [x22, _calc@GOTPAGEOFF]
	ldr	w0, [x22, #16]
Lloh2:
	adrp	x8, _IDC_LIST_STAT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDC_LIST_STAT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _LB_GETCOUNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LB_GETCOUNT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessage
	mov	x21, x0
	ldr	w0, [x19]
	cmp	x21, #1
	b.hi	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _MPFR_DEFAULT_RND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MPFR_DEFAULT_RND@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mpfr_set_ui
LBB0_2:
	bl	_stat_sum
	ldr	w0, [x19]
Lloh11:
	adrp	x23, _MPFR_DEFAULT_RND@GOTPAGE
Lloh12:
	ldr	x23, [x23, _MPFR_DEFAULT_RND@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x1, x0
	mov	x2, x21
	bl	_mpfr_div_ui
	bl	_mpfr_init
	bl	_mpfr_init
	ldr	w2, [x23]
	mov	w1, #0
	bl	_mpfr_set_ui
	ldr	x24, [x22, #8]
	cbz	x24, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24, #8]
	ldr	w2, [x19]
	ldr	w3, [x23]
	bl	_mpfr_sub
	ldr	w2, [x23]
	bl	_mpfr_sqr
	ldr	w3, [x23]
	bl	_mpfr_add
	ldr	x24, [x24]
	cbnz	x24, LBB0_3
LBB0_4:
	ldr	w0, [x19]
	cmp	w20, #0
	cset	w8, ne
	sub	x2, x21, x8
	ldr	w3, [x23]
	bl	_mpfr_div_ui
	ldr	w0, [x19]
	ldr	w2, [x23]
	mov	x1, x0
	bl	_mpfr_sqrt
	ldr	x8, [x22]
Lloh13:
	adrp	x9, _IDC_RADIO_DEC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IDC_RADIO_DEC@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x19]
	mov	x1, x0
	bl	_mpfr_trunc
LBB0_6:
	bl	_mpfr_clear
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mpfr_clear
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_calc,24,3                      ; @calc
	.comm	_IDC_LIST_STAT,4,2              ; @IDC_LIST_STAT
	.comm	_LB_GETCOUNT,4,2                ; @LB_GETCOUNT
	.comm	_MPFR_DEFAULT_RND,4,2           ; @MPFR_DEFAULT_RND
	.comm	_IDC_RADIO_DEC,8,3              ; @IDC_RADIO_DEC
	.no_dead_strip	_rpn_s_ex
.subsections_via_symbols
