	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decNumberLogB                  ## -- Begin function decNumberLogB
	.p2align	4, 0x90
_decNumberLogB:                         ## @decNumberLogB
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -52(%rbp)
	movq	%rsi, %rdi
	callq	_decNumberIsNaN
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leaq	-52(%rbp), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_decNaNs
	movl	-52(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_11
LBB0_3:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_decStatus
	jmp	LBB0_11
LBB0_4:
	movq	%rbx, %rdi
	callq	_decNumberIsInfinite
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_decNumberCopyAbs
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	callq	_decNumberIsZero
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_decNumberZero
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movq	_DECINF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movq	_DEC_Division_by_zero@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -52(%rbp)
	testl	%esi, %esi
	jne	LBB0_3
	jmp	LBB0_11
LBB0_8:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	leaq	(%rcx,%rax), %r12
	decq	%r12
	cmpl	$10, (%r14)
	jl	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_decNumberFromInt32
	jmp	LBB0_11
LBB0_10:
	movl	$10, %edi
	callq	_D2N
	movq	%rsp, %r13
	movl	%eax, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_decNumberFromInt32
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_decNumberPlus
	movq	%r13, %rsp
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DECNEG,4,2                     ## @DECNEG
	.comm	_DECINF,4,2                     ## @DECINF
	.comm	_DEC_Division_by_zero,4,2       ## @DEC_Division_by_zero
	.comm	_DECUNUSED,4,2                  ## @DECUNUSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decNumberLogB                  ; -- Begin function decNumberLogB
	.p2align	2
_decNumberLogB:                         ; @decNumberLogB
	.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
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	stur	wzr, [x29, #-60]
	mov	x0, x1
	bl	_decNumberIsNaN
	cbz	x0, LBB0_3
; %bb.1:
	sub	x4, x29, #60
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x3, x20
	bl	_decNaNs
	ldur	w1, [x29, #-60]
	cbz	w1, LBB0_5
LBB0_2:
	mov	x0, x19
	mov	x2, x20
	bl	_decStatus
	b	LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_decNumberIsInfinite
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	bl	_decNumberCopyAbs
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.6:
	mov	x0, x19
	sub	sp, x29, #48
	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_7:
	mov	x0, x21
	bl	_decNumberIsZero
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_decNumberZero
Lloh6:
	adrp	x8, _DECNEG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DECNEG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _DECINF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DECINF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh12:
	adrp	x8, _DEC_Division_by_zero@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DEC_Division_by_zero@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	stur	w1, [x29, #-60]
	cbnz	w1, LBB0_2
	b	LBB0_5
LBB0_9:
	ldp	x9, x8, [x21, #8]
	add	x8, x8, x9
	sub	x21, x8, #1
	ldr	w8, [x20]
	cmp	w8, #10
	b.lt	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x21
	bl	_decNumberFromInt32
	b	LBB0_5
LBB0_11:
	mov	w0, #10
	bl	_D2N
	mov	x23, sp
	mov	w8, #24
	umull	x9, w0, w8
	add	x8, x9, #15
	and	x8, x8, #0x3ffffffff0
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
	mov	x0, x22
	mov	x1, x21
	bl	_decNumberFromInt32
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_decNumberPlus
	mov	sp, x23
	b	LBB0_5
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DECNEG,4,2                     ; @DECNEG
	.comm	_DECINF,4,2                     ; @DECINF
	.comm	_DEC_Division_by_zero,4,2       ; @DEC_Division_by_zero
	.comm	_DECUNUSED,4,2                  ; @DECUNUSED
.subsections_via_symbols
