	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_exponent_bits
_count_exponent_bits:                   ## @count_exponent_bits
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	24(%rdi), %rcx
	movl	4(%rdi), %edx
	movq	_EXP_REUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_CPL_CH@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_exponent_group_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	leal	1(%rdx), %r12d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r13, %r10
	shlq	$4, %r10
	movl	8(%rcx,%r10), %edx
	movq	%rcx, %rsi
	xorl	%ecx, %ecx
	testl	%edx, %edx
	sete	%cl
	cmpl	%ecx, -48(%rbp)                 ## 4-byte Folded Reload
	jl	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	testl	%edx, %edx
	sete	%cl
	movq	8(%rdi), %r9
	addq	%rsi, %r10
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rcx
	cmpq	%rcx, %r12
	je	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r9,%rcx,8), %rdx
	movslq	(%rdx,%r13,4), %rdx
	cmpl	%r15d, %edx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%r10), %r8
	movslq	(%r8,%rcx,4), %rsi
	movq	16(%rdi), %rbx
	movslq	(%rbx,%rcx,4), %rbx
	subq	%rbx, %rsi
	xorl	%ebx, %ebx
	cmpq	%rcx, %r11
	sete	%bl
	movq	(%r14,%rbx,8), %rbx
	movq	-8(%rbx,%rdx,8), %rdx
	movl	(%rdx,%rsi,4), %edx
	leal	(,%rdx,8), %esi
	subl	%edx, %esi
	addl	%esi, %eax
	addl	$4, %eax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPL_CH,4,2                     ## @CPL_CH
	.comm	_EXP_REUSE,4,2                  ## @EXP_REUSE
	.comm	_exponent_group_tab,8,3         ## @exponent_group_tab
	.no_dead_strip	_count_exponent_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_exponent_bits
_count_exponent_bits:                   ; @count_exponent_bits
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x10, #0
	mov	w8, #0
	ldr	x11, [x0, #24]
	ldr	w12, [x0, #4]
Lloh0:
	adrp	x13, _EXP_REUSE@GOTPAGE
Lloh1:
	ldr	x13, [x13, _EXP_REUSE@GOTPAGEOFF]
Lloh2:
	adrp	x14, _CPL_CH@GOTPAGE
Lloh3:
	ldr	x14, [x14, _CPL_CH@GOTPAGEOFF]
Lloh4:
	ldr	w13, [x13]
Lloh5:
	ldr	w14, [x14]
Lloh6:
	adrp	x15, _exponent_group_tab@GOTPAGE
Lloh7:
	ldr	x15, [x15, _exponent_group_tab@GOTPAGEOFF]
Lloh8:
	ldr	x15, [x15]
	add	w16, w12, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x17, x11, x10, lsl #4
	ldr	w1, [x17, #8]
	cmp	w1, #0
	cset	w2, eq
	cmp	w12, w2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w1, #0
	cset	w1, eq
	ldr	x2, [x0, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x1, x1, #1
	cmp	x16, x1
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x3, [x2, x1, lsl #3]
	ldr	w3, [x3, x10, lsl #2]
	cmp	w3, w13
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x4, [x17]
	lsl	x5, x1, #2
	ldr	w4, [x4, x5]
	ldr	x6, [x0, #16]
	ldr	w5, [x6, x5]
	sub	w4, w4, w5
	cmp	x14, x1
	cset	w5, eq
	ldr	x5, [x15, w5, uxtw #3]
	sub	w3, w3, #1
	ldr	x3, [x5, w3, sxtw #3]
	ldr	w3, [x3, w4, sxtw #2]
	lsl	w4, w3, #3
	sub	w3, w4, w3
	add	w8, w8, w3
	add	w8, w8, #4
	b	LBB0_5
LBB0_8:
	mov	x0, x8
	ret
LBB0_9:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CPL_CH,4,2                     ; @CPL_CH
	.comm	_EXP_REUSE,4,2                  ; @EXP_REUSE
	.comm	_exponent_group_tab,8,3         ; @exponent_group_tab
	.no_dead_strip	_count_exponent_bits
.subsections_via_symbols
