	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decApplyRound
_decApplyRound:                         ## @decApplyRound
	.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
	testq	%rdx, %rdx
	je	LBB0_46
## %bb.1:
	movq	%rcx, %r10
	movq	%rsi, %r15
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_16
## %bb.2:
	movq	%rdx, %rbx
	movq	%rdi, %r12
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	testq	%rbx, %rbx
	jg	LBB0_18
	jmp	LBB0_46
LBB0_16:
	movq	_DEC_Invalid_context@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orq	%rax, (%r10)
	jmp	LBB0_46
LBB0_10:
	cmpq	$4, %rbx
	jg	LBB0_18
	jmp	LBB0_46
LBB0_7:
	cmpq	$5, %rbx
	jg	LBB0_18
## %bb.8:
	jne	LBB0_46
## %bb.9:
	movq	(%r12), %rax
	testb	$1, (%rax)
	jne	LBB0_18
	jmp	LBB0_46
LBB0_17:
	cmpq	$5, %rbx
	jg	LBB0_18
	jmp	LBB0_46
LBB0_14:
	movq	%r10, %r14
	movq	%r12, %rdi
	callq	_decNumberIsNegative
	testl	%eax, %eax
	je	LBB0_13
LBB0_15:
	testq	%rbx, %rbx
	movq	%r14, %r10
	jg	LBB0_18
	jmp	LBB0_46
LBB0_30:
	testq	%rbx, %rbx
	jns	LBB0_46
	jmp	LBB0_31
LBB0_12:
	movq	%r10, %r14
	movq	%r12, %rdi
	callq	_decNumberIsNegative
	testl	%eax, %eax
	je	LBB0_15
LBB0_13:
	testq	%rbx, %rbx
	movq	%r14, %r10
	jns	LBB0_46
	jmp	LBB0_31
LBB0_3:
	movq	(%r12), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$33, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %eax
	testq	%rbx, %rbx
	jns	LBB0_5
## %bb.4:
	cmpl	$1, %eax
	je	LBB0_5
LBB0_31:
	movq	(%r12), %r14
	movq	8(%r12), %rdi
	movq	_DECDPUN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rax
	movq	%rdi, %rcx
	cmpq	%rdx, %rdi
	jbe	LBB0_36
## %bb.32:
	movq	%rdi, %rcx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax)
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	subq	%rdx, %rcx
	addq	$4, %rax
	cmpq	%rdx, %rcx
	ja	LBB0_33
LBB0_36:
	movl	(%rax), %r9d
	movq	_powers@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	movq	$-1, %r13
	cmpl	-4(%r8,%rcx,4), %r9d
	jne	LBB0_22
## %bb.37:
	movl	(%r8,%rcx,4), %esi
	decl	%esi
	movl	%esi, (%rax)
	leaq	-4(%rax), %rsi
	cmpq	%r14, %rsi
	jb	LBB0_40
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rdx,4), %ebx
	decl	%ebx
	movl	%ebx, (%rsi)
	addq	$-4, %rsi
	cmpq	%r14, %rsi
	jae	LBB0_38
LBB0_40:
	movq	16(%r12), %rdx
	leaq	-1(%rdx), %rsi
	movq	%rsi, 16(%r12)
	movq	16(%r15), %rsi
	subq	24(%r15), %rsi
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_46
## %bb.41:
	cmpq	$1, %rcx
	jne	LBB0_44
## %bb.42:
	cmpq	$1, %rdi
	jne	LBB0_44
## %bb.43:
	movl	$0, (%rax)
	jmp	LBB0_45
LBB0_5:
	testq	%rbx, %rbx
	jle	LBB0_46
## %bb.6:
	testl	%eax, %eax
	jne	LBB0_46
LBB0_18:
	movq	(%r12), %r14
	movq	8(%r12), %rdi
	movq	_DECDPUN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rax
	movq	%rdi, %rcx
	cmpq	%rdx, %rdi
	jbe	LBB0_24
## %bb.19:
	movq	_DECDPUNMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, %rcx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rax)
	jne	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	subq	%rdx, %rcx
	addq	$4, %rax
	cmpq	%rdx, %rcx
	ja	LBB0_20
LBB0_24:
	movq	_powers@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rcx,4), %esi
	decl	%esi
	movl	$1, %r13d
	cmpl	%esi, (%rax)
	jne	LBB0_22
## %bb.25:
	movl	-4(%rdx,%rcx,4), %ecx
	movl	%ecx, (%rax)
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	addq	$-4, %rax
	cmpq	%r14, %rax
	jb	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	$0, (%rax)
	jmp	LBB0_27
LBB0_28:
	movq	16(%r12), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, 16(%r12)
	addq	%rdi, %rax
	incq	%rax
	movq	8(%r15), %rcx
	incq	%rcx
	cmpq	%rcx, %rax
	jbe	LBB0_46
## %bb.29:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r10, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decSetOverflow                 ## TAILCALL
LBB0_21:
	movl	$1, %r13d
	jmp	LBB0_22
LBB0_34:
	movq	$-1, %r13
LBB0_22:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_D2U
	movq	_uarrone@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	(%r12), %r9
	movq	%r13, (%rsp)
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_decUnitAddSub
LBB0_46:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	movl	-4(%r8,%rcx,4), %ecx
	decl	%ecx
	movl	%ecx, (%rax)
	decq	%rdi
	movq	%rdi, 8(%r12)
LBB0_45:
	movq	%rdx, 16(%r12)
	movq	_DEC_Underflow@GOTPCREL(%rip), %rax
	movq	_DEC_Subnormal@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movq	_DEC_Inexact@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	_DEC_Rounded@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	orq	%rcx, (%r10)
	jmp	LBB0_46
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_17
	.long	L0_0_set_14
	.long	L0_0_set_30
	.long	L0_0_set_12
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_DEC_Invalid_context,8,3        ## @DEC_Invalid_context
	.comm	_DECDPUN,8,3                    ## @DECDPUN
	.comm	_powers,8,3                     ## @powers
	.comm	_DECDPUNMAX,4,2                 ## @DECDPUNMAX
	.comm	_DEC_Underflow,8,3              ## @DEC_Underflow
	.comm	_DEC_Subnormal,8,3              ## @DEC_Subnormal
	.comm	_DEC_Inexact,8,3                ## @DEC_Inexact
	.comm	_DEC_Rounded,8,3                ## @DEC_Rounded
	.comm	_uarrone,4,2                    ## @uarrone
	.no_dead_strip	_decApplyRound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decApplyRound
_decApplyRound:                         ; @decApplyRound
	.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
	cbz	x2, LBB0_24
; %bb.1:
	mov	x20, x3
	mov	x21, x1
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_4
; %bb.2:
	mov	x22, x2
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	cmp	x22, #4
	b.gt	LBB0_12
	b	LBB0_24
LBB0_4:
Lloh2:
	adrp	x8, _DEC_Invalid_context@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEC_Invalid_context@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x20]
	orr	x8, x9, x8
LBB0_5:
	str	x8, [x20]
	b	LBB0_24
LBB0_6:
	cmp	x22, #5
	b.gt	LBB0_12
; %bb.7:
	b.ne	LBB0_24
; %bb.8:
	ldr	x8, [x19]
	ldrb	w8, [x8]
	tbnz	w8, #0, LBB0_12
	b	LBB0_24
LBB0_9:
	cmp	x22, #5
	b.gt	LBB0_12
	b	LBB0_24
LBB0_10:
	mov	x0, x19
	bl	_decNumberIsNegative
	cbz	w0, LBB0_23
LBB0_11:
	cmp	x22, #0
	b.le	LBB0_24
LBB0_12:
	ldp	x22, x0, [x19]
Lloh5:
	adrp	x8, _DECDPUN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DECDPUN@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x8]
	mov	x8, x22
	mov	x9, x0
	cmp	x0, x10
	b.ls	LBB0_16
; %bb.13:
Lloh8:
	adrp	x8, _DECDPUNMAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DECDPUNMAX@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x8]
	mov	w23, #1
	mov	x9, x0
	mov	x8, x22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8]
	cmp	w12, w11
	b.ne	LBB0_36
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x8, x8, #4
	sub	x9, x9, x10
	cmp	x9, x10
	b.hi	LBB0_14
LBB0_16:
Lloh11:
	adrp	x10, _powers@GOTPAGE
Lloh12:
	ldr	x10, [x10, _powers@GOTPAGEOFF]
	ldr	w11, [x8]
Lloh13:
	ldr	x10, [x10]
	ldr	w12, [x10, x9, lsl #2]
	sub	w12, w12, #1
	cmp	w11, w12
	b.ne	LBB0_21
; %bb.17:
	add	x9, x10, x9, lsl #2
	ldur	w9, [x9, #-4]
	str	w9, [x8], #-4
	cmp	x8, x22
	b.lo	LBB0_19
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x8], #-4
	cmp	x8, x22
	b.hs	LBB0_18
LBB0_19:
	ldr	x8, [x19, #16]
	add	x8, x8, #1
	str	x8, [x19, #16]
	ldr	x9, [x21, #8]
	add	x9, x9, #1
	add	x8, x8, x0
	cmp	x8, x9
	b.ls	LBB0_24
; %bb.20:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	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	_decSetOverflow
LBB0_21:
	mov	w23, #1
	b	LBB0_36
LBB0_22:
	mov	x0, x19
	bl	_decNumberIsNegative
	cbz	w0, LBB0_11
LBB0_23:
	tbnz	x22, #63, LBB0_27
LBB0_24:
	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
	ret
LBB0_25:
	ldr	x8, [x19]
	ldrsw	x8, [x8]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	add	w9, w9, w9, lsl #2
	sub	w8, w8, w9
	tbz	x22, #63, LBB0_37
; %bb.26:
	cmp	w8, #1
	b.eq	LBB0_37
LBB0_27:
	ldp	x22, x0, [x19]
Lloh14:
	adrp	x8, _DECDPUN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DECDPUN@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x8]
	mov	x8, x22
	mov	x9, x0
	cmp	x0, x10
	b.ls	LBB0_31
; %bb.28:
	mov	x9, x0
	mov	x8, x22
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	cbnz	w11, LBB0_35
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	add	x8, x8, #4
	sub	x9, x9, x10
	cmp	x9, x10
	b.hi	LBB0_29
LBB0_31:
Lloh17:
	adrp	x11, _powers@GOTPAGE
Lloh18:
	ldr	x11, [x11, _powers@GOTPAGEOFF]
	ldr	w13, [x8]
Lloh19:
	ldr	x11, [x11]
	sub	x12, x9, #1
	ldr	w14, [x11, x12, lsl #2]
	cmp	w13, w14
	b.ne	LBB0_35
; %bb.32:
	ldr	w13, [x11, x9, lsl #2]
	sub	w14, w13, #1
	mov	x13, x8
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	str	w14, [x13], #-4
	cmp	x13, x22
	b.lo	LBB0_39
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	w14, [x11, x10, lsl #2]
	sub	w14, w14, #1
	b	LBB0_33
LBB0_35:
	mov	x23, #-1
LBB0_36:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_D2U
	mov	x1, x0
Lloh20:
	adrp	x8, _uarrone@GOTPAGE
Lloh21:
	ldr	x8, [x8, _uarrone@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	ldr	x5, [x19]
	mov	x0, x22
	mov	w3, #1
	mov	w4, #0
	mov	x6, x23
	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	_decUnitAddSub
LBB0_37:
	cmp	x22, #1
	b.lt	LBB0_24
; %bb.38:
	cbz	w8, LBB0_12
	b	LBB0_24
LBB0_39:
	ldr	x10, [x19, #16]
	sub	x13, x10, #1
	str	x13, [x19, #16]
	ldp	x13, x14, [x21, #16]
	sub	x13, x13, x14
	add	x13, x13, #1
	cmp	x10, x13
	b.ne	LBB0_24
; %bb.40:
	cmp	x9, #1
	b.ne	LBB0_43
; %bb.41:
	cmp	x0, #1
	b.ne	LBB0_43
; %bb.42:
	str	wzr, [x8]
	b	LBB0_44
LBB0_43:
	ldr	w9, [x11, x12, lsl #2]
	sub	w9, w9, #1
	str	w9, [x8]
	sub	x8, x0, #1
	str	x8, [x19, #8]
LBB0_44:
	str	x10, [x19, #16]
Lloh23:
	adrp	x8, _DEC_Underflow@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DEC_Underflow@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
Lloh26:
	adrp	x9, _DEC_Subnormal@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DEC_Subnormal@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh29:
	adrp	x9, _DEC_Inexact@GOTPAGE
Lloh30:
	ldr	x9, [x9, _DEC_Inexact@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
Lloh32:
	adrp	x10, _DEC_Rounded@GOTPAGE
Lloh33:
	ldr	x10, [x10, _DEC_Rounded@GOTPAGEOFF]
	orr	x8, x8, x9
Lloh34:
	ldr	x9, [x10]
	orr	x8, x8, x9
	ldr	x9, [x20]
	orr	x8, x8, x9
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_22-LBB0_3)>>2
	.byte	(LBB0_25-LBB0_3)>>2
                                        ; -- End function
	.comm	_DEC_Invalid_context,8,3        ; @DEC_Invalid_context
	.comm	_DECDPUN,8,3                    ; @DECDPUN
	.comm	_powers,8,3                     ; @powers
	.comm	_DECDPUNMAX,4,2                 ; @DECDPUNMAX
	.comm	_DEC_Underflow,8,3              ; @DEC_Underflow
	.comm	_DEC_Subnormal,8,3              ; @DEC_Subnormal
	.comm	_DEC_Inexact,8,3                ; @DEC_Inexact
	.comm	_DEC_Rounded,8,3                ; @DEC_Rounded
	.comm	_uarrone,4,2                    ; @uarrone
	.no_dead_strip	_decApplyRound
.subsections_via_symbols
