	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_ieee_quad
_encode_ieee_quad:                      ## @encode_ieee_quad
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdx), %rax
	movq	_SIGSZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	-4(%rax,%rcx,4), %r15d
	movq	_SIG_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	8(%rdx), %eax
	shll	$31, %eax
	movslq	%eax, %r12
	movq	_SIGNIFICAND_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	$-113, %rdx
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_rshift_significand
	movl	12(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_21
## %bb.1:
	movq	%r13, %rdi
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmpq	*%rdx
LBB0_15:
	testl	%r15d, %r14d
	je	LBB0_16
## %bb.17:
	movq	%rbx, %rdi
	callq	_REAL_EXP
	movslq	%eax, %rdx
	shlq	$16, %rdx
	addq	$1073610752, %rdx               ## imm = 0x3FFE0000
	jmp	LBB0_18
LBB0_21:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_gcc_unreachable
	jmp	LBB0_22
LBB0_6:
	cmpl	$0, 4(%rdi)
	je	LBB0_4
## %bb.7:
	movq	%r12, %rdx
	orq	$2147418112, %rdx               ## imm = 0x7FFF0000
	cmpl	$0, 16(%rbx)
	je	LBB0_8
## %bb.12:
	movq	%rdi, %rax
	movl	(%rdi), %eax
	orq	$2147450880, %r12               ## imm = 0x7FFF8000
	cmpl	%eax, 20(%rbx)
	cmoveq	%rdx, %r12
	testl	%eax, %eax
	je	LBB0_27
## %bb.13:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
	jmp	LBB0_14
LBB0_2:
	cmpl	$0, 8(%rdi)
	je	LBB0_4
## %bb.3:
	orq	$2147418112, %r12               ## imm = 0x7FFF0000
	xorl	%r13d, %r13d
LBB0_22:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_4:
	movl	$4294967295, %r13d              ## imm = 0xFFFFFFFF
	orq	$2147483647, %r12               ## imm = 0x7FFFFFFF
LBB0_5:
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	jmp	LBB0_23
LBB0_16:
	xorl	%edx, %edx
LBB0_18:
	orq	%r12, %rdx
	movq	_HOST_BITS_PER_LONG@GOTPCREL(%rip), %rax
	cmpl	$32, (%rax)
	movq	-72(%rbp), %rsi
	movslq	(%rsi), %rax
	jne	LBB0_20
## %bb.19:
	movslq	4(%rsi), %rcx
	movslq	8(%rsi), %r13
	movzwl	12(%rsi), %esi
	orq	%rsi, %rdx
	movq	%rdx, %r12
	jmp	LBB0_23
LBB0_20:
	movq	%rax, %rcx
	shrq	$32, %rcx
	movl	4(%rsi), %r13d
	movslq	%r13d, %rsi
	shrq	$32, %rsi
	movzwl	%si, %r12d
	orq	%rdx, %r12
	movl	%eax, %eax
	jmp	LBB0_23
LBB0_8:
	movq	_HOST_BITS_PER_LONG@GOTPCREL(%rip), %rax
	cmpl	$32, (%rax)
	movq	-72(%rbp), %rsi
	movslq	(%rsi), %rax
	jne	LBB0_10
## %bb.9:
	movslq	4(%rsi), %rcx
	movslq	8(%rsi), %r13
	movzwl	12(%rsi), %esi
	jmp	LBB0_11
LBB0_27:
	movl	$4294967295, %r13d              ## imm = 0xFFFFFFFF
	orq	$32767, %r12                    ## imm = 0x7FFF
	jmp	LBB0_5
LBB0_10:
	movq	%rax, %rcx
	shrq	$32, %rcx
	movl	4(%rsi), %r13d
	movslq	%r13d, %rsi
	shrq	$32, %rsi
	movzwl	%si, %esi
	movl	%eax, %eax
LBB0_11:
	movl	20(%rbx), %ebx
	xorl	%r12d, %r12d
	cmpl	(%rdi), %ebx
	setne	%r12b
	andl	$32767, %esi                    ## imm = 0x7FFF
	orq	%rdx, %rsi
	shlq	$15, %r12
	orq	%rsi, %r12
LBB0_14:
	movzwl	%r12w, %edx
	movq	%rax, %rsi
	orq	%rcx, %rsi
	orq	%rdx, %rsi
	movq	%r12, %rdx
	orq	$16384, %rdx                    ## imm = 0x4000
	orq	%r13, %rsi
	cmoveq	%rdx, %r12
LBB0_23:
	movq	_FLOAT_WORDS_BIG_ENDIAN@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_25
## %bb.24:
	movq	%r12, %rdx
	movq	%r13, %rsi
	movq	%rcx, %r13
	movq	%rax, %r12
	jmp	LBB0_26
LBB0_25:
	movq	%rax, %rdx
	movq	%rcx, %rsi
LBB0_26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, (%rax)
	movq	%rsi, 8(%rax)
	movq	%r13, 16(%rax)
	movq	%r12, 24(%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_15
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_SIGSZ,4,2                      ## @SIGSZ
	.comm	_SIG_MSB,4,2                    ## @SIG_MSB
	.comm	_SIGNIFICAND_BITS,8,3           ## @SIGNIFICAND_BITS
	.comm	_HOST_BITS_PER_LONG,4,2         ## @HOST_BITS_PER_LONG
	.comm	_FLOAT_WORDS_BIG_ENDIAN,8,3     ## @FLOAT_WORDS_BIG_ENDIAN
	.no_dead_strip	_encode_ieee_quad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_ieee_quad
_encode_ieee_quad:                      ; @encode_ieee_quad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x21, x0
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _SIGSZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIGSZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	ldur	w23, [x8, #-4]
Lloh3:
	adrp	x8, _SIG_MSB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_MSB@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	ldr	w8, [x2, #8]
	lsl	w8, w8, #31
	sxtw	x22, w8
Lloh6:
	adrp	x8, _SIGNIFICAND_BITS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGNIFICAND_BITS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sub	x2, x8, #113
	add	x0, sp, #8
	mov	x1, x20
	bl	_rshift_significand
	ldr	w8, [x20, #12]
	sub	w11, w8, #128
	cmp	w11, #3
	b.hi	LBB0_4
; %bb.1:
	mov	x9, #0
	mov	x10, #0
	mov	x8, #0
Lloh9:
	adrp	x12, lJTI0_0@PAGE
Lloh10:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_2
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_2:
	tst	w24, w23
	b.eq	LBB0_10
; %bb.3:
	mov	x0, x20
	bl	_REAL_EXP
	mov	w8, #16382
	add	w8, w0, w8
	sbfiz	x8, x8, #16, #32
	b	LBB0_11
LBB0_4:
	bl	_gcc_unreachable
	mov	x9, #0
	mov	x10, #0
	mov	x8, #0
	b	LBB0_22
LBB0_5:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_14
; %bb.6:
	orr	x11, x22, #0x7fff0000
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_15
; %bb.7:
	ldr	w8, [x20, #20]
	ldr	w9, [x21]
	orr	x10, x22, #0x7fff8000
	cmp	w8, w9
	csel	x11, x11, x10, eq
	cbz	w9, LBB0_17
; %bb.8:
	mov	x8, #0
	mov	x10, #0
	mov	x9, #0
	b	LBB0_21
LBB0_9:
	ldr	w8, [x21, #8]
	orr	x11, x22, #0x7fffffff
	mov	w12, #-1
	orr	x13, x22, #0x7fff0000
	cmp	w8, #0
	csel	x9, x12, xzr, eq
	csel	x10, x12, xzr, eq
	csel	x8, x12, xzr, eq
	csel	x22, x11, x13, eq
	b	LBB0_22
LBB0_10:
	mov	x8, #0
LBB0_11:
	orr	x11, x8, x22
Lloh11:
	adrp	x8, _HOST_BITS_PER_LONG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HOST_BITS_PER_LONG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x8]
	ldr	x12, [sp, #8]
	ldrsw	x8, [x12]
	cmp	w9, #32
	b.ne	LBB0_13
; %bb.12:
	ldpsw	x10, x9, [x12, #4]
	ldrh	w12, [x12, #12]
	orr	x22, x11, x12
	b	LBB0_22
LBB0_13:
	lsr	x10, x8, #32
	ldr	w9, [x12, #4]
	sxtw	x12, w9
	ubfx	x12, x12, #32, #16
	orr	x22, x12, x11
	and	x8, x8, #0xffffffff
	b	LBB0_22
LBB0_14:
	orr	x22, x22, #0x7fffffff
	b	LBB0_18
LBB0_15:
Lloh14:
	adrp	x8, _HOST_BITS_PER_LONG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HOST_BITS_PER_LONG@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x8]
	ldr	x12, [sp, #8]
	ldrsw	x8, [x12]
	cmp	w9, #32
	b.ne	LBB0_19
; %bb.16:
	ldpsw	x10, x9, [x12, #4]
	ldrh	w12, [x12, #12]
	b	LBB0_20
LBB0_17:
	orr	x22, x11, #0x7fff
LBB0_18:
	mov	w9, #-1
	mov	w10, #-1
	mov	w8, #-1
	b	LBB0_22
LBB0_19:
	lsr	x10, x8, #32
	ldr	w9, [x12, #4]
	sxtw	x12, w9
	ubfx	x12, x12, #32, #16
	and	x8, x8, #0xffffffff
LBB0_20:
	ldr	w13, [x20, #20]
	ldr	w14, [x21]
	cmp	w13, w14
	cset	w13, ne
	and	x12, x12, #0x7fff
	orr	x11, x12, x11
	orr	x11, x11, x13, lsl #15
LBB0_21:
	and	x12, x11, #0xffff
	orr	x12, x8, x12
	orr	x12, x12, x10
	orr	x12, x12, x9
	orr	x13, x11, #0x4000
	cmp	x12, #0
	csel	x22, x13, x11, eq
LBB0_22:
Lloh17:
	adrp	x11, _FLOAT_WORDS_BIG_ENDIAN@GOTPAGE
Lloh18:
	ldr	x11, [x11, _FLOAT_WORDS_BIG_ENDIAN@GOTPAGEOFF]
Lloh19:
	ldr	x11, [x11]
	cmp	x11, #0
	csel	x11, x22, x8, ne
	csel	x12, x9, x10, ne
	csel	x9, x10, x9, ne
	csel	x8, x8, x22, ne
	stp	x11, x12, [x19]
	stp	x9, x8, [x19, #16]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_SIGSZ,4,2                      ; @SIGSZ
	.comm	_SIG_MSB,4,2                    ; @SIG_MSB
	.comm	_SIGNIFICAND_BITS,8,3           ; @SIGNIFICAND_BITS
	.comm	_HOST_BITS_PER_LONG,4,2         ; @HOST_BITS_PER_LONG
	.comm	_FLOAT_WORDS_BIG_ENDIAN,8,3     ; @FLOAT_WORDS_BIG_ENDIAN
	.no_dead_strip	_encode_ieee_quad
.subsections_via_symbols
