	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_get_channel_centers   ## -- Begin function ath9k_hw_get_channel_centers
	.p2align	4, 0x90
_ath9k_hw_get_channel_centers:          ## @ath9k_hw_get_channel_centers
	.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, %r14
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_IS_CHAN_HT40
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_CHAN_HT40PLUS
	movq	_HT40_CHANNEL_CENTER_SHIFT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	movq	%rdx, %rsi
	negq	%rsi
	testq	%rax, %rax
	cmovneq	%rdx, %rsi
	addq	(%rbx), %rsi
	movq	%rsi, (%r14)
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	negl	%edx
	testq	%rax, %rax
	cmovnel	%ecx, %edx
	movslq	%edx, %rax
	movq	%rsi, %rcx
	subq	%rax, %rcx
	movq	%rcx, 16(%r14)
	addq	%rax, %rsi
	movq	%rsi, 8(%r14)
	jmp	LBB0_3
LBB0_1:
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	movq	%rax, 8(%r14)
	movq	%rax, 16(%r14)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HT40_CHANNEL_CENTER_SHIFT,4,2  ## @HT40_CHANNEL_CENTER_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_get_channel_centers   ; -- Begin function ath9k_hw_get_channel_centers
	.p2align	2
_ath9k_hw_get_channel_centers:          ; @ath9k_hw_get_channel_centers
	.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, x2
	mov	x20, x1
	mov	x0, x1
	bl	_IS_CHAN_HT40
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_IS_CHAN_HT40PLUS
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _HT40_CHANNEL_CENTER_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HT40_CHANNEL_CENTER_SHIFT@GOTPAGEOFF]
	ldrsw	x10, [x9]
	cmp	x0, #0
	cneg	x10, x10, eq
	add	x8, x8, x10
	str	x8, [x19]
	ldr	w9, [x9]
	cneg	w9, w9, eq
	sxtw	x9, w9
	sub	x10, x8, x9
	add	x8, x8, x9
	stp	x8, x10, [x19, #8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20]
	stp	x8, x8, [x19]
	str	x8, [x19, #16]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HT40_CHANNEL_CENTER_SHIFT,4,2  ; @HT40_CHANNEL_CENTER_SHIFT
.subsections_via_symbols
