	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9002_hw_get_radiorev
_ar9002_hw_get_radiorev:                ## @ar9002_hw_get_radiorev
	.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
	callq	_ENABLE_REGWRITE_BUFFER
	movl	$54, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$28760, %edx                    ## imm = 0x7058
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movl	$32, %edi
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WRITE
	movq	%rbx, %rdi
	callq	_REGWRITE_BUFFER_FLUSH
	movl	$256, %edi                      ## imm = 0x100
	callq	_AR_PHY
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_REG_READ
	movl	%eax, %edi
	shrl	$28, %edi
	shrl	$20, %eax
	andl	$240, %eax
	orl	%eax, %edi
	movl	$8, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ath9k_hw_reverse_bits          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ar9002_hw_get_radiorev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9002_hw_get_radiorev
_ar9002_hw_get_radiorev:                ; @ar9002_hw_get_radiorev
	.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
	bl	_ENABLE_REGWRITE_BUFFER
	mov	w0, #54
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #28760
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	w0, #32
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65536
	bl	_REG_WRITE
	mov	x0, x19
	bl	_REGWRITE_BUFFER_FLUSH
	mov	w0, #256
	bl	_AR_PHY
	mov	x1, x0
	mov	x0, x19
	bl	_REG_READ
	lsr	w8, w0, #20
	and	w8, w8, #0xf0
	bfxil	w8, w0, #28, #4
	mov	x0, x8
	mov	w1, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath9k_hw_reverse_bits
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ar9002_hw_get_radiorev
.subsections_via_symbols
