	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f80_log2                       ## -- Begin function f80_log2
	.p2align	4, 0x90
_f80_log2:                              ## @f80_log2
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-184(%rbp), %rdi
	xorl	%esi, %esi
	callq	_f80_from_int
	leaq	-160(%rbp), %rdi
	movl	$1, %esi
	callq	_f80_from_int
	leaq	-88(%rbp), %rdi
	movl	$2, %esi
	callq	_f80_from_int
	movq	32(%rbp), %rax
	movq	%rax, 16(%rsp)
	movaps	16(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_isnan
	testq	%rax, %rax
	jne	LBB0_19
## %bb.1:
	leaq	16(%rbp), %r12
	movq	-168(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-184(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_lte
	testq	%rax, %rax
	je	LBB0_2
LBB0_19:
	movq	_F80_NAN@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movups	(%rax), %xmm0
LBB0_16:
	movups	%xmm0, (%rbx)
	movq	%rbx, %rax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, -192(%rbp)                ## 8-byte Spill
	movq	-144(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-160(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_lt
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.17:
	leaq	-64(%rbp), %r15
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	movq	-72(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-88(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	callq	_f80_mul
	movq	-48(%rbp), %rax
	movq	%rax, 16(%r12)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, (%r12)
	movq	-144(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-160(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_lt
	testq	%rax, %rax
	jne	LBB0_18
LBB0_3:
	movq	-72(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-88(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_gt
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	-64(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movq	-72(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-88(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	callq	_f80_div
	movq	-48(%rbp), %rax
	movq	%rax, 16(%r12)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, (%r12)
	movq	-72(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-88(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_gt
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	leaq	-64(%rbp), %rdi
	movl	%ebx, %esi
	callq	_f80_from_int
	movq	-144(%rbp), %rax
	movq	%rax, -96(%rbp)
	movups	-160(%rbp), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	-168(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-184(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	-144(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-160(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_gt
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	leaq	-136(%rbp), %rbx
	jmp	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-88(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	_f80_div
	movq	-120(%rbp), %rax
	movq	%rax, 16(%r12)
	movups	-136(%rbp), %xmm0
	movups	%xmm0, (%r12)
	movq	-168(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-184(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	-96(%rbp), %rax
	movq	%rax, 16(%rsp)
	movaps	-112(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_gt
	testq	%rax, %rax
	je	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-88(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_lte
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-168(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-184(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	-96(%rbp), %rax
	movq	%rax, 16(%rsp)
	movaps	-112(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_f80_gt
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r12), %rax
	movq	%rax, 40(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	%rax, 16(%rsp)
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	_f80_mul
	movq	-120(%rbp), %rax
	movq	%rax, 16(%r12)
	movups	-136(%rbp), %xmm0
	movups	%xmm0, (%r12)
	movq	-72(%rbp), %rax
	movq	%rax, 40(%rsp)
	movups	-88(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	-96(%rbp), %rax
	movq	%rax, 16(%rsp)
	movaps	-112(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	_f80_div
	movq	-120(%rbp), %rax
	movq	%rax, -96(%rbp)
	movups	-136(%rbp), %xmm0
	movaps	%xmm0, -112(%rbp)
	jmp	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %r14
	movq	-56(%rbp), %r13
	movq	-48(%rbp), %r15
	movq	-96(%rbp), %rax
	movq	%rax, 40(%rsp)
	movaps	-112(%rbp), %xmm0
	movups	%xmm0, 24(%rsp)
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rsp)
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	_f80_add
	movq	-120(%rbp), %rax
	movq	%rax, -48(%rbp)
	movups	-136(%rbp), %xmm0
	movaps	%xmm0, -64(%rbp)
	cmpq	-64(%rbp), %r14
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	-56(%rbp), %r13
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rax, %r15
	jne	LBB0_14
LBB0_15:
	movq	-48(%rbp), %rax
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movaps	-64(%rbp), %xmm0
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_F80_NAN,24,3                   ## @F80_NAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f80_log2                       ; -- Begin function f80_log2
	.p2align	2
_f80_log2:                              ; @f80_log2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	mov	x20, x0
	mov	x19, x8
	sub	x8, x29, #88
	mov	w0, #0
	bl	_f80_from_int
	sub	x8, x29, #112
	mov	w0, #1
	bl	_f80_from_int
	sub	x8, x29, #136
	mov	w0, #2
	bl	_f80_from_int
	ldr	q0, [x20]
	str	q0, [sp, #128]
	ldr	x8, [x20, #16]
	str	x8, [sp, #144]
	add	x0, sp, #128
	bl	_f80_isnan
	cbnz	x0, LBB0_2
; %bb.1:
	sub	x22, x29, #136
	ldr	q0, [x20]
	str	q0, [sp, #128]
	ldr	x8, [x20, #16]
	str	x8, [sp, #144]
	ldr	q0, [x22, #48]
	str	q0, [sp, #96]
	ldur	x8, [x29, #-72]
	str	x8, [sp, #112]
	add	x0, sp, #128
	add	x1, sp, #96
	bl	_f80_lte
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _F80_NAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F80_NAN@GOTPAGEOFF]
	ldr	q0, [x8]
	str	q0, [x19]
	ldr	x8, [x8, #16]
LBB0_3:
	str	x8, [x19, #16]
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_4:
	ldr	q0, [x20]
	str	q0, [sp, #128]
	ldr	x8, [x20, #16]
	str	x8, [sp, #144]
	ldur	q0, [x29, #-112]
	str	q0, [sp, #96]
	ldur	x8, [x29, #-96]
	str	x8, [sp, #112]
	add	x0, sp, #128
	add	x1, sp, #96
	bl	_f80_lt
	mov	w21, #0
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	ldr	q0, [x20]
	str	q0, [sp, #96]
	ldr	x8, [x20, #16]
	str	x8, [sp, #112]
	ldr	q0, [x22]
	str	q0, [sp, #64]
	ldur	x8, [x29, #-120]
	str	x8, [sp, #80]
	add	x8, sp, #128
	add	x0, sp, #96
	add	x1, sp, #64
	bl	_f80_mul
	ldr	q0, [sp, #128]
	str	q0, [x20]
	ldr	x8, [sp, #144]
	str	x8, [x20, #16]
	ldr	q0, [x20]
	str	q0, [sp, #128]
	str	x8, [sp, #144]
	ldur	q0, [x29, #-112]
	str	q0, [sp, #96]
	ldur	x8, [x29, #-96]
	str	x8, [sp, #112]
	add	x0, sp, #128
	add	x1, sp, #96
	bl	_f80_lt
	cbnz	x0, LBB0_5
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w21, w21, #1
	ldr	q0, [x20]
	str	q0, [sp, #96]
	ldr	x8, [x20, #16]
	str	x8, [sp, #112]
	ldr	q0, [x22]
	str	q0, [sp, #64]
	ldur	x8, [x29, #-120]
	str	x8, [sp, #80]
	add	x8, sp, #128
	add	x0, sp, #96
	add	x1, sp, #64
	bl	_f80_div
	ldr	q0, [sp, #128]
	str	q0, [x20]
	ldr	x8, [sp, #144]
	str	x8, [x20, #16]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	q0, [x20]
	str	q0, [sp, #128]
	ldr	x8, [x20, #16]
	str	x8, [sp, #144]
	ldr	q0, [x22]
	str	q0, [sp, #96]
	ldur	x8, [x29, #-120]
	str	x8, [sp, #112]
	add	x0, sp, #128
	add	x1, sp, #96
	bl	_f80_gt
	cbnz	x0, LBB0_6
; %bb.8:
	add	x8, sp, #128
	mov	x0, x21
	bl	_f80_from_int
	ldur	q0, [x29, #-112]
	str	q0, [sp, #96]
	ldur	x8, [x29, #-96]
	str	x8, [sp, #112]
	str	q0, [sp, #64]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	q0, [x20]
	str	q0, [sp, #32]
	ldr	x8, [x20, #16]
	str	x8, [sp, #48]
	ldr	q0, [x22]
	str	q0, [sp]
	ldur	x8, [x29, #-120]
	str	x8, [sp, #16]
	add	x8, sp, #64
	add	x0, sp, #32
	mov	x1, sp
	bl	_f80_div
	ldr	q0, [sp, #64]
	str	q0, [x20]
	ldr	x8, [sp, #80]
	str	x8, [x20, #16]
	ldr	q0, [sp, #96]
	str	q0, [sp, #64]
	ldr	x8, [sp, #112]
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	str	x8, [sp, #80]
	ldr	q0, [x22, #48]
	str	q0, [sp, #32]
	ldur	x8, [x29, #-72]
	str	x8, [sp, #48]
	add	x0, sp, #64
	add	x1, sp, #32
	bl	_f80_gt
	cbz	x0, LBB0_17
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q0, [x20]
	str	q0, [sp, #64]
	ldr	x8, [x20, #16]
	str	x8, [sp, #80]
	ldr	q0, [x22]
	str	q0, [sp, #32]
	ldur	x8, [x29, #-120]
	str	x8, [sp, #48]
	add	x0, sp, #64
	add	x1, sp, #32
	bl	_f80_lte
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	q0, [sp, #96]
	str	q0, [sp, #64]
	ldr	x8, [sp, #112]
	str	x8, [sp, #80]
	ldr	q0, [x22, #48]
	str	q0, [sp, #32]
	ldur	x8, [x29, #-72]
	str	x8, [sp, #48]
	add	x0, sp, #64
	add	x1, sp, #32
	bl	_f80_gt
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	q0, [x20]
	str	q0, [sp, #32]
	ldr	x8, [x20, #16]
	str	x8, [sp, #48]
	ldr	q0, [x20]
	str	q0, [sp]
	ldr	x8, [x20, #16]
	str	x8, [sp, #16]
	add	x8, sp, #64
	add	x0, sp, #32
	mov	x1, sp
	bl	_f80_mul
	ldr	q0, [sp, #64]
	str	q0, [x20]
	ldr	x8, [sp, #80]
	str	x8, [x20, #16]
	ldr	q0, [sp, #96]
	str	q0, [sp, #64]
	ldr	x8, [sp, #112]
	str	x8, [sp, #80]
	ldr	q0, [x22]
	str	q0, [sp, #32]
	ldur	x8, [x29, #-120]
	str	x8, [sp, #48]
	add	x8, sp, #96
	add	x0, sp, #64
	add	x1, sp, #32
	bl	_f80_div
	b	LBB0_11
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldp	x24, x23, [sp, #128]
	ldr	x21, [sp, #144]
	ldr	q0, [sp, #128]
	str	q0, [sp, #32]
	str	x21, [sp, #48]
	ldr	q0, [sp, #96]
	str	q0, [sp]
	ldr	x8, [sp, #112]
	str	x8, [sp, #16]
	add	x8, sp, #64
	add	x0, sp, #32
	mov	x1, sp
	bl	_f80_add
	ldr	x8, [sp, #80]
	str	x8, [sp, #144]
	ldr	q0, [sp, #64]
	str	q0, [sp, #128]
	ldr	x9, [sp, #128]
	cmp	x24, x9
	b.ne	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [sp, #136]
	cmp	x23, x9
	b.ne	LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	x21, x8
	b.ne	LBB0_9
LBB0_17:
	ldr	q0, [sp, #128]
	str	q0, [x19]
	ldr	x8, [sp, #144]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_F80_NAN,24,3                   ; @F80_NAN
.subsections_via_symbols
