	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_get_txpower               ## -- Begin function mt76_get_txpower
	.p2align	4, 0x90
_mt76_get_txpower:                      ## @mt76_get_txpower
	.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	%rdx, %r14
	movq	(%rdi), %r15
	movl	4(%r15), %edi
	callq	_hweight8
	movl	%eax, %ebx
	movl	(%r15), %edi
	movl	$2, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, (%r14)
	addl	$-2, %ebx
	cmpl	$2, %ebx
	ja	LBB0_2
## %bb.1:
	movslq	%ebx, %rcx
	leaq	l_switch.table.mt76_get_txpower(%rip), %rdx
	addl	(%rdx,%rcx,4), %eax
	movl	%eax, (%r14)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.mt76_get_txpower
l_switch.table.mt76_get_txpower:
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	6                               ## 0x6

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_get_txpower               ; -- Begin function mt76_get_txpower
	.p2align	2
_mt76_get_txpower:                      ; @mt76_get_txpower
	.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, x2
	ldr	x21, [x0]
	ldr	w0, [x21, #4]
	bl	_hweight8
	mov	x20, x0
	ldr	w0, [x21]
	mov	w1, #2
	bl	_DIV_ROUND_UP
	str	w0, [x19]
	sub	w8, w20, #2
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.mt76_get_txpower@PAGE
Lloh1:
	add	x9, x9, l_switch.table.mt76_get_txpower@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	add	w8, w0, w8
	str	w8, [x19]
LBB0_2:
	mov	w0, #0
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.mt76_get_txpower
l_switch.table.mt76_get_txpower:
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	6                               ; 0x6

.subsections_via_symbols
