	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dectoasc                       ## -- Begin function dectoasc
	.p2align	4, 0x90
_dectoasc:                              ## @dectoasc
	.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
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_CSTRINGTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rsetnull
	movq	_CDECIMALTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_risnull
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	xorl	%eax, %eax
	callq	_PGTYPESnumeric_new
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_PGTYPESnumeric_from_decimal
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	callq	_PGTYPESnumeric_free
LBB0_2:
	movq	_ECPG_INFORMIX_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testl	%r15d, %r15d
	jns	LBB0_7
## %bb.6:
	movl	(%r13), %r15d
LBB0_7:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_PGTYPESnumeric_to_asc
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_PGTYPESnumeric_free
	movl	$-1, %r13d
	testq	%r15, %r15
	je	LBB0_13
## %bb.8:
	movq	%r15, %rdi
	callq	_strlen
	incl	%eax
	cmpl	%r14d, %eax
	jle	LBB0_12
## %bb.9:
	cmpl	$2, %r14d
	jl	LBB0_11
## %bb.10:
	movw	$42, (%r12)
LBB0_11:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_13
LBB0_12:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movq	%r15, %rdi
	callq	_free
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_CSTRINGTYPE,4,2                ## @CSTRINGTYPE
	.comm	_CDECIMALTYPE,4,2               ## @CDECIMALTYPE
	.comm	_ECPG_INFORMIX_OUT_OF_MEMORY,4,2 ## @ECPG_INFORMIX_OUT_OF_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dectoasc                       ; -- Begin function dectoasc
	.p2align	2
_dectoasc:                              ; @dectoasc
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _CSTRINGTYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSTRINGTYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rsetnull
Lloh3:
	adrp	x8, _CDECIMALTYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CDECIMALTYPE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_risnull
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	bl	_PGTYPESnumeric_new
	cbz	x0, LBB0_5
; %bb.3:
	mov	x22, x0
	mov	x0, x23
	mov	x1, x22
	bl	_PGTYPESnumeric_from_decimal
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x22
	bl	_PGTYPESnumeric_free
LBB0_5:
Lloh6:
	adrp	x8, _ECPG_INFORMIX_OUT_OF_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ECPG_INFORMIX_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_6:
	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:
	tbz	w21, #31, LBB0_9
; %bb.8:
	ldr	w21, [x22]
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	bl	_PGTYPESnumeric_to_asc
	mov	x21, x0
	mov	x0, x22
	bl	_PGTYPESnumeric_free
	cbz	x21, LBB0_14
; %bb.10:
	mov	x0, x21
	bl	_strlen
	add	w8, w0, #1
	cmp	w8, w20
	b.le	LBB0_15
; %bb.11:
	cmp	w20, #2
	b.lt	LBB0_13
; %bb.12:
	mov	w8, #42
	strh	w8, [x19]
LBB0_13:
	mov	x0, x21
	bl	_free
LBB0_14:
	mov	w0, #-1
	b	LBB0_6
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	bl	_strcpy
	mov	x0, x21
	bl	_free
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CSTRINGTYPE,4,2                ; @CSTRINGTYPE
	.comm	_CDECIMALTYPE,4,2               ; @CDECIMALTYPE
	.comm	_ECPG_INFORMIX_OUT_OF_MEMORY,4,2 ; @ECPG_INFORMIX_OUT_OF_MEMORY
.subsections_via_symbols
