	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dofptoa                        ## -- Begin function dofptoa
	.p2align	4, 0x90
_dofptoa:                               ## @dofptoa
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_LIB_GETBUF
	leaq	-96(%rbp), %rdi
	callq	_ZERO
	leaq	-76(%rbp), %rsi
	leaq	-80(%rbp), %r8
	cmpl	$65535, %r12d                   ## imm = 0xFFFF
	ja	LBB0_2
## %bb.1:
	movq	%r8, %rax
	jmp	LBB0_4
LBB0_2:
	movl	%r12d, %edx
	sarl	$16, %edx
	movq	%rsi, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rcx
	imulq	$1717986919, %rcx, %rdx         ## imm = 0x66666667
	movq	%rdx, %rdi
	shrq	$63, %rdi
	sarq	$34, %rdx
	addl	%edi, %edx
	leal	(%rdx,%rdx), %edi
	leal	(%rdi,%rdi,4), %edi
	movl	%ecx, %ebx
	subl	%edi, %ebx
	movl	%ebx, -4(%rax)
	addq	$-4, %rax
	addl	$9, %ecx
	cmpl	$18, %ecx
	ja	LBB0_3
LBB0_4:
	leal	3(%r15), %edx
	cmpw	$4, %dx
	movl	$3, %ecx
	cmovgel	%edx, %ecx
	testl	%r14d, %r14d
	cmovel	%r15d, %ecx
	leaq	-64(%rbp), %rdi
	movq	%rdi, %rdx
	cmoveq	%rsi, %rdx
	testw	%cx, %cx
	jle	LBB0_16
## %bb.5:
	cmpw	$6, %cx
	movl	$6, %esi
	cmovll	%ecx, %esi
	movzwl	%r12w, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %r12d
	movl	%r12d, %ecx
	shrl	$16, %ecx
	movl	%ecx, -76(%rbp)
	cmpw	$1, %si
	jne	LBB0_7
## %bb.6:
	leaq	-72(%rbp), %rsi
	jmp	LBB0_16
LBB0_7:
	andl	$65534, %r12d                   ## imm = 0xFFFE
	addl	%r12d, %r12d
	leal	(%r12,%r12,4), %r12d
	movl	%r12d, %ecx
	shrl	$16, %ecx
	movl	%ecx, -72(%rbp)
	cmpw	$2, %si
	jne	LBB0_9
## %bb.8:
	leaq	-68(%rbp), %rsi
	jmp	LBB0_16
LBB0_9:
	andl	$65532, %r12d                   ## imm = 0xFFFC
	addl	%r12d, %r12d
	leal	(%r12,%r12,4), %r12d
	movl	%r12d, %ecx
	shrl	$16, %ecx
	movl	%ecx, -68(%rbp)
	cmpw	$3, %si
	jne	LBB0_11
## %bb.10:
	movq	%rdi, %rsi
	jmp	LBB0_16
LBB0_11:
	andl	$65528, %r12d                   ## imm = 0xFFF8
	addl	%r12d, %r12d
	leal	(%r12,%r12,4), %r12d
	movl	%r12d, %ecx
	shrl	$16, %ecx
	movl	%ecx, -64(%rbp)
	cmpw	$4, %si
	jne	LBB0_13
## %bb.12:
	leaq	-60(%rbp), %rsi
	jmp	LBB0_16
LBB0_13:
	andl	$65520, %r12d                   ## imm = 0xFFF0
	addl	%r12d, %r12d
	leal	(%r12,%r12,4), %r12d
	movl	%r12d, %ecx
	shrl	$16, %ecx
	movl	%ecx, -60(%rbp)
	cmpw	$5, %si
	jne	LBB0_15
## %bb.14:
	leaq	-56(%rbp), %rsi
	jmp	LBB0_16
LBB0_15:
	andl	$65504, %r12d                   ## imm = 0xFFE0
	addl	%r12d, %r12d
	leal	(%r12,%r12,4), %r12d
	movl	%r12d, %ecx
	shrl	$16, %ecx
	leaq	-52(%rbp), %rsi
	movl	%ecx, -56(%rbp)
LBB0_16:
	testl	$32768, %r12d                   ## imm = 0x8000
	je	LBB0_20
## %bb.17:
	movl	-4(%rsi), %ecx
	leal	1(%rcx), %edi
	movl	%edi, -4(%rsi)
	cmpl	$9, %ecx
	jl	LBB0_20
## %bb.18:
	leaq	-8(%rsi), %rcx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, 4(%rcx)
	movl	(%rcx), %edi
	leal	1(%rdi), %ebx
	movl	%ebx, (%rcx)
	addq	$-4, %rcx
	cmpl	$8, %edi
	jg	LBB0_19
LBB0_20:
	testl	%r14d, %r14d
	leaq	-68(%rbp), %rdi
	cmoveq	%r8, %rdi
	cmpq	%rdi, %rax
	jae	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	addq	$4, %rax
	cmpq	%rdi, %rax
	jb	LBB0_22
LBB0_24:
                                        ## implicit-def: $rcx
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	movzbl	(%rax), %ebx
	addq	$4, %rax
	addb	$48, %bl
	movb	%bl, (%rcx)
	incq	%rcx
	cmpq	%rsi, %rax
	jae	LBB0_28
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movb	$46, (%rcx)
	incq	%rcx
	jmp	LBB0_27
LBB0_28:
	movb	$0, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dofptoa                        ; -- Begin function dofptoa
	.p2align	2
_dofptoa:                               ; @dofptoa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_LIB_GETBUF
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_ZERO
	add	x10, x22, #20
	lsr	w8, w20, #16
	cbnz	w8, LBB0_2
; %bb.1:
	add	x8, x22, #16
	b	LBB0_4
LBB0_2:
	asr	w11, w20, #16
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mov	w12, #-10
	mov	x8, x10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	smull	x13, w11, w9
	lsr	x14, x13, #63
	asr	x13, x13, #34
	add	w13, w13, w14
	madd	w14, w13, w12, w11
	str	w14, [x8, #-4]!
	add	w14, w11, #9
	mov	x11, x13
	cmp	w14, #18
	b.hi	LBB0_3
LBB0_4:
	add	w9, w21, #3
	sxth	w9, w9
	mov	w11, #3
	cmp	w9, #3
	csel	w9, w9, w11, gt
	add	x11, sp, #8
	add	x13, x11, #32
	cmp	w19, #0
	csel	w12, w21, w9, eq
	csel	x9, x10, x13, eq
	cmp	w12, #1
	b.lt	LBB0_16
; %bb.5:
	sxth	w10, w12
	mov	w12, #6
	cmp	w10, #6
	csel	w10, w10, w12, lt
	and	w12, w20, #0xffff
	add	w12, w12, w20, uxth #2
	lsl	w20, w12, #1
	ubfx	w12, w12, #15, #16
	str	w12, [sp, #28]
	cmp	w10, #1
	b.ne	LBB0_7
; %bb.6:
	add	x10, x11, #24
	b	LBB0_16
LBB0_7:
	and	w11, w20, #0xfffe
	add	w11, w11, w11, lsl #2
	lsl	w20, w11, #1
	ubfx	w12, w11, #15, #16
	add	x11, sp, #8
	str	w12, [sp, #32]
	and	w12, w10, #0xffff
	cmp	w12, #2
	b.ne	LBB0_9
; %bb.8:
	add	x10, x11, #28
	b	LBB0_16
LBB0_9:
	and	w13, w20, #0xfffc
	add	w13, w13, w13, lsl #2
	lsl	w20, w13, #1
	ubfx	w13, w13, #15, #16
	str	w13, [sp, #36]
	cmp	w12, #3
	b.ne	LBB0_11
; %bb.10:
	add	x10, x11, #32
	b	LBB0_16
LBB0_11:
	and	w11, w20, #0xfff8
	add	w11, w11, w11, lsl #2
	lsl	w20, w11, #1
	ubfx	w12, w11, #15, #16
	add	x11, sp, #8
	str	w12, [sp, #40]
	and	w10, w10, #0xffff
	cmp	w10, #4
	b.ne	LBB0_13
; %bb.12:
	add	x10, x11, #36
	b	LBB0_16
LBB0_13:
	and	w12, w20, #0xfff0
	add	w12, w12, w12, lsl #2
	lsl	w20, w12, #1
	ubfx	w12, w12, #15, #16
	str	w12, [sp, #44]
	cmp	w10, #5
	b.ne	LBB0_15
; %bb.14:
	add	x10, x11, #40
	b	LBB0_16
LBB0_15:
	and	w10, w20, #0xffe0
	add	w10, w10, w10, lsl #2
	lsl	w20, w10, #1
	ubfx	w11, w10, #15, #16
	add	x10, sp, #8
	add	x10, x10, #44
	str	w11, [sp, #48]
LBB0_16:
	tbz	w20, #15, LBB0_20
; %bb.17:
	ldur	w11, [x10, #-4]
	add	w12, w11, #1
	stur	w12, [x10, #-4]
	cmp	w11, #9
	b.lt	LBB0_20
; %bb.18:
	sub	x11, x10, #8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	add	w13, w12, #1
	stp	w13, wzr, [x11], #-4
	cmp	w12, #8
	b.gt	LBB0_19
LBB0_20:
	add	x11, sp, #8
	add	x12, x11, #16
	add	x11, x11, #28
	cmp	w19, #0
	csel	x11, x12, x11, eq
	cmp	x8, x11
	b.hs	LBB0_23
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8]
	cbnz	w12, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x8, x8, #4
	cmp	x8, x11
	b.lo	LBB0_21
LBB0_23:
	mov	w12, #46
                                        ; implicit-def: $x11
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	ldrb	w13, [x8], #4
	add	w13, w13, #48
	strb	w13, [x11], #1
	cmp	x8, x10
	b.hs	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	strb	w12, [x11], #1
	b	LBB0_24
LBB0_27:
	strb	wzr, [x11]
	ldur	x8, [x29, #-40]
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_29
; %bb.28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
