	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800pci_get_firmware_name
_rt2800pci_get_firmware_name:           ## @rt2800pci_get_firmware_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RT3290@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2x00_rt
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_FIRMWARE_RT2860@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_FIRMWARE_RT3290@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT3290,4,2                     ## @RT3290
	.comm	_FIRMWARE_RT3290,8,3            ## @FIRMWARE_RT3290
	.comm	_FIRMWARE_RT2860,8,3            ## @FIRMWARE_RT2860
	.no_dead_strip	_rt2800pci_get_firmware_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2800pci_get_firmware_name
_rt2800pci_get_firmware_name:           ; @rt2800pci_get_firmware_name
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _RT3290@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT3290@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2x00_rt
Lloh3:
	adrp	x8, _FIRMWARE_RT2860@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIRMWARE_RT2860@GOTPAGEOFF]
Lloh5:
	adrp	x9, _FIRMWARE_RT3290@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FIRMWARE_RT3290@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RT3290,4,2                     ; @RT3290
	.comm	_FIRMWARE_RT3290,8,3            ; @FIRMWARE_RT3290
	.comm	_FIRMWARE_RT2860,8,3            ; @FIRMWARE_RT2860
	.no_dead_strip	_rt2800pci_get_firmware_name
.subsections_via_symbols
