	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decTrim
_decTrim:                               ## @decTrim
	.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
	movq	%rdi, %r13
	movl	$0, (%rdx)
	movq	_DECSPECIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_14
## %bb.1:
	movq	8(%r13), %rax
	testb	$1, (%rax)
	jne	LBB0_14
## %bb.2:
	movq	%rdx, %r14
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_ISZERO
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$0, 16(%r13)
	jmp	LBB0_14
LBB0_4:
	cmpl	$2, 20(%r13)
	jl	LBB0_14
## %bb.5:
	movq	8(%r13), %r15
	movl	16(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	movl	$1, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	xorl	%eax, %eax
	movq	_DECDPUN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	seta	%al
	movl	$1, %ecx
	cmovaq	%rcx, %rbx
	leaq	(%r15,%rax,8), %r15
	incl	%r12d
	movl	20(%r13), %eax
	decl	%eax
	cmpl	%eax, %r12d
	jge	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_QUOT10
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	_powers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imulq	(%rcx,%rbx,8), %rax
	cmpq	%rax, (%r15)
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%edx, %edx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_14
LBB0_13:
	movq	8(%r13), %rbx
	movl	20(%r13), %edi
	callq	_D2U
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_decShiftToLeast
	addl	%r12d, 16(%r13)
	subl	%r12d, 20(%r13)
	movl	%r12d, (%r14)
LBB0_14:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DECSPECIAL,4,2                 ## @DECSPECIAL
	.comm	_powers,8,3                     ## @powers
	.comm	_DECDPUN,8,3                    ## @DECDPUN
	.comm	_DECUNUSED,4,2                  ## @DECUNUSED
	.no_dead_strip	_decTrim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decTrim
_decTrim:                               ; @decTrim
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	str	wzr, [x2]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DECSPECIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DECSPECIAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.1:
	ldr	x8, [x19, #8]
	ldrb	w8, [x8]
	tbnz	w8, #0, LBB0_14
; %bb.2:
	mov	x20, x2
	mov	x21, x1
	mov	x0, x19
	bl	_ISZERO
	cbz	x0, LBB0_4
; %bb.3:
	str	wzr, [x19, #16]
	b	LBB0_14
LBB0_4:
	ldr	w8, [x19, #20]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.5:
	mov	w22, #0
	ldr	x24, [x19, #8]
	ldr	w25, [x19, #16]
	mov	w26, #1
Lloh3:
	adrp	x27, _powers@GOTPAGE
Lloh4:
	ldr	x27, [x27, _powers@GOTPAGEOFF]
	mov	w23, #1
Lloh5:
	adrp	x28, _DECDPUN@GOTPAGE
Lloh6:
	ldr	x28, [x28, _DECDPUN@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x23, #1
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w8, hi
	csinc	x23, x26, x23, hi
	add	x24, x24, w8, uxtw #3
	add	w22, w22, #1
	ldr	w8, [x19, #20]
	sub	w8, w8, #1
	cmp	w22, w8
	b.ge	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	mov	x1, x23
	bl	_QUOT10
	ldr	x8, [x24]
	ldr	x9, [x27]
	ldr	x9, [x9, x23, lsl #3]
	mul	x9, x9, x0
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w21, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w25, #0
	b.gt	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w25, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w25, w25, #1
	b	LBB0_6
LBB0_12:
	cbz	w22, LBB0_14
LBB0_13:
	ldr	x21, [x19, #8]
	ldr	w0, [x19, #20]
	bl	_D2U
	mov	x1, x0
	mov	x0, x21
	mov	x2, x22
	bl	_decShiftToLeast
	ldp	w8, w9, [x19, #16]
	add	w8, w8, w22
	sub	w9, w9, w22
	stp	w8, w9, [x19, #16]
	str	w22, [x20]
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DECSPECIAL,4,2                 ; @DECSPECIAL
	.comm	_powers,8,3                     ; @powers
	.comm	_DECDPUN,8,3                    ; @DECDPUN
	.comm	_DECUNUSED,4,2                  ; @DECUNUSED
	.no_dead_strip	_decTrim
.subsections_via_symbols
