	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_configure_swpri_map
_fm10k_configure_swpri_map:             ## @fm10k_configure_swpri_map
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	_FM10K_FLAG_SWPRI_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_clear_bit
	movq	8(%r15), %rax
	movq	_fm10k_mac_pf@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_FM10K_SWPRI_MAX@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_4
## %bb.2:
	addq	$8, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_FM10K_SWPRI_MAP
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netdev_get_prio_tc_map
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_fm10k_write_reg
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_FLAG_SWPRI_CONFIG,4,2    ## @FM10K_FLAG_SWPRI_CONFIG
	.comm	_fm10k_mac_pf,8,3               ## @fm10k_mac_pf
	.comm	_FM10K_SWPRI_MAX,4,2            ## @FM10K_SWPRI_MAX
	.no_dead_strip	_fm10k_configure_swpri_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_configure_swpri_map
_fm10k_configure_swpri_map:             ; @fm10k_configure_swpri_map
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _FM10K_FLAG_SWPRI_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_FLAG_SWPRI_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_clear_bit
	ldr	x8, [x19, #8]!
Lloh3:
	adrp	x9, _fm10k_mac_pf@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fm10k_mac_pf@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x23, _FM10K_SWPRI_MAX@GOTPAGE
Lloh7:
	ldr	x23, [x23, _FM10K_SWPRI_MAX@GOTPAGEOFF]
	ldr	w10, [x23]
	cmp	x8, x9
	ccmp	w10, #1, #8, eq
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_FM10K_SWPRI_MAP
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_netdev_get_prio_tc_map
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_fm10k_write_reg
	add	w21, w21, #1
	ldr	w8, [x23]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_FLAG_SWPRI_CONFIG,4,2    ; @FM10K_FLAG_SWPRI_CONFIG
	.comm	_fm10k_mac_pf,8,3               ; @fm10k_mac_pf
	.comm	_FM10K_SWPRI_MAX,4,2            ; @FM10K_SWPRI_MAX
	.no_dead_strip	_fm10k_configure_swpri_map
.subsections_via_symbols
