	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_dynamic_bfregs
_calc_dynamic_bfregs:                   ## @calc_dynamic_bfregs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	cmpl	$4097, (%rax)                   ## imm = 0x1001
	movq	_MLX5_MAX_DYN_BFREGS@GOTPCREL(%rip), %rax
	movq	%rax, %rcx
	jl	LBB0_2
## %bb.1:
	movq	_MLX5_MIN_DYN_BFREGS@GOTPCREL(%rip), %rcx
LBB0_2:
	cmpl	$1, %edi
	cmoveq	%rcx, %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_MLX5_MIN_DYN_BFREGS,4,2        ## @MLX5_MIN_DYN_BFREGS
	.comm	_MLX5_MAX_DYN_BFREGS,4,2        ## @MLX5_MAX_DYN_BFREGS
	.no_dead_strip	_calc_dynamic_bfregs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_dynamic_bfregs
_calc_dynamic_bfregs:                   ; @calc_dynamic_bfregs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1, lsl #12                 ; =4096
Lloh3:
	adrp	x8, _MLX5_MIN_DYN_BFREGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_MIN_DYN_BFREGS@GOTPAGEOFF]
	ccmp	w0, #1, #0, gt
Lloh5:
	adrp	x9, _MLX5_MAX_DYN_BFREGS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MLX5_MAX_DYN_BFREGS@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_MLX5_MIN_DYN_BFREGS,4,2        ; @MLX5_MIN_DYN_BFREGS
	.comm	_MLX5_MAX_DYN_BFREGS,4,2        ; @MLX5_MAX_DYN_BFREGS
	.no_dead_strip	_calc_dynamic_bfregs
.subsections_via_symbols
