	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_set_default_queues
_ieee80211_set_default_queues:          ## @ieee80211_set_default_queues
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IEEE80211_NUM_ACS@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movq	16(%rdi), %rcx
	movq	_IEEE80211_INVAL_HW_QUEUE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r10d
	xorl	%esi, %esi
	movq	_IEEE80211_HW_QUEUE_CONTROL@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %rax
	movl	%r10d, (%rax,%rsi,4)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movslq	(%r8), %rax
	cmpq	%rax, %rsi
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9), %edx
	testl	%edx, (%rcx)
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %rdx
	cmpl	%eax, 4(%rcx)
	jge	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rdx,%rsi,4)
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, (%rdx,%rsi,4)
	jmp	LBB0_7
LBB0_8:
	movq	_IEEE80211_INVAL_HW_QUEUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NUM_ACS,4,2          ## @IEEE80211_NUM_ACS
	.comm	_IEEE80211_HW_QUEUE_CONTROL,4,2 ## @IEEE80211_HW_QUEUE_CONTROL
	.comm	_IEEE80211_INVAL_HW_QUEUE,8,3   ## @IEEE80211_INVAL_HW_QUEUE
	.no_dead_strip	_ieee80211_set_default_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_set_default_queues
_ieee80211_set_default_queues:          ; @ieee80211_set_default_queues
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IEEE80211_NUM_ACS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_NUM_ACS@GOTPAGEOFF]
	ldr	w14, [x8]
Lloh2:
	adrp	x9, _IEEE80211_INVAL_HW_QUEUE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IEEE80211_INVAL_HW_QUEUE@GOTPAGEOFF]
	cmp	w14, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x10, #0
	ldr	x11, [x0, #16]
	ldr	w12, [x9]
Lloh4:
	adrp	x13, _IEEE80211_HW_QUEUE_CONTROL@GOTPAGE
Lloh5:
	ldr	x13, [x13, _IEEE80211_HW_QUEUE_CONTROL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x14, [x0]
	str	w12, [x14, x10, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	ldrsw	x14, [x8]
	cmp	x10, x14
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x11]
	ldr	w16, [x13]
	tst	w16, w15
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w16, [x11, #4]
	ldr	x15, [x0]
	cmp	w16, w14
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x15, x10, lsl #2]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w10, [x15, x10, lsl #2]
	b	LBB0_3
LBB0_8:
	ldr	x8, [x9]
	str	x8, [x0, #8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NUM_ACS,4,2          ; @IEEE80211_NUM_ACS
	.comm	_IEEE80211_HW_QUEUE_CONTROL,4,2 ; @IEEE80211_HW_QUEUE_CONTROL
	.comm	_IEEE80211_INVAL_HW_QUEUE,8,3   ; @IEEE80211_INVAL_HW_QUEUE
	.no_dead_strip	_ieee80211_set_default_queues
.subsections_via_symbols
