	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flonum_gen2vax                 ## -- Begin function flonum_gen2vax
	.p2align	4, 0x90
_flonum_gen2vax:                        ## @flonum_gen2vax
	.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, %r15
	movq	%rsi, %rbx
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_what_kind_of_float
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_1
LBB0_18:
	movq	%r15, %rdi
	callq	_make_invalid_floating_point_number
LBB0_19:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rbx), %rax
	cmpq	%rax, (%rbx)
	jle	LBB0_3
## %bb.2:
	movl	-44(%rbp), %edx
	shll	$3, %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_19
LBB0_3:
	movb	16(%rbx), %cl
	cmpb	$43, %cl
	je	LBB0_5
## %bb.4:
	cmpb	$45, %cl
	jne	LBB0_18
LBB0_5:
	movq	_LITTLENUM_NUMBER_OF_BITS@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	_bits_left_in_littlenum@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	_littlenum_pointer@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rax
	movq	_littlenum_end@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_next_bits
	decq	%r12
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	24(%rbx), %rdx
	addq	8(%rbx), %rdx
	subq	(%rbx), %rdx
	incq	%rdx
	imulq	(%r13), %rdx
	movq	-56(%rbp), %rax
	leal	-1(%rax), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movslq	%esi, %r13
	addq	%rdx, %r13
	addq	%r12, %r13
	movq	_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movq	%rcx, %rdx
	notq	%rdx
	testq	%rdx, %r13
	jne	LBB0_18
## %bb.8:
	andq	%rcx, %r13
	movl	$15, %ecx
	subq	%rax, %rcx
	shlq	%cl, %r13
	xorl	%r12d, %r12d
	cmpb	$43, 16(%rbx)
	setne	%r12b
	shlq	$15, %r12
	movl	%ecx, %edi
	callq	_next_bits
	cltq
	orq	%r12, %rax
	orq	%r13, %rax
	movq	%rax, %r13
	movq	%rax, (%r15)
	cmpl	$2, -44(%rbp)
	movq	%r15, %rbx
	movq	_LITTLENUM_NUMBER_OF_BITS@GOTPCREL(%rip), %r12
	jl	LBB0_12
## %bb.9:
	leaq	8(%r15), %rbx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_next_bits
	cltq
	movq	%rax, (%rbx)
	addq	$8, %rbx
	movslq	-44(%rbp), %rax
	leaq	(%r15,%rax,8), %rax
	cmpq	%rax, %rbx
	jb	LBB0_10
## %bb.11:
	addq	$-8, %rbx
LBB0_12:
	movl	$1, %edi
	callq	_next_bits
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	cmpq	%r15, %rbx
	jae	LBB0_14
## %bb.20:
	movq	(%r12), %rcx
	jmp	LBB0_17
LBB0_14:
	addq	$-8, %rbx
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	addq	8(%rbx), %rax
	movq	%rax, 8(%rbx)
	movq	(%r12), %rcx
	shrq	%cl, %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	-8(%rbx), %rdx
	cmpq	%r15, %rbx
	movq	%rdx, %rbx
	jae	LBB0_15
LBB0_17:
	decb	%cl
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
	xorq	(%r15), %r13
	cltq
	testq	%rax, %r13
	jne	LBB0_18
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_LITTLENUM_NUMBER_OF_BITS,8,3   ## @LITTLENUM_NUMBER_OF_BITS
	.comm	_bits_left_in_littlenum,8,3     ## @bits_left_in_littlenum
	.comm	_littlenum_pointer,8,3          ## @littlenum_pointer
	.comm	_littlenum_end,8,3              ## @littlenum_end
	.comm	_mask,8,3                       ## @mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flonum_gen2vax                 ; -- Begin function flonum_gen2vax
	.p2align	2
_flonum_gen2vax:                        ; @flonum_gen2vax
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x21, x1
	add	x1, sp, #12
	mov	x2, sp
	bl	_what_kind_of_float
	mov	x19, x0
	cbz	w0, LBB0_3
LBB0_1:
	mov	x0, x20
	bl	_make_invalid_floating_point_number
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	ldp	x9, x8, [x21]
	cmp	x9, x8
	b.le	LBB0_5
; %bb.4:
	ldr	w8, [sp, #12]
	lsl	w2, w8, #3
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	b	LBB0_2
LBB0_5:
	ldrb	w9, [x21, #16]
	cmp	w9, #43
	b.eq	LBB0_7
; %bb.6:
	cmp	w9, #45
	b.ne	LBB0_1
LBB0_7:
Lloh0:
	adrp	x22, _LITTLENUM_NUMBER_OF_BITS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LITTLENUM_NUMBER_OF_BITS@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh2:
	adrp	x10, _bits_left_in_littlenum@GOTPAGE
Lloh3:
	ldr	x10, [x10, _bits_left_in_littlenum@GOTPAGEOFF]
Lloh4:
	str	x9, [x10]
Lloh5:
	adrp	x9, _littlenum_pointer@GOTPAGE
Lloh6:
	ldr	x9, [x9, _littlenum_pointer@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _littlenum_end@GOTPAGE
Lloh9:
	ldr	x9, [x9, _littlenum_end@GOTPAGEOFF]
Lloh10:
	str	x8, [x9]
	mov	w23, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_next_bits
	sub	x23, x23, #1
	cbz	w0, LBB0_8
; %bb.9:
	ldr	x8, [x21, #24]
	ldp	x10, x9, [x21]
	add	x8, x8, x9
	sub	x8, x8, x10
	ldr	x9, [x22]
	madd	x9, x9, x8, x9
	ldr	x8, [sp]
	sub	w10, w8, #1
	mov	w11, #1
	lsl	w10, w11, w10
	add	x9, x9, w10, sxtw
	add	x9, x9, x23
Lloh11:
	adrp	x10, _mask@GOTPAGE
Lloh12:
	ldr	x10, [x10, _mask@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	ldr	x10, [x10, x8, lsl #3]
	bics	xzr, x9, x10
	b.ne	LBB0_1
; %bb.10:
	and	x9, x9, x10
	mov	w10, #15
	sub	x0, x10, x8
	lsl	x8, x9, x0
	ldrb	w9, [x21, #16]
	cmp	w9, #43
	cset	w9, ne
	orr	x21, x8, x9, lsl #15
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_next_bits
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	orr	x21, x21, x8
	str	x21, [x20]
	ldr	w8, [sp, #12]
	mov	x23, x20
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.11:
	add	x23, x20, #8
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_next_bits
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x23], #8
	ldrsw	x8, [sp, #12]
	add	x8, x20, x8, lsl #3
	cmp	x23, x8
	b.lo	LBB0_12
; %bb.13:
	sub	x23, x23, #8
LBB0_14:
	mov	w0, #1
	bl	_next_bits
	cbz	w0, LBB0_2
; %bb.15:
	cmp	x23, x20
	b.hs	LBB0_17
; %bb.16:
	ldr	x9, [x22]
	b	LBB0_19
LBB0_17:
	sub	x8, x23, #8
	mov	w10, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #8]
	add	x10, x9, x10
	str	x10, [x8, #8]
	ldr	x9, [x22]
	lsr	x10, x10, x9
	cmp	x10, #0
	ccmp	x8, x20, #0, ne
	sub	x8, x8, #8
	b.hs	LBB0_18
LBB0_19:
	ldr	x8, [x20]
	eor	x8, x8, x21
	sub	w9, w9, #1
	mov	w10, #1
	lsl	w9, w10, w9
	sxtw	x9, w9
	tst	x8, x9
	b.ne	LBB0_1
	b	LBB0_2
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LITTLENUM_NUMBER_OF_BITS,8,3   ; @LITTLENUM_NUMBER_OF_BITS
	.comm	_bits_left_in_littlenum,8,3     ; @bits_left_in_littlenum
	.comm	_littlenum_pointer,8,3          ; @littlenum_pointer
	.comm	_littlenum_end,8,3              ; @littlenum_end
	.comm	_mask,8,3                       ; @mask
.subsections_via_symbols
