	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_ieee_extended
_encode_ieee_extended:                  ## @encode_ieee_extended
	.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
	movq	%rsi, %r14
	movl	8(%rdx), %eax
	shll	$15, %eax
	movslq	%eax, %r15
	movl	12(%rdx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_15
## %bb.1:
	movq	%rdx, %rbx
	movq	(%rdx), %rcx
	movq	_SIGSZ@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movslq	-4(%rcx,%rdx,4), %r13
	xorl	%r12d, %r12d
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	xorl	%esi, %esi
	jmpq	*%rax
LBB0_9:
	movq	_SIG_MSB@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_REAL_EXP
                                        ## kill: def $eax killed $eax def $rax
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.11:
	leal	16382(%rax), %r12d
	xorl	%edi, %edi
	cmpl	$-16382, %eax                   ## imm = 0xC002
	setge	%dil
	callq	_gcc_assert
	movslq	%r12d, %rax
	jmp	LBB0_12
LBB0_15:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_gcc_unreachable
	xorl	%esi, %esi
	jmp	LBB0_16
LBB0_3:
	movl	$4294967295, %r12d              ## imm = 0xFFFFFFFF
	orq	$32767, %r15                    ## imm = 0x7FFF
	cmpl	$0, 4(%rdi)
	je	LBB0_4
## %bb.5:
	movq	_HOST_BITS_PER_LONG@GOTPCREL(%rip), %rax
	cmpl	$32, (%rax)
	jne	LBB0_7
## %bb.6:
	movslq	-8(%rcx,%rdx,4), %rsi
	jmp	LBB0_8
LBB0_2:
	orq	$32767, %r15                    ## imm = 0x7FFF
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	leaq	-2147483647(%rax), %r12
	xorl	%esi, %esi
	cmpl	$0, 8(%rdi)
	cmoveq	%rax, %r12
	cmoveq	%rax, %rsi
	jmp	LBB0_16
LBB0_10:
	xorl	%eax, %eax
LBB0_12:
	movq	_SIGSZ@GOTPCREL(%rip), %rcx
	orq	%rax, %r15
	movq	_HOST_BITS_PER_LONG@GOTPCREL(%rip), %rax
	cmpl	$32, (%rax)
	movq	(%rbx), %rax
	movslq	(%rcx), %rcx
	movslq	-4(%rax,%rcx,4), %r12
	jne	LBB0_14
## %bb.13:
	movslq	-8(%rax,%rcx,4), %rsi
	jmp	LBB0_16
LBB0_14:
	movl	%r12d, %esi
	shrq	$32, %r12
	jmp	LBB0_16
LBB0_4:
	movl	$4294967295, %esi               ## imm = 0xFFFFFFFF
	jmp	LBB0_16
LBB0_7:
	movl	%r13d, %esi
	shrq	$32, %r13
LBB0_8:
	movl	16(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	(%rdi), %eax
	setne	%cl
	andq	$-1073741825, %r13              ## imm = 0xBFFFFFFF
	shlq	$30, %rcx
	orq	%r13, %rcx
	leaq	-2147483647(%r12), %rax
	orq	%rcx, %rax
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	andl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	addq	$-1610612735, %r12              ## imm = 0xA0000001
	orq	%rsi, %rcx
	cmovneq	%rax, %r12
LBB0_16:
	movq	%rsi, (%r14)
	movq	%r12, 8(%r14)
	movq	%r15, 16(%r14)
	addq	$8, %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_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_SIGSZ,4,2                      ## @SIGSZ
	.comm	_SIG_MSB,4,2                    ## @SIG_MSB
	.comm	_HOST_BITS_PER_LONG,4,2         ## @HOST_BITS_PER_LONG
	.no_dead_strip	_encode_ieee_extended
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_ieee_extended
_encode_ieee_extended:                  ; @encode_ieee_extended
	.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	x19, x1
	ldp	w8, w9, [x2, #8]
	lsl	w8, w8, #15
	sxtw	x21, w8
	sub	w13, w9, #128
	cmp	w13, #3
	b.hi	LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x9, #0
	mov	x8, #0
	ldr	x11, [x2]
Lloh0:
	adrp	x22, _SIGSZ@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SIGSZ@GOTPAGEOFF]
	ldr	w12, [x22]
	sub	w10, w12, #1
	ldrsw	x10, [x11, w10, sxtw #2]
Lloh2:
	adrp	x14, lJTI0_0@PAGE
Lloh3:
	add	x14, x14, lJTI0_0@PAGEOFF
	adr	x15, LBB0_2
	ldrb	w16, [x14, x13]
	add	x15, x15, x16, lsl #2
	br	x15
LBB0_2:
Lloh4:
	adrp	x8, _SIG_MSB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIG_MSB@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	and	w23, w8, w10
	mov	x0, x20
	bl	_REAL_EXP
	cbz	w23, LBB0_9
; %bb.3:
	mov	w8, #16382
	add	w23, w0, w8
	mov	w8, #-16383
	cmp	w0, w8
	cset	w0, gt
	bl	_gcc_assert
	sxtw	x8, w23
	b	LBB0_10
LBB0_4:
	bl	_gcc_unreachable
	mov	x9, #0
	mov	x8, #0
	b	LBB0_16
LBB0_5:
	ldr	w8, [x0, #4]
	orr	x21, x21, #0x7fff
	cbz	w8, LBB0_13
; %bb.6:
Lloh7:
	adrp	x8, _HOST_BITS_PER_LONG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HOST_BITS_PER_LONG@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, #32
	b.ne	LBB0_14
; %bb.7:
	sub	w8, w12, #2
	ldrsw	x8, [x11, w8, sxtw #2]
	b	LBB0_15
LBB0_8:
	ldr	w8, [x0, #8]
	orr	x21, x21, #0x7fff
	cmp	w8, #0
	mov	w8, #-2147483648
	mov	w10, #-1
	csel	x9, x10, x8, eq
	csel	x8, x10, xzr, eq
	b	LBB0_16
LBB0_9:
	mov	x8, #0
LBB0_10:
	orr	x21, x8, x21
Lloh10:
	adrp	x8, _HOST_BITS_PER_LONG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HOST_BITS_PER_LONG@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x8]
	ldr	x8, [x20]
	ldr	w10, [x22]
	sub	w9, w10, #1
	ldrsw	x9, [x8, w9, sxtw #2]
	cmp	w11, #32
	b.ne	LBB0_12
; %bb.11:
	sub	w10, w10, #2
	ldrsw	x8, [x8, w10, sxtw #2]
	b	LBB0_16
LBB0_12:
	and	x8, x9, #0xffffffff
	lsr	x9, x9, #32
	b	LBB0_16
LBB0_13:
	mov	w9, #-1
	mov	w8, #-1
	b	LBB0_16
LBB0_14:
	and	x8, x10, #0xffffffff
	lsr	x10, x10, #32
LBB0_15:
	ldr	w9, [x20, #16]
	ldr	w11, [x0]
	cmp	w9, w11
	cset	w9, ne
	bfi	x10, x9, #30, #1
	and	x9, x10, #0x7fffffff
	orr	x9, x9, x8
	orr	x10, x10, #0x80000000
	mov	w11, #-1610612736
	cmp	x9, #0
	csel	x9, x11, x10, eq
LBB0_16:
	stp	x8, x9, [x19]
	str	x21, [x19, #16]
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_SIGSZ,4,2                      ; @SIGSZ
	.comm	_SIG_MSB,4,2                    ; @SIG_MSB
	.comm	_HOST_BITS_PER_LONG,4,2         ; @HOST_BITS_PER_LONG
	.no_dead_strip	_encode_ieee_extended
.subsections_via_symbols
