	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pg_strfromd
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_pg_strfromd
	.p2align	4, 0x90
_pg_strfromd:                           ## @pg_strfromd
	.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	$144, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movaps	%xmm0, -176(%rbp)               ## 16-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movsd	%xmm0, -120(%rbp)
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_Assert
	movq	%r12, -152(%rbp)
	movq	%r12, -160(%rbp)
	leaq	(%r12,%rbx), %rax
	decq	%rax
	movq	%rax, -144(%rbp)
	cmpl	$32, %r14d
	movl	$32, %eax
	cmovll	%r14d, %eax
	cmpl	$2, %eax
	movl	$1, %r14d
	cmovgel	%eax, %r14d
	xorps	%xmm0, %xmm0
	movups	%xmm0, -136(%rbp)
	movapd	-176(%rbp), %xmm0               ## 16-byte Reload
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	-112(%rbp), %rdi
	callq	_strcpy
	movl	$3, %r14d
	jmp	LBB0_2
LBB0_3:
	xorpd	%xmm1, %xmm1
	movapd	-176(%rbp), %xmm0               ## 16-byte Reload
	ucomisd	%xmm0, %xmm1
	ja	LBB0_6
## %bb.4:
	xorl	%r15d, %r15d
	movb	$1, %bl
	ucomisd	%xmm1, %xmm0
	jne	LBB0_7
	jp	LBB0_7
## %bb.5:
	leaq	_pg_strfromd.dzero(%rip), %rsi
	leaq	-120(%rbp), %rdi
	movl	$8, %edx
	callq	_memcmp
	movsd	-120(%rbp), %xmm0               ## xmm0 = mem[0],zero
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	xorpd	LCPI0_0(%rip), %xmm0
	movlpd	%xmm0, -120(%rbp)
	movl	$45, %r15d
	xorl	%ebx, %ebx
LBB0_7:
	callq	_isinf
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	leaq	-112(%rbp), %rdi
	callq	_strcpy
	movl	$8, %r14d
	jmp	LBB0_9
LBB0_11:
	movl	$1730817573, -48(%rbp)          ## imm = 0x672A2E25
	movb	$0, -44(%rbp)
	movsd	-120(%rbp), %xmm0               ## xmm0 = mem[0],zero
	leaq	-112(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	%r14d, %edx
	callq	_sprintf
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_12
LBB0_9:
	testb	%bl, %bl
	jne	LBB0_2
## %bb.10:
	leaq	-160(%rbp), %rsi
	movl	%r15d, %edi
	callq	_dopr_outch
LBB0_2:
	leaq	-112(%rbp), %rdi
	leaq	-160(%rbp), %rdx
	movl	%r14d, %esi
	callq	_dostr
	movq	-152(%rbp), %r12
LBB0_13:
	movb	$0, (%r12)
	movl	$-1, %eax
	cmpl	$0, -132(%rbp)
	jne	LBB0_15
## %bb.14:
	movl	-152(%rbp), %eax
	subl	-160(%rbp), %eax
	addl	-136(%rbp), %eax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	addq	$144, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$1, -132(%rbp)
	jmp	LBB0_13
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NaN"

	.section	__TEXT,__const
	.p2align	3                               ## @pg_strfromd.dzero
_pg_strfromd.dzero:
	.quad	0x0000000000000000              ## double 0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Infinity"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_strfromd                    ; -- Begin function pg_strfromd
	.p2align	2
_pg_strfromd:                           ; @pg_strfromd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d9, d8, [sp, #128]              ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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 b8, -56
	.cfi_offset b9, -64
	fmov	d8, d0
	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]
	str	d0, [sp, #40]
	cmp	x1, #0
	cset	w0, ne
	bl	_Assert
	stp	x19, x19, [sp]
	add	x8, x19, x21
	sub	x8, x8, #1
	mov	w9, #32
	cmp	w20, #32
	csel	w9, w20, w9, lt
	stp	xzr, xzr, [sp, #24]
	cmp	w9, #1
	csinc	w20, w9, wzr, gt
	str	x8, [sp, #16]
	fmov	d0, d8
	bl	_isnan
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #48
	bl	_strcpy
	mov	w20, #3
	b	LBB0_12
LBB0_2:
	fcmp	d8, #0.0
	b.mi	LBB0_5
; %bb.3:
	fcmp	d8, #0.0
	b.ne	LBB0_6
; %bb.4:
Lloh5:
	adrp	x1, _pg_strfromd.dzero@PAGE
Lloh6:
	add	x1, x1, _pg_strfromd.dzero@PAGEOFF
	add	x0, sp, #40
	mov	w2, #8
	bl	_memcmp
	ldr	d8, [sp, #40]
	cbz	x0, LBB0_6
LBB0_5:
	mov	w22, #0
	fneg	d8, d8
	str	d8, [sp, #40]
	mov	w21, #45
	b	LBB0_7
LBB0_6:
	mov	w21, #0
	mov	w22, #1
LBB0_7:
	fmov	d0, d8
	bl	_isinf
	cbz	x0, LBB0_9
; %bb.8:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #48
	bl	_strcpy
	mov	w20, #8
	b	LBB0_10
LBB0_9:
	mov	w8, #11813
	movk	w8, #26410, lsl #16
	stur	w8, [x29, #-64]
	sturb	wzr, [x29, #-60]
	ldr	d0, [sp, #40]
	add	x0, sp, #48
	sub	x1, x29, #64
	mov	x2, x20
	bl	_sprintf
	mov	x20, x0
	tbnz	w0, #31, LBB0_18
LBB0_10:
	tbnz	w22, #0, LBB0_12
; %bb.11:
	mov	x1, sp
	mov	x0, x21
	bl	_dopr_outch
LBB0_12:
	add	x0, sp, #48
	mov	x2, sp
	mov	x1, x20
	bl	_dostr
	ldr	x19, [sp, #8]
LBB0_13:
	strb	wzr, [x19]
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_15
; %bb.14:
	mov	w0, #-1
	b	LBB0_16
LBB0_15:
	ldr	w8, [sp, #8]
	ldr	w9, [sp]
	ldr	w10, [sp, #24]
	sub	w8, w8, w9
	add	w0, w10, w8
LBB0_16:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.17:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #128]              ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_18:
	mov	w8, #1
	str	w8, [sp, #28]
	b	LBB0_13
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NaN"

	.section	__TEXT,__const
	.p2align	3                               ; @pg_strfromd.dzero
_pg_strfromd.dzero:
	.quad	0x0000000000000000              ; double 0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Infinity"

.subsections_via_symbols
