	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal_round_for_format       ## -- Begin function decimal_round_for_format
	.p2align	4, 0x90
_decimal_round_for_format:              ## @decimal_round_for_format
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_rvc_normal@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_DEC_INIT_DECIMAL128@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_decContextDefault
	movq	$0, -48(%rbp)
	movq	8(%r14), %rdi
	leaq	-36(%rbp), %rsi
	callq	_decimal128ToNumber
	cmpq	_decimal_quad_format@GOTPCREL(%rip), %rbx
	je	LBB0_8
## %bb.2:
	cmpq	_decimal_single_format@GOTPCREL(%rip), %rbx
	je	LBB0_3
## %bb.4:
	cmpq	_decimal_double_format@GOTPCREL(%rip), %rbx
	je	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	callq	_gcc_unreachable
	jmp	LBB0_7
LBB0_3:
	movq	_DEC_INIT_DECIMAL32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_decContextDefault
	movq	$0, -48(%rbp)
	leaq	-52(%rbp), %rbx
	leaq	-36(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_decimal32FromNumber
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_decimal32ToNumber
	jmp	LBB0_7
LBB0_5:
	movq	_DEC_INIT_DECIMAL64@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_decContextDefault
	movq	$0, -48(%rbp)
	leaq	-52(%rbp), %rbx
	leaq	-36(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_decimal64FromNumber
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_decimal64ToNumber
LBB0_7:
	leaq	-36(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_decimal_from_decnumber
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rvc_normal,8,3                 ## @rvc_normal
	.comm	_DEC_INIT_DECIMAL128,4,2        ## @DEC_INIT_DECIMAL128
	.comm	_decimal_quad_format,4,2        ## @decimal_quad_format
	.comm	_decimal_single_format,4,2      ## @decimal_single_format
	.comm	_DEC_INIT_DECIMAL32,4,2         ## @DEC_INIT_DECIMAL32
	.comm	_decimal_double_format,4,2      ## @decimal_double_format
	.comm	_DEC_INIT_DECIMAL64,4,2         ## @DEC_INIT_DECIMAL64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal_round_for_format       ; -- Begin function decimal_round_for_format
	.p2align	2
_decimal_round_for_format:              ; @decimal_round_for_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _rvc_normal@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rvc_normal@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _DEC_INIT_DECIMAL128@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEC_INIT_DECIMAL128@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_decContextDefault
	str	xzr, [sp, #16]
	ldr	x0, [x19, #8]
	sub	x1, x29, #20
	bl	_decimal128ToNumber
Lloh6:
	adrp	x8, _decimal_quad_format@GOTPAGE
Lloh7:
	ldr	x8, [x8, _decimal_quad_format@GOTPAGEOFF]
	cmp	x20, x8
	b.eq	LBB0_8
; %bb.2:
Lloh8:
	adrp	x8, _decimal_single_format@GOTPAGE
Lloh9:
	ldr	x8, [x8, _decimal_single_format@GOTPAGEOFF]
	cmp	x20, x8
	b.eq	LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _decimal_double_format@GOTPAGE
Lloh11:
	ldr	x8, [x8, _decimal_double_format@GOTPAGEOFF]
	cmp	x20, x8
	b.eq	LBB0_6
; %bb.4:
	bl	_gcc_unreachable
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _DEC_INIT_DECIMAL32@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DEC_INIT_DECIMAL32@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_decContextDefault
	str	xzr, [sp, #16]
	add	x0, sp, #12
	sub	x1, x29, #20
	add	x2, sp, #16
	bl	_decimal32FromNumber
	add	x0, sp, #12
	sub	x1, x29, #20
	bl	_decimal32ToNumber
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _DEC_INIT_DECIMAL64@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DEC_INIT_DECIMAL64@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_decContextDefault
	str	xzr, [sp, #16]
	add	x0, sp, #12
	sub	x1, x29, #20
	add	x2, sp, #16
	bl	_decimal64FromNumber
	add	x0, sp, #12
	sub	x1, x29, #20
	bl	_decimal64ToNumber
LBB0_7:
	sub	x1, x29, #20
	add	x2, sp, #16
	mov	x0, x19
	bl	_decimal_from_decnumber
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_rvc_normal,8,3                 ; @rvc_normal
	.comm	_DEC_INIT_DECIMAL128,4,2        ; @DEC_INIT_DECIMAL128
	.comm	_decimal_quad_format,4,2        ; @decimal_quad_format
	.comm	_decimal_single_format,4,2      ; @decimal_single_format
	.comm	_DEC_INIT_DECIMAL32,4,2         ; @DEC_INIT_DECIMAL32
	.comm	_decimal_double_format,4,2      ; @decimal_double_format
	.comm	_DEC_INIT_DECIMAL64,4,2         ; @DEC_INIT_DECIMAL64
.subsections_via_symbols
