	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_set_stats_bitmap       ## -- Begin function mlx4_en_set_stats_bitmap
	.p2align	4, 0x90
_mlx4_en_set_stats_bitmap:              ## @mlx4_en_set_stats_bitmap
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	leaq	4(%rsi), %rdi
	callq	_mutex_init
	movl	(%r13), %edi
	movq	_NUM_ALL_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bitmap_zero
	movq	%r14, %rdi
	callq	_mlx4_is_slave
	movl	(%r13), %r12d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_rx_packets@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_FIND_NETDEV_STAT
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_bitmap_set
	movl	(%r13), %ebx
	movq	_tx_packets@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_FIND_NETDEV_STAT
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_bitmap_set
	movl	(%r13), %ebx
	movq	_rx_bytes@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_FIND_NETDEV_STAT
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_bitmap_set
	movl	(%r13), %ebx
	movq	_tx_bytes@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_FIND_NETDEV_STAT
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_bitmap_set
	movl	(%r13), %ebx
	movq	_rx_dropped@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_FIND_NETDEV_STAT
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_bitmap_set
	movl	(%r13), %ebx
	movq	_tx_dropped@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX4_FIND_NETDEV_STAT
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$1, %edx
	jmp	LBB0_3
LBB0_2:
	movq	_NUM_MAIN_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	xorl	%esi, %esi
LBB0_3:
	callq	_bitmap_set
	movq	_NUM_MAIN_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r13), %edi
	movq	_NUM_PORT_STATS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r12d, %esi
	callq	_bitmap_set
	addl	(%rbx), %r12d
	movq	%r14, %rdi
	callq	_mlx4_is_master
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r13), %edi
	movq	_NUM_PF_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %esi
	callq	_bitmap_set
LBB0_5:
	movq	_NUM_PF_STATS@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	callq	_mlx4_en_update_pfc_stats_bitmap
	movq	_NUM_FLOW_STATS@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_mlx4_is_slave
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	(%r13), %edi
	movq	_NUM_PKT_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %esi
	callq	_bitmap_set
LBB0_7:
	movq	_NUM_PKT_STATS@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movl	(%r13), %edi
	movq	_NUM_XDP_STATS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r12d, %esi
	callq	_bitmap_set
	movl	(%rbx), %ebx
	movq	%r14, %rdi
	callq	_mlx4_is_slave
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	addl	%r12d, %ebx
	movl	(%r13), %edi
	movq	_NUM_PHY_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bitmap_set                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_ALL_STATS,4,2              ## @NUM_ALL_STATS
	.comm	_rx_packets,4,2                 ## @rx_packets
	.comm	_tx_packets,4,2                 ## @tx_packets
	.comm	_rx_bytes,4,2                   ## @rx_bytes
	.comm	_tx_bytes,4,2                   ## @tx_bytes
	.comm	_rx_dropped,4,2                 ## @rx_dropped
	.comm	_tx_dropped,4,2                 ## @tx_dropped
	.comm	_NUM_MAIN_STATS,4,2             ## @NUM_MAIN_STATS
	.comm	_NUM_PORT_STATS,4,2             ## @NUM_PORT_STATS
	.comm	_NUM_PF_STATS,4,2               ## @NUM_PF_STATS
	.comm	_NUM_FLOW_STATS,8,3             ## @NUM_FLOW_STATS
	.comm	_NUM_PKT_STATS,4,2              ## @NUM_PKT_STATS
	.comm	_NUM_XDP_STATS,4,2              ## @NUM_XDP_STATS
	.comm	_NUM_PHY_STATS,4,2              ## @NUM_PHY_STATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_set_stats_bitmap       ; -- Begin function mlx4_en_set_stats_bitmap
	.p2align	2
_mlx4_en_set_stats_bitmap:              ; @mlx4_en_set_stats_bitmap
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, x1, #4
	bl	_mutex_init
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _NUM_ALL_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_ALL_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_bitmap_zero
	mov	x0, x20
	bl	_mlx4_is_slave
	ldr	w25, [x19]
Lloh3:
	adrp	x26, _NUM_MAIN_STATS@GOTPAGE
Lloh4:
	ldr	x26, [x26, _NUM_MAIN_STATS@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _rx_packets@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rx_packets@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_MLX4_FIND_NETDEV_STAT
	mov	x1, x0
	mov	x0, x25
	mov	w2, #1
	bl	_bitmap_set
	ldr	w25, [x19]
Lloh8:
	adrp	x8, _tx_packets@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tx_packets@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_MLX4_FIND_NETDEV_STAT
	mov	x1, x0
	mov	x0, x25
	mov	w2, #1
	bl	_bitmap_set
	ldr	w25, [x19]
Lloh11:
	adrp	x8, _rx_bytes@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rx_bytes@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_MLX4_FIND_NETDEV_STAT
	mov	x1, x0
	mov	x0, x25
	mov	w2, #1
	bl	_bitmap_set
	ldr	w25, [x19]
Lloh14:
	adrp	x8, _tx_bytes@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tx_bytes@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_MLX4_FIND_NETDEV_STAT
	mov	x1, x0
	mov	x0, x25
	mov	w2, #1
	bl	_bitmap_set
	ldr	w25, [x19]
Lloh17:
	adrp	x8, _rx_dropped@GOTPAGE
Lloh18:
	ldr	x8, [x8, _rx_dropped@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_MLX4_FIND_NETDEV_STAT
	mov	x1, x0
	mov	x0, x25
	mov	w2, #1
	bl	_bitmap_set
	ldr	w25, [x19]
Lloh20:
	adrp	x8, _tx_dropped@GOTPAGE
Lloh21:
	ldr	x8, [x8, _tx_dropped@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_MLX4_FIND_NETDEV_STAT
	mov	x1, x0
	mov	x0, x25
	mov	w2, #1
	b	LBB0_3
LBB0_2:
	ldr	w2, [x26]
	mov	x0, x25
	mov	w1, #0
LBB0_3:
	bl	_bitmap_set
	ldr	w25, [x26]
	ldr	w0, [x19]
Lloh23:
	adrp	x26, _NUM_PORT_STATS@GOTPAGE
Lloh24:
	ldr	x26, [x26, _NUM_PORT_STATS@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x1, x25
	bl	_bitmap_set
	ldr	w8, [x26]
	add	w25, w8, w25
	mov	x0, x20
	bl	_mlx4_is_master
Lloh25:
	adrp	x26, _NUM_PF_STATS@GOTPAGE
Lloh26:
	ldr	x26, [x26, _NUM_PF_STATS@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19]
	ldr	w2, [x26]
	mov	x1, x25
	bl	_bitmap_set
LBB0_5:
	ldr	w8, [x26]
	add	w25, w8, w25
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	_mlx4_en_update_pfc_stats_bitmap
Lloh27:
	adrp	x8, _NUM_FLOW_STATS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NUM_FLOW_STATS@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	w21, w25, w8
	mov	x0, x20
	bl	_mlx4_is_slave
Lloh30:
	adrp	x22, _NUM_PKT_STATS@GOTPAGE
Lloh31:
	ldr	x22, [x22, _NUM_PKT_STATS@GOTPAGEOFF]
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x19]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_bitmap_set
LBB0_7:
	ldr	w8, [x22]
	add	w21, w8, w21
	ldr	w0, [x19]
Lloh32:
	adrp	x22, _NUM_XDP_STATS@GOTPAGE
Lloh33:
	ldr	x22, [x22, _NUM_XDP_STATS@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_bitmap_set
	ldr	w22, [x22]
	mov	x0, x20
	bl	_mlx4_is_slave
	cbz	x0, LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	add	w1, w22, w21
	ldr	w0, [x19]
Lloh34:
	adrp	x8, _NUM_PHY_STATS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NUM_PHY_STATS@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_bitmap_set
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_ALL_STATS,4,2              ; @NUM_ALL_STATS
	.comm	_rx_packets,4,2                 ; @rx_packets
	.comm	_tx_packets,4,2                 ; @tx_packets
	.comm	_rx_bytes,4,2                   ; @rx_bytes
	.comm	_tx_bytes,4,2                   ; @tx_bytes
	.comm	_rx_dropped,4,2                 ; @rx_dropped
	.comm	_tx_dropped,4,2                 ; @tx_dropped
	.comm	_NUM_MAIN_STATS,4,2             ; @NUM_MAIN_STATS
	.comm	_NUM_PORT_STATS,4,2             ; @NUM_PORT_STATS
	.comm	_NUM_PF_STATS,4,2               ; @NUM_PF_STATS
	.comm	_NUM_FLOW_STATS,8,3             ; @NUM_FLOW_STATS
	.comm	_NUM_PKT_STATS,4,2              ; @NUM_PKT_STATS
	.comm	_NUM_XDP_STATS,4,2              ; @NUM_XDP_STATS
	.comm	_NUM_PHY_STATS,4,2              ; @NUM_PHY_STATS
.subsections_via_symbols
