	.file	"extr_rtl8366_mii.c_rtl8366s_setGreenFeature.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rtl8366s_setGreenFeature
	.type	rtl8366s_setGreenFeature, @function
rtl8366s_setGreenFeature:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, edi
	mov	r12d, esi
	mov	edi, DWORD PTR RTL8366S_GREEN_FEATURE_REG[rip]
	mov	esi, DWORD PTR RTL8366S_GREEN_FEATURE_TX_BIT[rip]
	call	rtl8366_setRegisterBit@PLT
	test	rax, rax
	jne	.L3
	mov	esi, DWORD PTR RTL8366S_GREEN_FEATURE_RX_BIT[rip]
	mov	edi, DWORD PTR RTL8366S_GREEN_FEATURE_REG[rip]
	mov	edx, r12d
	call	rtl8366_setRegisterBit@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
	neg	eax
.L1:
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rtl8366s_setGreenFeature, .-rtl8366s_setGreenFeature
	.comm	RTL8366S_GREEN_FEATURE_TX_BIT,4,4
	.comm	RTL8366S_GREEN_FEATURE_RX_BIT,4,4
	.comm	RTL8366S_GREEN_FEATURE_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rtl8366_mii.c_rtl8366s_setGreenFeature.c"
	.text
	.align	2
	.global	rtl8366s_setGreenFeature
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl8366s_setGreenFeature, %function
rtl8366s_setGreenFeature:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r5, .L6
	ldr	r1, .L6+4
	mov	r2, r0
	ldr	r1, [r1]
	ldr	r0, [r5]
	bl	rtl8366_setRegisterBit
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L6+8
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	rtl8366_setRegisterBit
	subs	r0, r0, #0
	movne	r0, #1
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	RTL8366S_GREEN_FEATURE_REG
	.word	RTL8366S_GREEN_FEATURE_TX_BIT
	.word	RTL8366S_GREEN_FEATURE_RX_BIT
	.size	rtl8366s_setGreenFeature, .-rtl8366s_setGreenFeature
	.comm	RTL8366S_GREEN_FEATURE_TX_BIT,4,4
	.comm	RTL8366S_GREEN_FEATURE_RX_BIT,4,4
	.comm	RTL8366S_GREEN_FEATURE_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
