	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FPU_to_exp16                   ## -- Begin function FPU_to_exp16
	.p2align	4, 0x90
_FPU_to_exp16:                          ## @FPU_to_exp16
	.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, %r15
	movq	%rdi, %rbx
	callq	_getsign
	movl	%eax, %r14d
	movq	4(%rbx), %rax
	movq	%rax, 4(%r15)
	movq	%rbx, %rdi
	callq	_exponent
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_setexponent16
	movq	%r15, %rdi
	callq	_exponent16
	movq	_EXP_UNDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	(%r15), %ebx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_addexponent
	testl	%ebx, %ebx
	js	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_FPU_normalize_nuo
LBB0_3:
	cmpl	$0, (%r15)
	js	LBB0_5
## %bb.4:
	movq	_EX_INTERNAL@GOTPCREL(%rip), %rax
	movl	$384, %edi                      ## imm = 0x180
	orl	(%rax), %edi
	callq	_EXCEPTION
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXP_UNDER,8,3                  ## @EXP_UNDER
	.comm	_EX_INTERNAL,4,2                ## @EX_INTERNAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FPU_to_exp16                   ; -- Begin function FPU_to_exp16
	.p2align	2
_FPU_to_exp16:                          ; @FPU_to_exp16
	.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	x20, x1
	mov	x21, x0
	bl	_getsign
	mov	x19, x0
	ldur	x8, [x21, #4]
	stur	x8, [x20, #4]
	mov	x0, x21
	bl	_exponent
	mov	x1, x0
	mov	x0, x20
	bl	_setexponent16
	mov	x0, x20
	bl	_exponent16
Lloh0:
	adrp	x8, _EXP_UNDER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXP_UNDER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w21, [x20]
	mov	x0, x20
	mov	w1, #1
	bl	_addexponent
	tbnz	w21, #31, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_FPU_normalize_nuo
LBB0_3:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _EX_INTERNAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_INTERNAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w0, w8, #0x180
	bl	_EXCEPTION
LBB0_5:
	mov	x0, 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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EXP_UNDER,8,3                  ; @EXP_UNDER
	.comm	_EX_INTERNAL,4,2                ; @EX_INTERNAL
.subsections_via_symbols
