	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_check_queues
_ieee80211_check_queues:                ## @ieee80211_check_queues
	.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, %r12
	movq	(%rdi), %rax
	movq	24(%rdi), %rcx
	movl	(%rcx), %r14d
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.1:
	movq	_IEEE80211_NUM_ACS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	movq	_IEEE80211_INVAL_HW_QUEUE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %eax
	xorl	%edi, %edi
	cmpl	(%r13), %eax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax,%rbx,4)
	setge	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
## %bb.7:
	movq	(%r12), %rax
LBB0_8:
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
LBB0_10:
	movq	24(%r12), %rax
	movq	_IEEE80211_HW_QUEUE_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_11
## %bb.12:
	movl	16(%r12), %eax
	movq	_IEEE80211_INVAL_HW_QUEUE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_6
## %bb.13:
	xorl	%edi, %edi
	cmpl	%r14d, 16(%r12)
	setge	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_11:
	movq	_IEEE80211_INVAL_HW_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ## @NL80211_IFTYPE_P2P_DEVICE
	.comm	_IEEE80211_NUM_ACS,4,2          ## @IEEE80211_NUM_ACS
	.comm	_IEEE80211_INVAL_HW_QUEUE,4,2   ## @IEEE80211_INVAL_HW_QUEUE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_IEEE80211_HW_QUEUE_CONTROL,4,2 ## @IEEE80211_HW_QUEUE_CONTROL
	.no_dead_strip	_ieee80211_check_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_check_queues
_ieee80211_check_queues:                ; @ieee80211_check_queues
	.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	x8, [x0, #24]
	ldr	w20, [x8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x21, _IEEE80211_NUM_ACS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IEEE80211_NUM_ACS@GOTPAGEOFF]
	ldr	w10, [x21]
	cmp	x8, x9
	ccmp	w10, #1, #8, ne
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
Lloh5:
	adrp	x23, _IEEE80211_INVAL_HW_QUEUE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _IEEE80211_INVAL_HW_QUEUE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x22, lsl #2]
	ldr	w9, [x23]
	cmp	w8, w9
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w8, w20
	cset	w0, ge
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.5:
	ldr	x8, [x19]
LBB0_6:
Lloh7:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_11
; %bb.7:
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #4]
Lloh13:
	adrp	x9, _IEEE80211_HW_QUEUE_CONTROL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IEEE80211_HW_QUEUE_CONTROL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
	ldr	w8, [x19, #16]
Lloh16:
	adrp	x9, _IEEE80211_INVAL_HW_QUEUE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IEEE80211_INVAL_HW_QUEUE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x19, #16]
	cmp	w8, w20
	cset	w0, ge
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_12
LBB0_10:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_11:
	mov	w0, #0
Lloh22:
	adrp	x8, _IEEE80211_INVAL_HW_QUEUE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IEEE80211_INVAL_HW_QUEUE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_12:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ; @NL80211_IFTYPE_P2P_DEVICE
	.comm	_IEEE80211_NUM_ACS,4,2          ; @IEEE80211_NUM_ACS
	.comm	_IEEE80211_INVAL_HW_QUEUE,4,2   ; @IEEE80211_INVAL_HW_QUEUE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_IEEE80211_HW_QUEUE_CONTROL,4,2 ; @IEEE80211_HW_QUEUE_CONTROL
	.no_dead_strip	_ieee80211_check_queues
.subsections_via_symbols
