	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_rfkill_poll             ## -- Begin function rt2800_rfkill_poll
	.p2align	4, 0x90
_rt2800_rfkill_poll:                    ## @rt2800_rfkill_poll
	.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, %r14
	movq	_RT3290@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2x00_rt
	testq	%rax, %rax
	movq	_WLAN_FUN_CTRL@GOTPCREL(%rip), %rax
	cmoveq	_GPIO_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WLAN_GPIO_IN_BIT0@GOTPCREL(%rip), %rbx
	cmoveq	_GPIO_CTRL_VAL2@GOTPCREL(%rip), %rbx
	movq	%r14, %rdi
	callq	_rt2800_register_read
	movl	(%rbx), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rt2x00_get_field32             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RT3290,4,2                     ## @RT3290
	.comm	_WLAN_FUN_CTRL,4,2              ## @WLAN_FUN_CTRL
	.comm	_WLAN_GPIO_IN_BIT0,4,2          ## @WLAN_GPIO_IN_BIT0
	.comm	_GPIO_CTRL,4,2                  ## @GPIO_CTRL
	.comm	_GPIO_CTRL_VAL2,4,2             ## @GPIO_CTRL_VAL2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_rfkill_poll             ; -- Begin function rt2800_rfkill_poll
	.p2align	2
_rt2800_rfkill_poll:                    ; @rt2800_rfkill_poll
	.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
Lloh0:
	adrp	x8, _RT3290@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT3290@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2x00_rt
Lloh3:
	adrp	x8, _GPIO_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_CTRL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _WLAN_FUN_CTRL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WLAN_FUN_CTRL@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _GPIO_CTRL_VAL2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GPIO_CTRL_VAL2@GOTPAGEOFF]
Lloh9:
	adrp	x9, _WLAN_GPIO_IN_BIT0@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WLAN_GPIO_IN_BIT0@GOTPAGEOFF]
	csel	x20, x8, x9, eq
	mov	x0, x19
	bl	_rt2800_register_read
	ldr	w1, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rt2x00_get_field32
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RT3290,4,2                     ; @RT3290
	.comm	_WLAN_FUN_CTRL,4,2              ; @WLAN_FUN_CTRL
	.comm	_WLAN_GPIO_IN_BIT0,4,2          ; @WLAN_GPIO_IN_BIT0
	.comm	_GPIO_CTRL,4,2                  ; @GPIO_CTRL
	.comm	_GPIO_CTRL_VAL2,4,2             ; @GPIO_CTRL_VAL2
.subsections_via_symbols
