	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7615_eeprom_parse_hw_cap
_mt7615_eeprom_parse_hw_cap:            ## @mt7615_eeprom_parse_hw_cap
	.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
	movq	8(%rdi), %rax
	movq	_MT_EE_NIC_WIFI_CONF_BAND_SEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_MT_EE_WIFI_CONF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_FIELD_GET
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movl	$1, (%rbx)
	jmp	LBB0_5
LBB0_3:
	movl	$1, 4(%rbx)
	jmp	LBB0_5
LBB0_4:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_EE_NIC_WIFI_CONF_BAND_SEL,4,2 ## @MT_EE_NIC_WIFI_CONF_BAND_SEL
	.comm	_MT_EE_WIFI_CONF,8,3            ## @MT_EE_WIFI_CONF
	.no_dead_strip	_mt7615_eeprom_parse_hw_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7615_eeprom_parse_hw_cap
_mt7615_eeprom_parse_hw_cap:            ; @mt7615_eeprom_parse_hw_cap
	.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
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _MT_EE_NIC_WIFI_CONF_BAND_SEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MT_EE_NIC_WIFI_CONF_BAND_SEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _MT_EE_WIFI_CONF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MT_EE_WIFI_CONF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	bl	_FIELD_GET
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_5
LBB0_3:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_5
LBB0_4:
	movi.2s	v0, #1
	str	d0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_EE_NIC_WIFI_CONF_BAND_SEL,4,2 ; @MT_EE_NIC_WIFI_CONF_BAND_SEL
	.comm	_MT_EE_WIFI_CONF,8,3            ; @MT_EE_WIFI_CONF
	.no_dead_strip	_mt7615_eeprom_parse_hw_cap
.subsections_via_symbols
