	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function run_log2_tests
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_run_log2_tests:                        ## @run_log2_tests
	.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	_FE_ALL_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_feclearexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	_FLT_MIN_EXP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_FLT_MANT_DIG@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	_FLT_MAX_EXP@GOTPCREL(%rip), %r14
	cmpl	(%r14), %ebx
	jae	LBB0_3
## %bb.1:
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	%ebx, %edi
	callq	_ldexpf
	movl	%eax, %edi
	callq	_log2f
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	movl	(%r15), %edi
	callq	_fetestexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	incl	%ebx
	cmpl	(%r14), %ebx
	jb	LBB0_2
LBB0_3:
	movq	_DBL_MIN_EXP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_DBL_MANT_DIG@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	_DBL_MAX_EXP@GOTPCREL(%rip), %r14
	cmpl	(%r14), %ebx
	jae	LBB0_6
## %bb.4:
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	%ebx, %edi
	callq	_ldexp
	movl	%eax, %edi
	callq	_log2
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	movl	(%r15), %edi
	callq	_fetestexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	incl	%ebx
	cmpl	(%r14), %ebx
	jb	LBB0_5
LBB0_6:
	movq	_LDBL_MIN_EXP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LDBL_MANT_DIG@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	_LDBL_MAX_EXP@GOTPCREL(%rip), %r14
	cmpl	(%r14), %ebx
	jae	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	%ebx, %edi
	callq	_ldexpl
	movl	%eax, %edi
	callq	_log2l
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	incl	%ebx
	cmpl	(%r14), %ebx
	jb	LBB0_7
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_ALL_EXCEPT,4,2              ## @FE_ALL_EXCEPT
	.comm	_FLT_MIN_EXP,4,2                ## @FLT_MIN_EXP
	.comm	_FLT_MANT_DIG,4,2               ## @FLT_MANT_DIG
	.comm	_FLT_MAX_EXP,4,2                ## @FLT_MAX_EXP
	.comm	_ALL_STD_EXCEPT,4,2             ## @ALL_STD_EXCEPT
	.comm	_DBL_MIN_EXP,4,2                ## @DBL_MIN_EXP
	.comm	_DBL_MANT_DIG,4,2               ## @DBL_MANT_DIG
	.comm	_DBL_MAX_EXP,4,2                ## @DBL_MAX_EXP
	.comm	_LDBL_MIN_EXP,4,2               ## @LDBL_MIN_EXP
	.comm	_LDBL_MANT_DIG,4,2              ## @LDBL_MANT_DIG
	.comm	_LDBL_MAX_EXP,4,2               ## @LDBL_MAX_EXP
	.no_dead_strip	_run_log2_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_log2_tests
_run_log2_tests:                        ; @run_log2_tests
	.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
Lloh0:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_feclearexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
Lloh3:
	adrp	x8, _FLT_MIN_EXP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLT_MIN_EXP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FLT_MANT_DIG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLT_MANT_DIG@GOTPAGEOFF]
Lloh8:
	adrp	x21, _FLT_MAX_EXP@GOTPAGE
Lloh9:
	ldr	x21, [x21, _FLT_MAX_EXP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	ldr	w10, [x21]
	sub	w19, w8, w9
	cmp	w19, w10
Lloh11:
	adrp	x20, _ALL_STD_EXCEPT@GOTPAGE
Lloh12:
	ldr	x20, [x20, _ALL_STD_EXCEPT@GOTPAGEOFF]
	b.hs	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	fmov	d0, #1.00000000
	mov	x0, x19
	bl	_ldexpf
	bl	_log2f
	cmp	w19, w0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x20]
	bl	_fetestexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	add	w19, w19, #1
	ldr	w8, [x21]
	cmp	w19, w8
	b.lo	LBB0_1
LBB0_2:
Lloh13:
	adrp	x8, _DBL_MIN_EXP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DBL_MIN_EXP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _DBL_MANT_DIG@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DBL_MANT_DIG@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x21, _DBL_MAX_EXP@GOTPAGE
Lloh20:
	ldr	x21, [x21, _DBL_MAX_EXP@GOTPAGEOFF]
	ldr	w10, [x21]
	sub	w19, w8, w9
	cmp	w19, w10
	b.hs	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	fmov	d0, #1.00000000
	mov	x0, x19
	bl	_ldexp
	bl	_log2
	cmp	w19, w0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x20]
	bl	_fetestexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	add	w19, w19, #1
	ldr	w8, [x21]
	cmp	w19, w8
	b.lo	LBB0_3
LBB0_4:
Lloh21:
	adrp	x8, _LDBL_MIN_EXP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LDBL_MIN_EXP@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _LDBL_MANT_DIG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _LDBL_MANT_DIG@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x20, _LDBL_MAX_EXP@GOTPAGE
Lloh28:
	ldr	x20, [x20, _LDBL_MAX_EXP@GOTPAGEOFF]
	ldr	w10, [x20]
	sub	w19, w8, w9
	cmp	w19, w10
	b.hs	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	fmov	d0, #1.00000000
	mov	x0, x19
	bl	_ldexpl
	bl	_log2l
	cmp	w19, w0
	cset	w0, eq
	bl	_assert
	add	w19, w19, #1
	ldr	w8, [x20]
	cmp	w19, w8
	b.lo	LBB0_5
LBB0_6:
	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 AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_ALL_EXCEPT,4,2              ; @FE_ALL_EXCEPT
	.comm	_FLT_MIN_EXP,4,2                ; @FLT_MIN_EXP
	.comm	_FLT_MANT_DIG,4,2               ; @FLT_MANT_DIG
	.comm	_FLT_MAX_EXP,4,2                ; @FLT_MAX_EXP
	.comm	_ALL_STD_EXCEPT,4,2             ; @ALL_STD_EXCEPT
	.comm	_DBL_MIN_EXP,4,2                ; @DBL_MIN_EXP
	.comm	_DBL_MANT_DIG,4,2               ; @DBL_MANT_DIG
	.comm	_DBL_MAX_EXP,4,2                ; @DBL_MAX_EXP
	.comm	_LDBL_MIN_EXP,4,2               ; @LDBL_MIN_EXP
	.comm	_LDBL_MANT_DIG,4,2              ; @LDBL_MANT_DIG
	.comm	_LDBL_MAX_EXP,4,2               ; @LDBL_MAX_EXP
	.no_dead_strip	_run_log2_tests
.subsections_via_symbols
