	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_phy_set_band           ## -- Begin function mt76x02_phy_set_band
	.p2align	4, 0x90
_mt76x02_phy_set_band:                  ## @mt76x02_phy_set_band
	.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
	movl	%edx, %r14d
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_4
## %bb.2:
	movq	_MT_TX_BAND_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MT_TX_BAND_CFG_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mt76_set
	movl	(%r15), %esi
	movq	_MT_TX_BAND_CFG_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mt76_clear
	jmp	LBB0_4
LBB0_3:
	movq	_MT_TX_BAND_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MT_TX_BAND_CFG_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mt76_clear
	movl	(%r15), %esi
	movq	_MT_TX_BAND_CFG_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mt76_set
LBB0_4:
	movq	_MT_TX_BAND_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_TX_BAND_CFG_UPPER_40M@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_rmw_field                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_TX_BAND_CFG,4,2             ## @MT_TX_BAND_CFG
	.comm	_MT_TX_BAND_CFG_2G,4,2          ## @MT_TX_BAND_CFG_2G
	.comm	_MT_TX_BAND_CFG_5G,4,2          ## @MT_TX_BAND_CFG_5G
	.comm	_MT_TX_BAND_CFG_UPPER_40M,4,2   ## @MT_TX_BAND_CFG_UPPER_40M
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_phy_set_band           ; -- Begin function mt76x02_phy_set_band
	.p2align	2
_mt76x02_phy_set_band:                  ; @mt76x02_phy_set_band
	.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
Lloh0:
	adrp	x21, _MT_TX_BAND_CFG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MT_TX_BAND_CFG@GOTPAGEOFF]
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _MT_TX_BAND_CFG_2G@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MT_TX_BAND_CFG_2G@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_mt76_set
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _MT_TX_BAND_CFG_5G@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MT_TX_BAND_CFG_5G@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_mt76_clear
	b	LBB0_4
LBB0_3:
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _MT_TX_BAND_CFG_2G@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MT_TX_BAND_CFG_2G@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_mt76_clear
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _MT_TX_BAND_CFG_5G@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MT_TX_BAND_CFG_5G@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_mt76_set
LBB0_4:
Lloh14:
	adrp	x8, _MT_TX_BAND_CFG_UPPER_40M@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT_TX_BAND_CFG_UPPER_40M@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh16:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_TX_BAND_CFG,4,2             ; @MT_TX_BAND_CFG
	.comm	_MT_TX_BAND_CFG_2G,4,2          ; @MT_TX_BAND_CFG_2G
	.comm	_MT_TX_BAND_CFG_5G,4,2          ; @MT_TX_BAND_CFG_5G
	.comm	_MT_TX_BAND_CFG_UPPER_40M,4,2   ; @MT_TX_BAND_CFG_UPPER_40M
.subsections_via_symbols
