	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_l2param_change
_i40iw_l2param_change:                  ## @i40iw_l2param_change
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_i40iw_find_i40e_handler
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	leaq	16(%rax), %r12
	movq	%r12, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_2
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_atomic_inc
	movq	%rbx, 24(%r15)
	movq	_I40E_CLIENT_MAX_USER_PRIORITY@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.4:
	movq	8(%r14), %rcx
	movq	16(%r15), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %edi
	movl	%edi, (%rdx,%rsi,4)
	incq	%rsi
	movslq	(%rax), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_5
LBB0_6:
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	8(%rbx), %rax
LBB0_8:
	movq	%rax, 8(%r15)
	movq	_i40iw_l2params_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movl	(%rbx), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_I40E_CLIENT_MAX_USER_PRIORITY,4,2 ## @I40E_CLIENT_MAX_USER_PRIORITY
	.comm	_i40iw_l2params_worker,4,2      ## @i40iw_l2params_worker
	.no_dead_strip	_i40iw_l2param_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_l2param_change
_i40iw_l2param_change:                  ; @i40iw_l2param_change
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	bl	_i40iw_find_i40e_handler
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x22, x0, #16
	mov	x0, x22
	bl	_atomic_read
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.4:
	mov	x21, x0
	mov	x0, x22
	bl	_atomic_inc
	str	x19, [x21, #24]
Lloh3:
	adrp	x8, _I40E_CLIENT_MAX_USER_PRIORITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_CLIENT_MAX_USER_PRIORITY@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x9, #0
	ldr	x10, [x20, #8]
	ldr	x11, [x21, #16]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #2
	ldr	w13, [x10, x12]
	str	w13, [x11, x12]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_6
LBB0_7:
	ldr	x8, [x20]
	cbnz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
LBB0_9:
	str	x8, [x21, #8]
Lloh5:
	adrp	x8, _i40iw_l2params_worker@GOTPAGE
Lloh6:
	ldr	x8, [x8, _i40iw_l2params_worker@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_WORK
	ldr	w0, [x19]
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_queue_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_I40E_CLIENT_MAX_USER_PRIORITY,4,2 ; @I40E_CLIENT_MAX_USER_PRIORITY
	.comm	_i40iw_l2params_worker,4,2      ; @i40iw_l2params_worker
	.no_dead_strip	_i40iw_l2param_change
.subsections_via_symbols
