	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_set_tx_filter         ## -- Begin function ath9k_hw_set_tx_filter
	.p2align	4, 0x90
_ath9k_hw_set_tx_filter:                ## @ath9k_hw_set_tx_filter
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_AR_D_TXBLK_WRITE_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_SM
	movl	%eax, %r13d
	movq	_AR_D_TXBLK_WRITE_DCU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_SM
	orl	%eax, %r13d
	movl	%r12d, %eax
	cltd
	movq	_ATH9K_HW_SLICE_PER_DCU@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movq	_AR_D_TXBLK_WRITE_SLICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_SM
	movl	%eax, %r14d
	movl	%r12d, %eax
	cltd
	movq	_ATH9K_HW_BIT_IN_SLICE@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%edx, %edi
	callq	_BIT
	orl	%eax, %r13d
	orl	%r14d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_ath9k_hw_common
	movq	_PS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r13d, (%rsp)
	movl	%eax, %edi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	callq	_ath_dbg
	movq	_AR_D_TXBLK_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_REG_WRITE
	incl	%ebx
	cmpl	$10, %ebx
	jne	LBB0_1
## %bb.2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_D_TXBLK_WRITE_COMMAND,4,2   ## @AR_D_TXBLK_WRITE_COMMAND
	.comm	_AR_D_TXBLK_WRITE_DCU,4,2       ## @AR_D_TXBLK_WRITE_DCU
	.comm	_ATH9K_HW_SLICE_PER_DCU,4,2     ## @ATH9K_HW_SLICE_PER_DCU
	.comm	_AR_D_TXBLK_WRITE_SLICE,4,2     ## @AR_D_TXBLK_WRITE_SLICE
	.comm	_ATH9K_HW_BIT_IN_SLICE,4,2      ## @ATH9K_HW_BIT_IN_SLICE
	.comm	_PS,4,2                         ## @PS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DCU%d staid %d set %d txfilter %08x\n"

	.comm	_AR_D_TXBLK_BASE,4,2            ## @AR_D_TXBLK_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_set_tx_filter         ; -- Begin function ath9k_hw_set_tx_filter
	.p2align	2
_ath9k_hw_set_tx_filter:                ; @ath9k_hw_set_tx_filter
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #0
Lloh0:
	adrp	x28, _AR_D_TXBLK_WRITE_SLICE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _AR_D_TXBLK_WRITE_SLICE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _ATH9K_HW_BIT_IN_SLICE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ATH9K_HW_BIT_IN_SLICE@GOTPAGEOFF]
Lloh4:
	adrp	x26, _PS@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PS@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
Lloh8:
	adrp	x27, _AR_D_TXBLK_BASE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _AR_D_TXBLK_BASE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
Lloh10:
	adrp	x8, _AR_D_TXBLK_WRITE_COMMAND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AR_D_TXBLK_WRITE_COMMAND@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SM
	mov	x24, x0
Lloh13:
	adrp	x8, _AR_D_TXBLK_WRITE_DCU@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AR_D_TXBLK_WRITE_DCU@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_SM
	orr	w24, w0, w24
Lloh16:
	adrp	x8, _ATH9K_HW_SLICE_PER_DCU@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ATH9K_HW_SLICE_PER_DCU@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w1, [x28]
	sdiv	w0, w20, w8
	bl	_SM
	orr	w24, w24, w0
	ldr	w8, [x25]
	sdiv	w9, w20, w8
	msub	w0, w9, w8, w20
	bl	_BIT
	orr	w24, w24, w0
	mov	x0, x21
	bl	_ath9k_hw_common
	ldr	w1, [x26]
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	mov	x5, x19
	mov	x6, x24
	bl	_ath_dbg
	ldr	w1, [x27]
	mov	x0, x21
	mov	x2, x24
	bl	_REG_WRITE
	add	w22, w22, #1
	cmp	w22, #10
	b.ne	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_D_TXBLK_WRITE_COMMAND,4,2   ; @AR_D_TXBLK_WRITE_COMMAND
	.comm	_AR_D_TXBLK_WRITE_DCU,4,2       ; @AR_D_TXBLK_WRITE_DCU
	.comm	_ATH9K_HW_SLICE_PER_DCU,4,2     ; @ATH9K_HW_SLICE_PER_DCU
	.comm	_AR_D_TXBLK_WRITE_SLICE,4,2     ; @AR_D_TXBLK_WRITE_SLICE
	.comm	_ATH9K_HW_BIT_IN_SLICE,4,2      ; @ATH9K_HW_BIT_IN_SLICE
	.comm	_PS,4,2                         ; @PS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DCU%d staid %d set %d txfilter %08x\n"

	.comm	_AR_D_TXBLK_BASE,4,2            ; @AR_D_TXBLK_BASE
.subsections_via_symbols
