	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorps	%xmm0, %xmm0
	callq	_ilogb
	movq	_FP_ILOGB0@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movq	_NAN@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fstpl	-224(%rbp)
	movsd	-224(%rbp), %xmm0               ## xmm0 = mem[0],zero
	callq	_ilogb
	movq	_FP_ILOGBNAN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movq	_INFINITY@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fstpl	-216(%rbp)
	movsd	-216(%rbp), %xmm0               ## xmm0 = mem[0],zero
	callq	_ilogb
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	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), %r13
	cmpl	(%r13), %ebx
	jge	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %r14
	leaq	-176(%rbp), %r15
	leaq	-184(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$128, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strtod
	movsd	%xmm0, -200(%rbp)               ## 8-byte Spill
	movq	-184(%rbp), %rax
	xorl	%edi, %edi
	cmpb	$0, (%rax)
	sete	%dil
	callq	_assert
	movsd	-200(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_ilogb
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_3:
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	xorps	%xmm0, %xmm0
	callq	_ilogbf
	xorl	%edi, %edi
	movq	_FP_ILOGB0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movq	_NAN@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fstps	-208(%rbp)
	movss	-208(%rbp), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	callq	_ilogbf
	xorl	%edi, %edi
	movq	_FP_ILOGBNAN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movq	_INFINITY@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fstps	-204(%rbp)
	movss	-204(%rbp), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	callq	_ilogbf
	xorl	%edi, %edi
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	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), %r13
	cmpl	(%r13), %ebx
	jge	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %r14
	leaq	-176(%rbp), %r15
	leaq	-184(%rbp), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$128, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strtof
	movss	%xmm0, -200(%rbp)               ## 4-byte Spill
	movq	-184(%rbp), %rax
	xorl	%edi, %edi
	cmpb	$0, (%rax)
	sete	%dil
	callq	_assert
	movss	-200(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_ilogbf
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_5
LBB0_6:
	leaq	L_str.6(%rip), %rdi
	callq	_puts
	fldz
	fstpt	(%rsp)
	callq	_ilogbl
	xorl	%edi, %edi
	movq	_FP_ILOGB0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movq	_NAN@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fstpt	(%rsp)
	callq	_ilogbl
	xorl	%edi, %edi
	movq	_FP_ILOGBNAN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movq	_INFINITY@GOTPCREL(%rip), %rax
	fldt	(%rax)
	fstpt	(%rsp)
	callq	_ilogbl
	xorl	%edi, %edi
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	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), %r13
	cmpl	(%r13), %ebx
	jge	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %r14
	leaq	-176(%rbp), %r15
	leaq	-184(%rbp), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$128, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strtold
	fstpt	-200(%rbp)                      ## 10-byte Folded Spill
	movq	-184(%rbp), %rax
	xorl	%edi, %edi
	cmpb	$0, (%rax)
	sete	%dil
	callq	_assert
	fldt	-200(%rbp)                      ## 10-byte Folded Reload
	fstpt	(%rsp)
	callq	_ilogbl
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_8
LBB0_9:
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FP_ILOGB0,4,2                  ## @FP_ILOGB0
	.comm	_NAN,16,4                       ## @NAN
	.comm	_FP_ILOGBNAN,4,2                ## @FP_ILOGBNAN
	.comm	_INFINITY,16,4                  ## @INFINITY
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"0x1.p%d"

	.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	_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
L_str:                                  ## @str
	.asciz	"1..3"

L_str.5:                                ## @str.5
	.asciz	"ok 1 - ilogb"

L_str.6:                                ## @str.6
	.asciz	"ok 2 - ilogbf"

L_str.7:                                ## @str.7
	.asciz	"ok 3 - ilogbl"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	d9, d8, [sp, #144]              ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	movi	d0, #0000000000000000
	bl	_ilogb
Lloh5:
	adrp	x21, _FP_ILOGB0@GOTPAGE
Lloh6:
	ldr	x21, [x21, _FP_ILOGB0@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
Lloh7:
	adrp	x22, _NAN@GOTPAGE
Lloh8:
	ldr	x22, [x22, _NAN@GOTPAGEOFF]
	ldr	d0, [x22]
	bl	_ilogb
Lloh9:
	adrp	x23, _FP_ILOGBNAN@GOTPAGE
Lloh10:
	ldr	x23, [x23, _FP_ILOGBNAN@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
Lloh11:
	adrp	x24, _INFINITY@GOTPAGE
Lloh12:
	ldr	x24, [x24, _INFINITY@GOTPAGEOFF]
	ldr	d0, [x24]
	bl	_ilogb
Lloh13:
	adrp	x25, _INT_MAX@GOTPAGE
Lloh14:
	ldr	x25, [x25, _INT_MAX@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
Lloh15:
	adrp	x8, _DBL_MIN_EXP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DBL_MIN_EXP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _DBL_MANT_DIG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DBL_MANT_DIG@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x26, _DBL_MAX_EXP@GOTPAGE
Lloh22:
	ldr	x26, [x26, _DBL_MAX_EXP@GOTPAGEOFF]
	ldr	w10, [x26]
	sub	w19, w8, w9
	cmp	w19, w10
	b.ge	LBB0_3
; %bb.1:
Lloh23:
	adrp	x20, l_.str.1@PAGE
Lloh24:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x20
	mov	x3, x19
	bl	_snprintf
	add	x0, sp, #8
	mov	x1, sp
	bl	_strtod
	fmov	d8, d0
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	fmov	d0, d8
	bl	_ilogb
	cmp	w19, w0
	cset	w0, eq
	bl	_assert
	add	w19, w19, #1
	ldr	w8, [x26]
	cmp	w19, w8
	b.lt	LBB0_2
LBB0_3:
Lloh25:
	adrp	x0, l_str.5@PAGE
Lloh26:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
	movi	d0, #0000000000000000
	bl	_ilogbf
	ldr	w8, [x21]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	d0, [x22]
	fcvt	s0, d0
	bl	_ilogbf
	ldr	w8, [x23]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	d0, [x24]
	fcvt	s0, d0
	bl	_ilogbf
	ldr	w8, [x25]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
Lloh27:
	adrp	x8, _FLT_MIN_EXP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FLT_MIN_EXP@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _FLT_MANT_DIG@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FLT_MANT_DIG@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x26, _FLT_MAX_EXP@GOTPAGE
Lloh34:
	ldr	x26, [x26, _FLT_MAX_EXP@GOTPAGEOFF]
	ldr	w10, [x26]
	sub	w19, w8, w9
	cmp	w19, w10
	b.ge	LBB0_6
; %bb.4:
Lloh35:
	adrp	x20, l_.str.1@PAGE
Lloh36:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x20
	mov	x3, x19
	bl	_snprintf
	add	x0, sp, #8
	mov	x1, sp
	bl	_strtof
	fmov	s8, s0
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	fmov	s0, s8
	bl	_ilogbf
	cmp	w19, w0
	cset	w0, eq
	bl	_assert
	add	w19, w19, #1
	ldr	w8, [x26]
	cmp	w19, w8
	b.lt	LBB0_5
LBB0_6:
Lloh37:
	adrp	x0, l_str.6@PAGE
Lloh38:
	add	x0, x0, l_str.6@PAGEOFF
	bl	_puts
	movi	d0, #0000000000000000
	bl	_ilogbl
	ldr	w8, [x21]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	d0, [x22]
	bl	_ilogbl
	ldr	w8, [x23]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	d0, [x24]
	bl	_ilogbl
	ldr	w8, [x25]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
Lloh39:
	adrp	x8, _LDBL_MIN_EXP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LDBL_MIN_EXP@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _LDBL_MANT_DIG@GOTPAGE
Lloh43:
	ldr	x9, [x9, _LDBL_MANT_DIG@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x21, _LDBL_MAX_EXP@GOTPAGE
Lloh46:
	ldr	x21, [x21, _LDBL_MAX_EXP@GOTPAGEOFF]
	ldr	w10, [x21]
	sub	w19, w8, w9
	cmp	w19, w10
	b.ge	LBB0_9
; %bb.7:
Lloh47:
	adrp	x20, l_.str.1@PAGE
Lloh48:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x20
	mov	x3, x19
	bl	_snprintf
	add	x0, sp, #8
	mov	x1, sp
	bl	_strtold
	fmov	d8, d0
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	fmov	d0, d8
	bl	_ilogbl
	cmp	w19, w0
	cset	w0, eq
	bl	_assert
	add	w19, w19, #1
	ldr	w8, [x21]
	cmp	w19, w8
	b.lt	LBB0_8
LBB0_9:
Lloh49:
	adrp	x0, l_str.7@PAGE
Lloh50:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
	ldur	x8, [x29, #-88]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #0
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #144]              ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_FP_ILOGB0,4,2                  ; @FP_ILOGB0
	.comm	_NAN,8,3                        ; @NAN
	.comm	_FP_ILOGBNAN,4,2                ; @FP_ILOGBNAN
	.comm	_INFINITY,8,3                   ; @INFINITY
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"0x1.p%d"

	.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	_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
l_str:                                  ; @str
	.asciz	"1..3"

l_str.5:                                ; @str.5
	.asciz	"ok 1 - ilogb"

l_str.6:                                ; @str.6
	.asciz	"ok 2 - ilogbf"

l_str.7:                                ; @str.7
	.asciz	"ok 3 - ilogbl"

.subsections_via_symbols
