	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal_real_to_integer2       ## -- Begin function decimal_real_to_integer2
	.p2align	4, 0x90
_decimal_real_to_integer2:              ## @decimal_real_to_integer2
	.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
	subq	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -312(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DEC_INIT_DECIMAL128@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-344(%rbp), %r12
	movq	%r12, %rdi
	callq	_decContextDefault
	movq	$0, -336(%rbp)
	movq	_DEC_ROUND_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -344(%rbp)
	movq	(%rbx), %rdi
	leaq	-324(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_decimal128ToNumber
	leaq	-320(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_decNumberToIntegralValue
	leaq	-316(%rbp), %r14
	movq	%r14, %rdi
	callq	_decNumberZero
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_decNumberRescale
	leaq	-304(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_decNumberToString
	leaq	-352(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_real_from_string
	movq	%r15, %rdi
	movq	-312(%rbp), %rsi                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_real_to_integer2
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DEC_INIT_DECIMAL128,4,2        ## @DEC_INIT_DECIMAL128
	.comm	_DEC_ROUND_DOWN,4,2             ## @DEC_ROUND_DOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal_real_to_integer2       ; -- Begin function decimal_real_to_integer2
	.p2align	2
_decimal_real_to_integer2:              ; @decimal_real_to_integer2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _DEC_INIT_DECIMAL128@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEC_INIT_DECIMAL128@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #24
	bl	_decContextDefault
	str	xzr, [sp, #32]
Lloh6:
	adrp	x8, _DEC_ROUND_DOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEC_ROUND_DOWN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x0, [x19]
	add	x1, sp, #20
	bl	_decimal128ToNumber
	add	x0, sp, #16
	add	x1, sp, #20
	add	x2, sp, #24
	bl	_decNumberToIntegralValue
	add	x0, sp, #12
	bl	_decNumberZero
	add	x0, sp, #20
	add	x1, sp, #16
	add	x2, sp, #12
	add	x3, sp, #24
	bl	_decNumberRescale
	add	x0, sp, #20
	add	x1, sp, #40
	bl	_decNumberToString
	mov	x0, sp
	add	x1, sp, #40
	bl	_real_from_string
	mov	x2, sp
	mov	x0, x21
	mov	x1, x20
	bl	_real_to_integer2
	ldur	x8, [x29, #-40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEC_INIT_DECIMAL128,4,2        ; @DEC_INIT_DECIMAL128
	.comm	_DEC_ROUND_DOWN,4,2             ; @DEC_ROUND_DOWN
.subsections_via_symbols
