	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7615_ext_pa_enabled
_mt7615_ext_pa_enabled:                 ## @mt7615_ext_pa_enabled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	movq	_MT_EE_NIC_CONF_1@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_MT_EE_NIC_CONF_TSSI_5G@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MT_EE_NIC_CONF_TSSI_2G@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	xorl	%eax, %eax
	testl	%esi, 4(%rcx,%rdx,4)
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.comm	_MT_EE_NIC_CONF_1,4,2           ## @MT_EE_NIC_CONF_1
	.comm	_MT_EE_NIC_CONF_TSSI_5G,4,2     ## @MT_EE_NIC_CONF_TSSI_5G
	.comm	_MT_EE_NIC_CONF_TSSI_2G,4,2     ## @MT_EE_NIC_CONF_TSSI_2G
	.no_dead_strip	_mt7615_ext_pa_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7615_ext_pa_enabled
_mt7615_ext_pa_enabled:                 ; @mt7615_ext_pa_enabled
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MT_EE_NIC_CONF_1@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MT_EE_NIC_CONF_1@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x10]
	add	x8, x8, x10, lsl #2
	ldr	w8, [x8, #4]
Lloh6:
	adrp	x10, _MT_EE_NIC_CONF_TSSI_5G@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MT_EE_NIC_CONF_TSSI_5G@GOTPAGEOFF]
Lloh8:
	adrp	x11, _MT_EE_NIC_CONF_TSSI_2G@GOTPAGE
Lloh9:
	ldr	x11, [x11, _MT_EE_NIC_CONF_TSSI_2G@GOTPAGEOFF]
	cmp	w9, w1
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.comm	_MT_EE_NIC_CONF_1,4,2           ; @MT_EE_NIC_CONF_1
	.comm	_MT_EE_NIC_CONF_TSSI_5G,4,2     ; @MT_EE_NIC_CONF_TSSI_5G
	.comm	_MT_EE_NIC_CONF_TSSI_2G,4,2     ; @MT_EE_NIC_CONF_TSSI_2G
	.no_dead_strip	_mt7615_ext_pa_enabled
.subsections_via_symbols
