	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_mac_ctxt_send_beacon   ## -- Begin function iwl_mvm_mac_ctxt_send_beacon
	.p2align	4, 0x90
_iwl_mvm_mac_ctxt_send_beacon:          ## @iwl_mvm_mac_ctxt_send_beacon
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%rdx, %rdx
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_2
LBB0_3:
	movq	_IWL_MVM_NON_TRANSMITTING_AP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_4
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r15), %rdi
	movq	_IWL_UCODE_TLV_CAPA_CSA_AND_TBTT_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fw_has_capa
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rdi
	movq	_IWL_UCODE_TLV_API_NEW_BEACON_TEMPLATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fw_has_api
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_mac_ctxt_send_beacon_v9 ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_mac_ctxt_send_beacon_v6 ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_mac_ctxt_send_beacon_v7 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IWL_MVM_NON_TRANSMITTING_AP,8,3 ## @IWL_MVM_NON_TRANSMITTING_AP
	.comm	_IWL_UCODE_TLV_CAPA_CSA_AND_TBTT_OFFLOAD,4,2 ## @IWL_UCODE_TLV_CAPA_CSA_AND_TBTT_OFFLOAD
	.comm	_IWL_UCODE_TLV_API_NEW_BEACON_TEMPLATE,4,2 ## @IWL_UCODE_TLV_API_NEW_BEACON_TEMPLATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_mac_ctxt_send_beacon   ; -- Begin function iwl_mvm_mac_ctxt_send_beacon
	.p2align	2
_iwl_mvm_mac_ctxt_send_beacon:          ; @iwl_mvm_mac_ctxt_send_beacon
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x2, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _IWL_MVM_NON_TRANSMITTING_AP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MVM_NON_TRANSMITTING_AP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w0, #0
LBB0_4:
	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_5:
	ldr	x0, [x21]
Lloh6:
	adrp	x8, _IWL_UCODE_TLV_CAPA_CSA_AND_TBTT_OFFLOAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_UCODE_TLV_CAPA_CSA_AND_TBTT_OFFLOAD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_fw_has_capa
	cbz	w0, LBB0_8
; %bb.6:
	ldr	x0, [x21]
Lloh9:
	adrp	x8, _IWL_UCODE_TLV_API_NEW_BEACON_TEMPLATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IWL_UCODE_TLV_API_NEW_BEACON_TEMPLATE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_fw_has_api
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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	_iwl_mvm_mac_ctxt_send_beacon_v9
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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	_iwl_mvm_mac_ctxt_send_beacon_v6
LBB0_9:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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	_iwl_mvm_mac_ctxt_send_beacon_v7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IWL_MVM_NON_TRANSMITTING_AP,8,3 ; @IWL_MVM_NON_TRANSMITTING_AP
	.comm	_IWL_UCODE_TLV_CAPA_CSA_AND_TBTT_OFFLOAD,4,2 ; @IWL_UCODE_TLV_CAPA_CSA_AND_TBTT_OFFLOAD
	.comm	_IWL_UCODE_TLV_API_NEW_BEACON_TEMPLATE,4,2 ; @IWL_UCODE_TLV_API_NEW_BEACON_TEMPLATE
.subsections_via_symbols
