	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_ieee_single
_encode_ieee_single:                    ## @encode_ieee_single
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdx), %r15
	movq	8(%rdx), %rax
	movq	_SIGSZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	-4(%rax,%rcx,4), %eax
	movq	_HOST_BITS_PER_LONG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	addb	$-24, %cl
	movl	%eax, %ebx
	sarl	%cl, %ebx
	shlq	$31, %r15
	movl	16(%rdx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_4
## %bb.1:
	andl	$8388607, %ebx                  ## imm = 0x7FFFFF
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_SIG_MSB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.3:
	movq	%rdx, %rdi
	callq	_REAL_EXP
	cltq
	shlq	$23, %rax
	addq	$1056964608, %rax               ## imm = 0x3F000000
	jmp	LBB0_10
LBB0_4:
	xorl	%eax, %eax
	callq	_gcc_unreachable
	jmp	LBB0_13
LBB0_5:
	cmpl	$0, 4(%rdi)
	je	LBB0_12
## %bb.6:
	movl	20(%rdx), %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmoveq	%rbx, %rcx
	movl	(%rdi), %esi
	movl	%ecx, %edi
	andl	$4194303, %edi                  ## imm = 0x3FFFFF
	orq	$4194304, %rcx                  ## imm = 0x400000
	cmpl	%esi, 24(%rdx)
	cmovneq	%rcx, %rdi
	testq	%rdi, %rdi
	movl	$2097152, %ecx                  ## imm = 0x200000
	cmovneq	%rdi, %rcx
	orq	$4194303, %rdi                  ## imm = 0x3FFFFF
	testl	%esi, %esi
	cmovneq	%rcx, %rdi
	testl	%eax, %eax
	cmoveq	%rcx, %rdi
	orq	%rdi, %r15
	orq	$2139095040, %r15               ## imm = 0x7F800000
	jmp	LBB0_13
LBB0_7:
	cmpl	$0, 8(%rdi)
	je	LBB0_12
## %bb.8:
	orq	$2139095040, %r15               ## imm = 0x7F800000
	jmp	LBB0_13
LBB0_12:
	orq	$2147483647, %r15               ## imm = 0x7FFFFFFF
	jmp	LBB0_13
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	orq	%rbx, %r15
	orq	%rax, %r15
LBB0_13:
	movq	%r15, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.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_single
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_ieee_single
_encode_ieee_single:                    ; @encode_ieee_single
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	ldr	x8, [x2]
	lsl	x20, x8, #31
	ldr	w8, [x2, #16]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.1:
	ldr	x9, [x2, #8]
Lloh0:
	adrp	x10, _SIGSZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SIGSZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x10, [x10]
	add	x9, x9, x10, lsl #2
	ldur	w9, [x9, #-4]
Lloh3:
	adrp	x10, _HOST_BITS_PER_LONG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HOST_BITS_PER_LONG@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	sub	w10, w10, #24
	asr	w10, w9, w10
	and	w21, w10, #0x7fffff
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x8]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh8:
	adrp	x8, _SIG_MSB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIG_MSB@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_8
; %bb.3:
	mov	x0, x2
	bl	_REAL_EXP
	add	w8, w0, #126
	sbfiz	x8, x8, #23, #32
	b	LBB0_9
LBB0_4:
	bl	_gcc_unreachable
	b	LBB0_11
LBB0_5:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_10
; %bb.6:
	ldp	w8, w9, [x2, #20]
	cmp	w8, #0
	csel	x10, x21, xzr, eq
	ldr	w11, [x0]
	and	x12, x10, #0x3fffff
	orr	x10, x10, #0x400000
	cmp	w9, w11
	csel	x9, x12, x10, eq
	mov	w10, #2097152
	cmp	x9, #0
	csel	x10, x10, x9, eq
	cmp	w11, #0
	ccmp	w8, #0, #4, eq
	orr	x8, x9, #0x3fffff
	csel	x8, x8, x10, ne
	orr	x8, x20, x8
	orr	x20, x8, #0x7f800000
	b	LBB0_11
LBB0_7:
	ldr	w8, [x0, #8]
	orr	x9, x20, #0x7fffffff
	orr	x10, x20, #0x7f800000
	cmp	w8, #0
	csel	x20, x9, x10, eq
	b	LBB0_11
LBB0_8:
	mov	x8, #0
LBB0_9:
	orr	x9, x20, x21
	orr	x20, x9, x8
	b	LBB0_11
LBB0_10:
	orr	x20, x20, #0x7fffffff
LBB0_11:
	str	x20, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-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_single
.subsections_via_symbols
