	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_init_queues
_ath9k_init_queues:                     ## @ath9k_init_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	16(%rdi), %edi
	callq	_ath9k_hw_common
	movq	%rax, %r14
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movl	$-1, (%rdi,%rbx,4)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movl	16(%r15), %edi
	callq	_ath9k_hw_beaconq_setup
	movl	%eax, 12(%r15)
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_ath9k_htc_cabq_setup
	movl	%eax, 8(%r15)
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.7:
	movq	_IEEE80211_AC_BE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ath9k_htc_txq_setup
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	_IEEE80211_AC_BK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ath9k_htc_txq_setup
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_IEEE80211_AC_VI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ath9k_htc_txq_setup
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	_IEEE80211_AC_VO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ath9k_htc_txq_setup
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_16
## %bb.14:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_4:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_15
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_15
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_15
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
LBB0_15:
	movq	%r14, %rdi
	callq	_ath_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to setup BEACON xmit queue\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to setup CAB xmit queue\n"

	.comm	_IEEE80211_AC_BE,4,2            ## @IEEE80211_AC_BE
L_.str.2:                               ## @.str.2
	.asciz	"Unable to setup xmit queue for BE traffic\n"

	.comm	_IEEE80211_AC_BK,4,2            ## @IEEE80211_AC_BK
L_.str.3:                               ## @.str.3
	.asciz	"Unable to setup xmit queue for BK traffic\n"

	.comm	_IEEE80211_AC_VI,4,2            ## @IEEE80211_AC_VI
L_.str.4:                               ## @.str.4
	.asciz	"Unable to setup xmit queue for VI traffic\n"

	.comm	_IEEE80211_AC_VO,4,2            ## @IEEE80211_AC_VO
L_.str.5:                               ## @.str.5
	.asciz	"Unable to setup xmit queue for VO traffic\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ath9k_init_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_init_queues
_ath9k_init_queues:                     ; @ath9k_init_queues
	.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	x20, x0
	ldr	w0, [x0, #16]
	bl	_ath9k_hw_common
	mov	x19, x0
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	w22, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	str	w22, [x0, x21, lsl #2]
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x20, #16]
	bl	_ath9k_hw_beaconq_setup
	str	w0, [x20, #12]
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.4:
	mov	x0, x20
	bl	_ath9k_htc_cabq_setup
	str	w0, [x20, #8]
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.5:
Lloh0:
	adrp	x8, _IEEE80211_AC_BE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_AC_BE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ath9k_htc_txq_setup
	cbz	w0, LBB0_12
; %bb.6:
Lloh3:
	adrp	x8, _IEEE80211_AC_BK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_AC_BK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ath9k_htc_txq_setup
	cbz	w0, LBB0_13
; %bb.7:
Lloh6:
	adrp	x8, _IEEE80211_AC_VI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_AC_VI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ath9k_htc_txq_setup
	cbz	w0, LBB0_14
; %bb.8:
Lloh9:
	adrp	x8, _IEEE80211_AC_VO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_AC_VO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ath9k_htc_txq_setup
	cbz	w0, LBB0_15
; %bb.9:
	mov	w0, #0
	b	LBB0_17
LBB0_10:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_16
LBB0_11:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_12:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_13:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_14:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_16:
	mov	x0, x19
	bl	_ath_err
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to setup BEACON xmit queue\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to setup CAB xmit queue\n"

	.comm	_IEEE80211_AC_BE,4,2            ; @IEEE80211_AC_BE
l_.str.2:                               ; @.str.2
	.asciz	"Unable to setup xmit queue for BE traffic\n"

	.comm	_IEEE80211_AC_BK,4,2            ; @IEEE80211_AC_BK
l_.str.3:                               ; @.str.3
	.asciz	"Unable to setup xmit queue for BK traffic\n"

	.comm	_IEEE80211_AC_VI,4,2            ; @IEEE80211_AC_VI
l_.str.4:                               ; @.str.4
	.asciz	"Unable to setup xmit queue for VI traffic\n"

	.comm	_IEEE80211_AC_VO,4,2            ; @IEEE80211_AC_VO
l_.str.5:                               ; @.str.5
	.asciz	"Unable to setup xmit queue for VO traffic\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ath9k_init_queues
.subsections_via_symbols
