	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_82xx_set_mac_filter_count
_qlcnic_82xx_set_mac_filter_count:      ## @qlcnic_82xx_set_mac_filter_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movl	(%rcx), %esi
	movq	_QLCNIC_MAX_MC_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 4(%rcx)
	cmpl	$3, %esi
	jge	LBB0_1
## %bb.2:
	movq	_QLCNIC_MAX_UC_COUNT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_QLCNIC_LB_MAX_FILTERS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	subl	%edx, %eax
	cltd
	idivl	%esi
	movl	%eax, 8(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_MAX_MC_COUNT,4,2        ## @QLCNIC_MAX_MC_COUNT
	.comm	_QLCNIC_MAX_UC_COUNT,4,2        ## @QLCNIC_MAX_UC_COUNT
	.comm	_QLCNIC_LB_MAX_FILTERS,4,2      ## @QLCNIC_LB_MAX_FILTERS
	.no_dead_strip	_qlcnic_82xx_set_mac_filter_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_82xx_set_mac_filter_count
_qlcnic_82xx_set_mac_filter_count:      ; @qlcnic_82xx_set_mac_filter_count
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _QLCNIC_MAX_MC_COUNT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _QLCNIC_MAX_MC_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	str	w10, [x8, #4]
Lloh3:
	adrp	x11, _QLCNIC_MAX_UC_COUNT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _QLCNIC_MAX_UC_COUNT@GOTPAGEOFF]
Lloh5:
	adrp	x12, _QLCNIC_LB_MAX_FILTERS@GOTPAGE
Lloh6:
	ldr	x12, [x12, _QLCNIC_LB_MAX_FILTERS@GOTPAGEOFF]
	cmp	w9, #3
	csel	x11, x11, x12, lt
	ldr	w11, [x11]
	sub	w10, w11, w10
	sdiv	w9, w10, w9
	str	w9, [x8, #8]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_MAX_MC_COUNT,4,2        ; @QLCNIC_MAX_MC_COUNT
	.comm	_QLCNIC_MAX_UC_COUNT,4,2        ; @QLCNIC_MAX_UC_COUNT
	.comm	_QLCNIC_LB_MAX_FILTERS,4,2      ; @QLCNIC_LB_MAX_FILTERS
	.no_dead_strip	_qlcnic_82xx_set_mac_filter_count
.subsections_via_symbols
