	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	L___const.main.startpack(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	$0, -208(%rbp)
	movabsq	$395136991238, %rax             ## imm = 0x5C00000006
	movq	%rax, -232(%rbp)
	movl	$1, -204(%rbp)
	movabsq	$51539607554, %rax              ## imm = 0xC00000002
	movq	%rax, -224(%rbp)
	movl	$0, -200(%rbp)
	testl	%edi, %edi
	jns	LBB0_2
## %bb.1:
	movq	8(%rsi), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_2:
	movq	_DEC_INIT_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-272(%rbp), %r12
	movq	%r12, %rdi
	callq	_decContextDefault
	movq	$0, -264(%rbp)
	movl	$25, -272(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-252(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_decNumberFromString
	leaq	L_.str.2(%rip), %rsi
	leaq	-216(%rbp), %rdi
	movq	%r12, %rdx
	callq	_decNumberFromString
	leaq	L_.str.3(%rip), %rsi
	leaq	-248(%rbp), %r13
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_decNumberFromString
	leaq	-64(%rbp), %rdi
	leaq	-208(%rbp), %rdx
	leaq	-212(%rbp), %rcx
	movl	$16, %esi
	callq	_decPackedToNumber
	leaq	-232(%rbp), %rdi
	leaq	-204(%rbp), %rdx
	leaq	-244(%rbp), %r14
	movl	$8, %esi
	movq	%r14, %rcx
	callq	_decPackedToNumber
	leaq	-224(%rbp), %rdi
	leaq	-200(%rbp), %rdx
	leaq	-240(%rbp), %r15
	movl	$8, %esi
	movq	%r15, %rcx
	callq	_decPackedToNumber
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_decNumberDivide
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_decNumberAdd
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_decNumberPower
	leaq	-236(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	leaq	-212(%rbp), %rdx
	movq	%r12, %rcx
	callq	_decNumberMultiply
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	leaq	-216(%rbp), %rdx
	movq	%r12, %rcx
	callq	_decNumberRescale
	leaq	-128(%rbp), %rdi
	leaq	-196(%rbp), %rdx
	movl	$64, %esi
	movq	%rbx, %rcx
	callq	_decPackedFromNumber
	movl	-128(%rbp), %edx
	leaq	L_.str.4(%rip), %rbx
	leaq	-192(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-189(%rbp), %rdi
	movl	-124(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-186(%rbp), %rdi
	movl	-120(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-183(%rbp), %rdi
	movl	-116(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-180(%rbp), %rdi
	movl	-112(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-177(%rbp), %rdi
	movl	-108(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-174(%rbp), %rdi
	movl	-104(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-171(%rbp), %rdi
	movl	-100(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-168(%rbp), %rdi
	movl	-96(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-165(%rbp), %rdi
	movl	-92(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-162(%rbp), %rdi
	movl	-88(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-159(%rbp), %rdi
	movl	-84(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-156(%rbp), %rdi
	movl	-80(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-153(%rbp), %rdi
	movl	-76(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-150(%rbp), %rdi
	movl	-72(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	leaq	-147(%rbp), %rdi
	movl	-68(%rbp), %edx
	movq	%rbx, %rsi
	callq	_sprintf
	movslq	-196(%rbp), %rdx
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.main.startpack
L___const.main.startpack:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	12                              ## 0xc

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_DEC_INIT_BASE,4,2              ## @DEC_INIT_BASE
L_.str.1:                               ## @.str.1
	.asciz	"1"

L_.str.2:                               ## @.str.2
	.asciz	"-2"

L_.str.3:                               ## @.str.3
	.asciz	"100"

L_.str.4:                               ## @.str.4
	.asciz	"%02x "

L_.str.5:                               ## @.str.5
	.asciz	"Result: %s (scale=%ld)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
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, l___const.main.startpack@PAGE
Lloh4:
	add	x8, x8, l___const.main.startpack@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	stur	q0, [x29, #-64]
	str	wzr, [sp, #44]
	mov	x8, #6
	movk	x8, #92, lsl #32
	str	x8, [sp, #32]
	mov	w8, #1
	str	w8, [sp, #28]
	mov	x8, #2
	movk	x8, #12, lsl #32
	str	x8, [sp, #16]
	str	wzr, [sp, #12]
	tbz	w0, #31, LBB0_2
; %bb.1:
	ldr	x1, [x1, #8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
Lloh8:
	adrp	x8, _DEC_INIT_BASE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEC_INIT_BASE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #48
	bl	_decContextDefault
	str	xzr, [sp, #56]
	mov	w8, #25
	str	w8, [sp, #48]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #88
	add	x2, sp, #48
	bl	_decNumberFromString
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #84
	add	x2, sp, #48
	bl	_decNumberFromString
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #80
	add	x2, sp, #48
	bl	_decNumberFromString
	sub	x0, x29, #64
	add	x2, sp, #44
	add	x3, sp, #76
	mov	w1, #16
	bl	_decPackedToNumber
	add	x0, sp, #32
	add	x2, sp, #28
	add	x3, sp, #72
	mov	w1, #8
	bl	_decPackedToNumber
	add	x0, sp, #16
	add	x2, sp, #12
	add	x3, sp, #68
	mov	w1, #8
	bl	_decPackedToNumber
	add	x0, sp, #72
	add	x1, sp, #72
	add	x2, sp, #80
	add	x3, sp, #48
	bl	_decNumberDivide
	add	x0, sp, #72
	add	x1, sp, #72
	add	x2, sp, #88
	add	x3, sp, #48
	bl	_decNumberAdd
	add	x0, sp, #72
	add	x1, sp, #72
	add	x2, sp, #68
	add	x3, sp, #48
	bl	_decNumberPower
	add	x0, sp, #64
	add	x1, sp, #72
	add	x2, sp, #76
	add	x3, sp, #48
	bl	_decNumberMultiply
	add	x0, sp, #64
	add	x1, sp, #64
	add	x2, sp, #84
	add	x3, sp, #48
	bl	_decNumberRescale
	sub	x0, x29, #128
	add	x2, sp, #8
	add	x3, sp, #64
	mov	w1, #64
	bl	_decPackedFromNumber
	ldur	w2, [x29, #-128]
Lloh17:
	adrp	x19, l_.str.4@PAGE
Lloh18:
	add	x19, x19, l_.str.4@PAGEOFF
	add	x20, sp, #95
	add	x0, sp, #95
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #3
	ldur	w2, [x29, #-124]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #6
	ldur	w2, [x29, #-120]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #9
	ldur	w2, [x29, #-116]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #12
	ldur	w2, [x29, #-112]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #15
	ldur	w2, [x29, #-108]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #18
	ldur	w2, [x29, #-104]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #21
	ldur	w2, [x29, #-100]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #24
	ldur	w2, [x29, #-96]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #27
	ldur	w2, [x29, #-92]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #30
	ldur	w2, [x29, #-88]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #33
	ldur	w2, [x29, #-84]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #36
	ldur	w2, [x29, #-80]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #39
	ldur	w2, [x29, #-76]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #42
	ldur	w2, [x29, #-72]
	mov	x1, x19
	bl	_sprintf
	add	x0, x20, #45
	ldur	w2, [x29, #-68]
	mov	x1, x19
	bl	_sprintf
	ldrsw	x8, [sp, #8]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	add	x1, sp, #95
	bl	_printf
	ldur	x8, [x29, #-40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.main.startpack
l___const.main.startpack:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	12                              ; 0xc

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_DEC_INIT_BASE,4,2              ; @DEC_INIT_BASE
l_.str.1:                               ; @.str.1
	.asciz	"1"

l_.str.2:                               ; @.str.2
	.asciz	"-2"

l_.str.3:                               ; @.str.3
	.asciz	"100"

l_.str.4:                               ; @.str.4
	.asciz	"%02x "

l_.str.5:                               ; @.str.5
	.asciz	"Result: %s (scale=%ld)\n"

.subsections_via_symbols
