	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlcore_hw_queue_iter
_wlcore_hw_queue_iter:                  ## @wlcore_hw_queue_iter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdx), %rax
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	8(%rdx), %rax
	movl	(%rax), %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_5
## %bb.2:
	cmpl	$0, (%r14)
	je	LBB0_3
LBB0_4:
	movl	$1, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	cmpq	%rbx, 8(%r14)
	je	LBB0_4
## %bb.6:
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movq	_NUM_TX_QUEUES@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	4(%r14), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___set_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ## @NL80211_IFTYPE_P2P_DEVICE
	.comm	_IEEE80211_INVAL_HW_QUEUE,4,2   ## @IEEE80211_INVAL_HW_QUEUE
	.comm	_NUM_TX_QUEUES,4,2              ## @NUM_TX_QUEUES
	.no_dead_strip	_wlcore_hw_queue_iter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlcore_hw_queue_iter
_wlcore_hw_queue_iter:                  ; @wlcore_hw_queue_iter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x2, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_INVAL_HW_QUEUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_INVAL_HW_QUEUE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
LBB0_3:
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.eq	LBB0_3
; %bb.6:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _NUM_TX_QUEUES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NUM_TX_QUEUES@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	sdiv	w0, w8, w9
	ldr	w1, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___set_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ; @NL80211_IFTYPE_P2P_DEVICE
	.comm	_IEEE80211_INVAL_HW_QUEUE,4,2   ; @IEEE80211_INVAL_HW_QUEUE
	.comm	_NUM_TX_QUEUES,4,2              ; @NUM_TX_QUEUES
	.no_dead_strip	_wlcore_hw_queue_iter
.subsections_via_symbols
