	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_set11nmac2040         ## -- Begin function ath9k_hw_set11nmac2040
	.p2align	4, 0x90
_ath9k_hw_set11nmac2040:                ## @ath9k_hw_set11nmac2040
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_IS_CHAN_HT40
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.2:
	movq	_AR_2040_JOINED_RX_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_5
LBB0_4:
	xorl	%edx, %edx
LBB0_5:
	movq	_AR_2040_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_2040_JOINED_RX_CLEAR,8,3    ## @AR_2040_JOINED_RX_CLEAR
	.comm	_AR_2040_MODE,4,2               ## @AR_2040_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_set11nmac2040         ; -- Begin function ath9k_hw_set11nmac2040
	.p2align	2
_ath9k_hw_set11nmac2040:                ; @ath9k_hw_set11nmac2040
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_IS_CHAN_HT40
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _AR_2040_JOINED_RX_CLEAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AR_2040_JOINED_RX_CLEAR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	w8, #0
	csel	x2, x9, xzr, eq
	b	LBB0_3
LBB0_2:
	mov	x2, #0
LBB0_3:
Lloh3:
	adrp	x8, _AR_2040_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_2040_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_WRITE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_2040_JOINED_RX_CLEAR,8,3    ; @AR_2040_JOINED_RX_CLEAR
	.comm	_AR_2040_MODE,4,2               ; @AR_2040_MODE
.subsections_via_symbols
