	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2800_is_305x_soc
_rt2800_is_305x_soc:                    ## @rt2800_is_305x_soc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_rt2x00_is_soc
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_RT2872@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rt
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	_RF3020@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rf
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_RF3021@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rf
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_RF3022@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2x00_rf
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rt2x00_warn
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT2872,4,2                     ## @RT2872
	.comm	_RF3020,4,2                     ## @RF3020
	.comm	_RF3021,4,2                     ## @RF3021
	.comm	_RF3022,4,2                     ## @RF3022
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown RF chipset on rt305x\n"

	.no_dead_strip	_rt2800_is_305x_soc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2800_is_305x_soc
_rt2800_is_305x_soc:                    ; @rt2800_is_305x_soc
	.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
	bl	_rt2x00_is_soc
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _RT2872@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT2872@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2x00_rt
	cbz	w0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _RF3020@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RF3020@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2x00_rf
	cbnz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _RF3021@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RF3021@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2x00_rf
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _RF3022@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RF3022@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2x00_rf
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_rt2x00_warn
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RT2872,4,2                     ; @RT2872
	.comm	_RF3020,4,2                     ; @RF3020
	.comm	_RF3021,4,2                     ; @RF3021
	.comm	_RF3022,4,2                     ; @RF3022
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown RF chipset on rt305x\n"

	.no_dead_strip	_rt2800_is_305x_soc
.subsections_via_symbols
