	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_binding_update
_iwl_mvm_binding_update:                ## @iwl_mvm_binding_update
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	%r14, -56(%rbp)
	movq	%rbx, -48(%rbp)
	movq	_FW_CTXT_ACTION_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	4(%r13), %rdi
	callq	_lockdep_assert_held
	movl	(%r13), %edi
	movq	_IEEE80211_IFACE_ITER_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_iwl_mvm_iface_iterator@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	callq	_ieee80211_iterate_active_interfaces_atomic
	movq	-80(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	testl	%r12d, %r12d
	jne	LBB0_5
	jmp	LBB0_8
LBB0_1:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movq	_FW_CTXT_ACTION_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_5:
	movq	_MAX_MACS_IN_BINDING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setae	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_7:
	movl	4(%r15), %eax
	movq	-80(%rbp), %rcx
	movq	-64(%rbp), %rdx
	movl	%eax, (%rdx,%rcx,4)
	movl	(%r15), %eax
	movq	-72(%rbp), %rdx
	movl	%eax, (%rdx,%rcx,4)
	incq	%rcx
	movq	%rcx, -80(%rbp)
	jmp	LBB0_8
LBB0_3:
	movq	_FW_CTXT_ACTION_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_8:
	leaq	-80(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_iwl_mvm_binding_cmd
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_CTXT_ACTION_MODIFY,4,2      ## @FW_CTXT_ACTION_MODIFY
	.comm	_IEEE80211_IFACE_ITER_NORMAL,4,2 ## @IEEE80211_IFACE_ITER_NORMAL
	.comm	_iwl_mvm_iface_iterator,4,2     ## @iwl_mvm_iface_iterator
	.comm	_FW_CTXT_ACTION_ADD,4,2         ## @FW_CTXT_ACTION_ADD
	.comm	_FW_CTXT_ACTION_REMOVE,4,2      ## @FW_CTXT_ACTION_REMOVE
	.comm	_MAX_MACS_IN_BINDING,8,3        ## @MAX_MACS_IN_BINDING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iwl_mvm_binding_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_binding_update
_iwl_mvm_binding_update:                ; @iwl_mvm_binding_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	mov	x21, x0
	stp	xzr, xzr, [sp, #8]
	stp	xzr, x20, [sp, #24]
	str	x23, [sp, #40]
Lloh0:
	adrp	x8, _FW_CTXT_ACTION_MODIFY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_CTXT_ACTION_MODIFY@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	add	x0, x19, #4
	bl	_lockdep_assert_held
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_IFACE_ITER_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _iwl_mvm_iface_iterator@GOTPAGE
Lloh7:
	ldr	x8, [x8, _iwl_mvm_iface_iterator@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_ieee80211_iterate_active_interfaces_atomic
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	cbnz	w22, LBB0_4
	b	LBB0_8
LBB0_2:
	cbz	w22, LBB0_7
; %bb.3:
Lloh9:
	adrp	x9, _FW_CTXT_ACTION_ADD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FW_CTXT_ACTION_ADD@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x9]
LBB0_4:
Lloh12:
	adrp	x9, _MAX_MACS_IN_BINDING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MAX_MACS_IN_BINDING@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, hs
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	ldr	w8, [x21, #4]
	ldr	x9, [sp, #24]
	ldr	x10, [sp, #8]
	lsl	x11, x10, #2
	str	w8, [x9, x11]
	ldr	w8, [x21]
	ldr	x9, [sp, #16]
	str	w8, [x9, x11]
	add	x8, x10, #1
	str	x8, [sp, #8]
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _FW_CTXT_ACTION_REMOVE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FW_CTXT_ACTION_REMOVE@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
LBB0_8:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_binding_cmd
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_CTXT_ACTION_MODIFY,4,2      ; @FW_CTXT_ACTION_MODIFY
	.comm	_IEEE80211_IFACE_ITER_NORMAL,4,2 ; @IEEE80211_IFACE_ITER_NORMAL
	.comm	_iwl_mvm_iface_iterator,4,2     ; @iwl_mvm_iface_iterator
	.comm	_FW_CTXT_ACTION_ADD,4,2         ; @FW_CTXT_ACTION_ADD
	.comm	_FW_CTXT_ACTION_REMOVE,4,2      ; @FW_CTXT_ACTION_REMOVE
	.comm	_MAX_MACS_IN_BINDING,8,3        ; @MAX_MACS_IN_BINDING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iwl_mvm_binding_update
.subsections_via_symbols
