	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_get_ctrl_vif_queue
_iwl_mvm_get_ctrl_vif_queue:            ## @iwl_mvm_get_ctrl_vif_queue
	.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	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r12
	movl	4(%r13), %r15d
	movq	(%rbx), %rax
	movl	(%rax), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_6
## %bb.1:
	movl	%r15d, %edi
	callq	_ieee80211_is_mgmt
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movl	%r15d, %edi
	callq	_ieee80211_is_bufferable_mmpdu
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movl	%r15d, %edi
	callq	_ieee80211_is_deauth
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:
	movl	%r15d, %edi
	callq	_ieee80211_is_disassoc
	testl	%eax, %eax
	jne	LBB0_14
LBB0_11:
	movl	%r15d, %edi
	callq	_ieee80211_has_order
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	%r15d, %edi
	callq	_ieee80211_is_probe_req
	testl	%eax, %eax
	je	LBB0_16
LBB0_13:
	movq	(%rbx), %rax
	xorl	%ebx, %ebx
	cmpl	$130, (%rax)
	setne	%bl
	movl	%r15d, %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_WARN_ONCE
LBB0_14:
	movl	(%r14), %eax
	jmp	LBB0_15
LBB0_6:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.7:
	movl	%r15d, %edi
	callq	_ieee80211_is_mgmt
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
LBB0_9:
	movl	4(%r14), %eax
	jmp	LBB0_15
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_WARN_ONCE
	movl	$-1, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	(%r13), %edi
	callq	_is_multicast_ether_addr
	testl	%eax, %eax
	je	LBB0_13
## %bb.17:
	movl	(%r12), %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fc=0x%02x"

L_.str.1:                               ## @.str.1
	.asciz	"Not a ctrl vif, no available queue\n"

	.no_dead_strip	_iwl_mvm_get_ctrl_vif_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_get_ctrl_vif_queue
_iwl_mvm_get_ctrl_vif_queue:            ; @iwl_mvm_get_ctrl_vif_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x1]
	bl	_iwl_mvm_vif_from_mac80211
	ldr	w20, [x23, #4]
	ldr	x8, [x21]
	ldr	w8, [x8]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_9
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	bl	_ieee80211_is_mgmt
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_ieee80211_is_bufferable_mmpdu
	cbz	w0, LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_ieee80211_is_deauth
	cbnz	w0, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_ieee80211_is_disassoc
	cbnz	w0, LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_ieee80211_has_order
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_ieee80211_is_probe_req
	cbz	w0, LBB0_15
LBB0_7:
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w8, #130
	cset	w21, ne
	mov	x0, x20
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_WARN_ONCE
LBB0_8:
	ldr	w0, [x19]
	b	LBB0_14
LBB0_9:
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x20
	bl	_ieee80211_is_mgmt
	cbnz	w0, LBB0_12
; %bb.11:
	mov	w0, #1
	bl	_WARN_ON_ONCE
LBB0_12:
	ldr	w0, [x19, #4]
	b	LBB0_14
LBB0_13:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
	mov	w0, #-1
LBB0_14:
	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
	add	sp, sp, #80
	ret
LBB0_15:
	ldr	w0, [x23]
	bl	_is_multicast_ether_addr
	cbz	w0, LBB0_7
; %bb.16:
	ldr	w0, [x22]
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fc=0x%02x"

l_.str.1:                               ; @.str.1
	.asciz	"Not a ctrl vif, no available queue\n"

	.no_dead_strip	_iwl_mvm_get_ctrl_vif_queue
.subsections_via_symbols
