	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_log_fs_mgm_entry_size
_choose_log_fs_mgm_entry_size:          ## @choose_log_fs_mgm_entry_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MLX4_MIN_MGM_LOG_ENTRY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MLX4_MAX_MGM_LOG_ENTRY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$-1, %eax
	cmpl	%r8d, %ecx
	jg	LBB0_5
## %bb.1:
	incl	%r8d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %esi
	shll	%cl, %esi
	leal	15(%rsi), %edx
	testl	%esi, %esi
	cmovnsl	%esi, %edx
	sarl	$4, %edx
	leal	-8(,%rdx,4), %edx
	cmpl	%edi, %edx
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
	cmpl	%ecx, %r8d
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_MIN_MGM_LOG_ENTRY_SIZE,4,2 ## @MLX4_MIN_MGM_LOG_ENTRY_SIZE
	.comm	_MLX4_MAX_MGM_LOG_ENTRY_SIZE,4,2 ## @MLX4_MAX_MGM_LOG_ENTRY_SIZE
	.no_dead_strip	_choose_log_fs_mgm_entry_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_log_fs_mgm_entry_size
_choose_log_fs_mgm_entry_size:          ; @choose_log_fs_mgm_entry_size
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _MLX4_MIN_MGM_LOG_ENTRY_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_MIN_MGM_LOG_ENTRY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _MLX4_MAX_MGM_LOG_ENTRY_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_MAX_MGM_LOG_ENTRY_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w9
	b.gt	LBB0_4
; %bb.1:
	add	w9, w9, #1
	mov	w10, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w11, w10, w0
	add	w12, w11, #15
	cmp	w11, #0
	csel	w11, w12, w11, lt
	asr	w11, w11, #4
	lsl	w11, w11, #2
	sub	w11, w11, #8
	cmp	w11, w8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w0, w0, #1
	cmp	w9, w0
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_MIN_MGM_LOG_ENTRY_SIZE,4,2 ; @MLX4_MIN_MGM_LOG_ENTRY_SIZE
	.comm	_MLX4_MAX_MGM_LOG_ENTRY_SIZE,4,2 ; @MLX4_MAX_MGM_LOG_ENTRY_SIZE
	.no_dead_strip	_choose_log_fs_mgm_entry_size
.subsections_via_symbols
