	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_get_sset_count
_mlx4_en_get_sset_count:                ## @mlx4_en_get_sset_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	24(%rax), %esi
	movq	_NUM_ALL_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	callq	_bitmap_iterator_init
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$130, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_6
## %bb.3:
	leaq	-24(%rbp), %rdi
	callq	_bitmap_iterator_count
                                        ## kill: def $eax killed $eax def $rax
	movq	(%r14), %rcx
	movq	_TX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	leal	(%rax,%rcx,2), %ecx
	movq	_NUM_XDP_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$3, %eax
	imull	8(%r14), %eax
	addl	%ecx, %eax
	jmp	LBB0_7
LBB0_4:
	movq	_MLX4_EN_NUM_SELF_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r14), %rcx
	movq	(%rcx), %rcx
	movq	_MLX4_DEV_CAP_FLAG_UC_LOOPBACK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	testl	%edx, (%rcx)
	setne	%sil
	leal	(%rax,%rsi,2), %eax
	addl	$-2, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_mlx4_en_priv_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	jmp	LBB0_7
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_ALL_STATS,4,2              ## @NUM_ALL_STATS
	.comm	_TX,8,3                         ## @TX
	.comm	_NUM_XDP_STATS,4,2              ## @NUM_XDP_STATS
	.comm	_MLX4_EN_NUM_SELF_TEST,4,2      ## @MLX4_EN_NUM_SELF_TEST
	.comm	_MLX4_DEV_CAP_FLAG_UC_LOOPBACK,4,2 ## @MLX4_DEV_CAP_FLAG_UC_LOOPBACK
	.comm	_mlx4_en_priv_flags,4,2         ## @mlx4_en_priv_flags
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_mlx4_en_get_sset_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_get_sset_count
_mlx4_en_get_sset_count:                ; @mlx4_en_get_sset_count
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	w1, [x0, #24]
Lloh0:
	adrp	x8, _NUM_ALL_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_ALL_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_bitmap_iterator_init
	cmp	w20, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #129
	b.ne	LBB0_6
; %bb.3:
	add	x0, sp, #8
	bl	_bitmap_iterator_count
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _TX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	add	w8, w0, w8, lsl #1
	ldr	w9, [x19, #8]
Lloh6:
	adrp	x10, _NUM_XDP_STATS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NUM_XDP_STATS@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	add	w10, w10, #3
	madd	w0, w10, w9, w8
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _MLX4_EN_NUM_SELF_TEST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_EN_NUM_SELF_TEST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _MLX4_DEV_CAP_FLAG_UC_LOOPBACK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MLX4_DEV_CAP_FLAG_UC_LOOPBACK@GOTPAGEOFF]
	ldr	w9, [x9]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w9
	mov	w9, #-2
	csel	w9, w9, wzr, eq
	add	w0, w9, w8
	b	LBB0_7
LBB0_5:
Lloh15:
	adrp	x8, _mlx4_en_priv_flags@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mlx4_en_priv_flags@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_ALL_STATS,4,2              ; @NUM_ALL_STATS
	.comm	_TX,8,3                         ; @TX
	.comm	_NUM_XDP_STATS,4,2              ; @NUM_XDP_STATS
	.comm	_MLX4_EN_NUM_SELF_TEST,4,2      ; @MLX4_EN_NUM_SELF_TEST
	.comm	_MLX4_DEV_CAP_FLAG_UC_LOOPBACK,4,2 ; @MLX4_DEV_CAP_FLAG_UC_LOOPBACK
	.comm	_mlx4_en_priv_flags,4,2         ; @mlx4_en_priv_flags
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_mlx4_en_get_sset_count
.subsections_via_symbols
