	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_hw_init_qos
_ath9k_hw_init_qos:                     ## @ath9k_hw_init_qos
	.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
	callq	_ENABLE_REGWRITE_BUFFER
	movq	_AR_MIC_QOS_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$65706, %edx                    ## imm = 0x100AA
	callq	_REG_WRITE
	movq	_AR_MIC_QOS_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$12816, %edx                    ## imm = 0x3210
	callq	_REG_WRITE
	movq	_AR_QOS_NO_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_AR_QOS_NO_ACK_TWO_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edi
	callq	_SM
	movl	%eax, %ebx
	movq	_AR_QOS_NO_ACK_BIT_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$5, %edi
	callq	_SM
	orl	%eax, %ebx
	movq	_AR_QOS_NO_ACK_BYTE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_SM
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_REG_WRITE
	movq	_AR_TXOP_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_TXOP_X_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_REG_WRITE
	movq	_AR_TXOP_0_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	_AR_TXOP_4_7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	_AR_TXOP_8_11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	_AR_TXOP_12_15@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REGWRITE_BUFFER_FLUSH          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_MIC_QOS_CONTROL,4,2         ## @AR_MIC_QOS_CONTROL
	.comm	_AR_MIC_QOS_SELECT,4,2          ## @AR_MIC_QOS_SELECT
	.comm	_AR_QOS_NO_ACK,4,2              ## @AR_QOS_NO_ACK
	.comm	_AR_QOS_NO_ACK_TWO_BIT,4,2      ## @AR_QOS_NO_ACK_TWO_BIT
	.comm	_AR_QOS_NO_ACK_BIT_OFF,4,2      ## @AR_QOS_NO_ACK_BIT_OFF
	.comm	_AR_QOS_NO_ACK_BYTE_OFF,4,2     ## @AR_QOS_NO_ACK_BYTE_OFF
	.comm	_AR_TXOP_X,4,2                  ## @AR_TXOP_X
	.comm	_AR_TXOP_X_VAL,4,2              ## @AR_TXOP_X_VAL
	.comm	_AR_TXOP_0_3,4,2                ## @AR_TXOP_0_3
	.comm	_AR_TXOP_4_7,4,2                ## @AR_TXOP_4_7
	.comm	_AR_TXOP_8_11,4,2               ## @AR_TXOP_8_11
	.comm	_AR_TXOP_12_15,4,2              ## @AR_TXOP_12_15
	.no_dead_strip	_ath9k_hw_init_qos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_hw_init_qos
_ath9k_hw_init_qos:                     ; @ath9k_hw_init_qos
	.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	x19, x0
	bl	_ENABLE_REGWRITE_BUFFER
Lloh0:
	adrp	x8, _AR_MIC_QOS_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_MIC_QOS_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #170
	movk	w2, #1, lsl #16
	bl	_REG_WRITE
Lloh3:
	adrp	x8, _AR_MIC_QOS_SELECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_MIC_QOS_SELECT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #12816
	bl	_REG_WRITE
Lloh6:
	adrp	x8, _AR_QOS_NO_ACK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR_QOS_NO_ACK@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x8, _AR_QOS_NO_ACK_TWO_BIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_QOS_NO_ACK_TWO_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #2
	bl	_SM
	mov	x21, x0
Lloh12:
	adrp	x8, _AR_QOS_NO_ACK_BIT_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR_QOS_NO_ACK_BIT_OFF@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #5
	bl	_SM
	orr	w21, w0, w21
Lloh15:
	adrp	x8, _AR_QOS_NO_ACK_BYTE_OFF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR_QOS_NO_ACK_BYTE_OFF@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_SM
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_REG_WRITE
Lloh18:
	adrp	x8, _AR_TXOP_X@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR_TXOP_X@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _AR_TXOP_X_VAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AR_TXOP_X_VAL@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_WRITE
Lloh24:
	adrp	x8, _AR_TXOP_0_3@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AR_TXOP_0_3@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
Lloh27:
	adrp	x8, _AR_TXOP_4_7@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR_TXOP_4_7@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
Lloh30:
	adrp	x8, _AR_TXOP_8_11@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AR_TXOP_8_11@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
Lloh33:
	adrp	x8, _AR_TXOP_12_15@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AR_TXOP_12_15@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
	mov	x0, x19
	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
	b	_REGWRITE_BUFFER_FLUSH
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_MIC_QOS_CONTROL,4,2         ; @AR_MIC_QOS_CONTROL
	.comm	_AR_MIC_QOS_SELECT,4,2          ; @AR_MIC_QOS_SELECT
	.comm	_AR_QOS_NO_ACK,4,2              ; @AR_QOS_NO_ACK
	.comm	_AR_QOS_NO_ACK_TWO_BIT,4,2      ; @AR_QOS_NO_ACK_TWO_BIT
	.comm	_AR_QOS_NO_ACK_BIT_OFF,4,2      ; @AR_QOS_NO_ACK_BIT_OFF
	.comm	_AR_QOS_NO_ACK_BYTE_OFF,4,2     ; @AR_QOS_NO_ACK_BYTE_OFF
	.comm	_AR_TXOP_X,4,2                  ; @AR_TXOP_X
	.comm	_AR_TXOP_X_VAL,4,2              ; @AR_TXOP_X_VAL
	.comm	_AR_TXOP_0_3,4,2                ; @AR_TXOP_0_3
	.comm	_AR_TXOP_4_7,4,2                ; @AR_TXOP_4_7
	.comm	_AR_TXOP_8_11,4,2               ; @AR_TXOP_8_11
	.comm	_AR_TXOP_12_15,4,2              ; @AR_TXOP_12_15
	.no_dead_strip	_ath9k_hw_init_qos
.subsections_via_symbols
