	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_phy_set_bw             ## -- Begin function mt76x02_phy_set_bw
	.p2align	4, 0x90
_mt76x02_phy_set_bw:                    ## @mt76x02_phy_set_bw
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_4
## %bb.3:
	movl	$3, %r15d
	movl	$2, %r12d
	jmp	LBB0_5
LBB0_1:
	movl	$7, %r15d
	movl	$3, %r12d
	jmp	LBB0_5
LBB0_4:
	movl	$1, %r15d
	xorl	%r12d, %r12d
LBB0_5:
	movq	_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_MT_BBP
	movq	_MT_BBP_CORE_R1_BW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %ecx
	callq	_mt76_rmw_field
	movq	_AGC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_MT_BBP
	movq	_MT_BBP_AGC_R0_BW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r15d, %ecx
	callq	_mt76_rmw_field
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_MT_BBP
	movq	_MT_BBP_AGC_R0_CTRL_CHAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %ecx
	callq	_mt76_rmw_field
	movq	_TXBE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MT_BBP
	movq	_MT_BBP_TXBE_R0_CTRL_CHAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_rmw_field                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CORE,4,2                       ## @CORE
	.comm	_MT_BBP_CORE_R1_BW,4,2          ## @MT_BBP_CORE_R1_BW
	.comm	_AGC,4,2                        ## @AGC
	.comm	_MT_BBP_AGC_R0_BW,4,2           ## @MT_BBP_AGC_R0_BW
	.comm	_MT_BBP_AGC_R0_CTRL_CHAN,4,2    ## @MT_BBP_AGC_R0_CTRL_CHAN
	.comm	_TXBE,4,2                       ## @TXBE
	.comm	_MT_BBP_TXBE_R0_CTRL_CHAN,4,2   ## @MT_BBP_TXBE_R0_CTRL_CHAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_phy_set_bw             ; -- Begin function mt76x02_phy_set_bw
	.p2align	2
_mt76x02_phy_set_bw:                    ; @mt76x02_phy_set_bw
	.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
	mov	x20, x0
	mov	w8, #7
	mov	w9, #3
	mov	w10, #1
	mov	w11, #3
	mov	w12, #2
	cmp	w1, #129
	csel	w12, wzr, w12, ne
	csel	w10, w10, w11, ne
	cmp	w1, #128
	csel	w21, w9, w12, eq
	csel	w22, w8, w10, eq
Lloh0:
	adrp	x8, _CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CORE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_MT_BBP
	mov	x1, x0
Lloh3:
	adrp	x8, _MT_BBP_CORE_R1_BW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_BBP_CORE_R1_BW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x21
	bl	_mt76_rmw_field
Lloh6:
	adrp	x21, _AGC@GOTPAGE
Lloh7:
	ldr	x21, [x21, _AGC@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #0
	bl	_MT_BBP
	mov	x1, x0
Lloh8:
	adrp	x8, _MT_BBP_AGC_R0_BW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MT_BBP_AGC_R0_BW@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x22
	bl	_mt76_rmw_field
	ldr	w0, [x21]
	mov	w1, #0
	bl	_MT_BBP
	mov	x1, x0
Lloh11:
	adrp	x8, _MT_BBP_AGC_R0_CTRL_CHAN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MT_BBP_AGC_R0_CTRL_CHAN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_mt76_rmw_field
Lloh14:
	adrp	x8, _TXBE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TXBE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MT_BBP
	mov	x1, x0
Lloh17:
	adrp	x8, _MT_BBP_TXBE_R0_CTRL_CHAN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MT_BBP_TXBE_R0_CTRL_CHAN@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, 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	_mt76_rmw_field
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CORE,4,2                       ; @CORE
	.comm	_MT_BBP_CORE_R1_BW,4,2          ; @MT_BBP_CORE_R1_BW
	.comm	_AGC,4,2                        ; @AGC
	.comm	_MT_BBP_AGC_R0_BW,4,2           ; @MT_BBP_AGC_R0_BW
	.comm	_MT_BBP_AGC_R0_CTRL_CHAN,4,2    ; @MT_BBP_AGC_R0_CTRL_CHAN
	.comm	_TXBE,4,2                       ; @TXBE
	.comm	_MT_BBP_TXBE_R0_CTRL_CHAN,4,2   ; @MT_BBP_TXBE_R0_CTRL_CHAN
.subsections_via_symbols
