	.file	"extr_e1000_manage.c_e1000_enable_mng_pass_thru.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"e1000_enable_mng_pass_thru"
	.text
	.p2align 4
	.globl	e1000_enable_mng_pass_thru
	.type	e1000_enable_mng_pass_thru, @function
e1000_enable_mng_pass_thru:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	DEBUGFUNC@PLT
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	jne	.L2
.L12:
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L20
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR E1000_MANC[rip]
	mov	rdi, rbp
	call	E1000_READ_REG@PLT
	test	DWORD PTR E1000_MANC_RCV_TCO_EN[rip], eax
	je	.L12
	cmp	QWORD PTR 8[rbp], 0
	jne	.L21
	mov	rdx, QWORD PTR 0[rbp]
	cmp	rdx, QWORD PTR e1000_82574[rip]
	je	.L7
	cmp	rdx, QWORD PTR e1000_82583[rip]
	je	.L7
	test	DWORD PTR E1000_MANC_SMBUS_EN[rip], eax
	je	.L12
	test	DWORD PTR E1000_MANC_ASF_EN[rip], eax
	jne	.L12
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR E1000_FACTPS[rip]
	mov	rdi, rbp
	call	E1000_READ_REG@PLT
	mov	esi, DWORD PTR NVM_INIT_CONTROL2_REG[rip]
	lea	rcx, 4[rsp]
	mov	rdi, rbp
	mov	edx, 1
	mov	ebx, eax
	call	e1000_read_nvm@PLT
	test	rax, rax
	jne	.L12
	test	DWORD PTR E1000_FACTPS_MNGCG[rip], ebx
	jne	.L12
	mov	eax, DWORD PTR e1000_mng_mode_pt[rip]
	mov	edx, DWORD PTR 4[rsp]
	and	edx, DWORD PTR E1000_NVM_INIT_CTRL2_MNGM[rip]
	sal	eax, 13
	cmp	edx, eax
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, DWORD PTR E1000_FWSM[rip]
	mov	rdi, rbp
	call	E1000_READ_REG@PLT
	mov	esi, DWORD PTR E1000_FACTPS[rip]
	mov	rdi, rbp
	mov	ebx, eax
	call	E1000_READ_REG@PLT
	test	DWORD PTR E1000_FACTPS_MNGCG[rip], eax
	jne	.L12
	mov	eax, DWORD PTR E1000_FWSM_MODE_MASK[rip]
	mov	ecx, DWORD PTR E1000_FWSM_MODE_SHIFT[rip]
	mov	edx, DWORD PTR e1000_mng_mode_pt[rip]
	and	eax, ebx
	sal	edx, cl
	cmp	eax, edx
	jne	.L12
	jmp	.L18
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	e1000_enable_mng_pass_thru, .-e1000_enable_mng_pass_thru
	.comm	e1000_mng_mode_pt,4,4
	.comm	e1000_82583,8,8
	.comm	e1000_82574,8,8
	.comm	TRUE,4,4
	.comm	NVM_INIT_CONTROL2_REG,4,4
	.comm	FALSE,4,4
	.comm	E1000_NVM_INIT_CTRL2_MNGM,4,4
	.comm	E1000_MANC_SMBUS_EN,4,4
	.comm	E1000_MANC_RCV_TCO_EN,4,4
	.comm	E1000_MANC_ASF_EN,4,4
	.comm	E1000_MANC,4,4
	.comm	E1000_FWSM_MODE_SHIFT,4,4
	.comm	E1000_FWSM_MODE_MASK,4,4
	.comm	E1000_FWSM,4,4
	.comm	E1000_FACTPS_MNGCG,4,4
	.comm	E1000_FACTPS,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_e1000_manage.c_e1000_enable_mng_pass_thru.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"e1000_enable_mng_pass_thru\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	e1000_enable_mng_pass_thru
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_enable_mng_pass_thru, %function
e1000_enable_mng_pass_thru:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L22
	sub	sp, sp, #8
	ldr	r0, .L22+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	DEBUGFUNC
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L2
.L12:
	ldr	r3, .L22+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L2:
	ldr	r3, .L22+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	E1000_READ_REG
	ldr	r3, .L22+16
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L12
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L21
	ldr	r2, .L22+20
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L7
	ldr	r2, .L22+24
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L7
	ldr	r3, .L22+28
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L12
	ldr	r3, .L22+32
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L12
	b	.L18
.L7:
	ldr	r3, .L22+36
	mov	r0, r4
	ldr	r1, [r3]
	bl	E1000_READ_REG
	mov	ip, r0
	ldr	r3, .L22+40
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #1
	mov	r3, sp
	mov	r4, ip
	bl	e1000_read_nvm
	cmp	r0, #0
	bne	.L12
	ldr	r3, .L22+44
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L12
	ldr	r3, .L22+48
	ldr	r2, .L22+52
	ldr	r1, [r3]
	ldr	r3, [sp]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r3, r2, lsl #13
	bne	.L12
.L18:
	ldr	r3, .L22+56
	ldr	r0, [r3]
	b	.L1
.L21:
	ldr	r3, .L22+60
	mov	r0, r4
	ldr	r1, [r3]
	bl	E1000_READ_REG
	mov	r3, r0
	ldr	r2, .L22+36
	mov	r0, r4
	ldr	r1, [r2]
	mov	r4, r3
	bl	E1000_READ_REG
	ldr	r3, .L22+44
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L12
	ldr	r1, .L22+64
	ldr	r2, .L22+52
	ldr	r3, .L22+68
	ldr	r0, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	and	r0, r0, r4
	cmp	r0, r2, lsl r3
	bne	.L12
	b	.L18
.L20:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC1
	.word	.LC0
	.word	FALSE
	.word	E1000_MANC
	.word	E1000_MANC_RCV_TCO_EN
	.word	e1000_82574
	.word	e1000_82583
	.word	E1000_MANC_SMBUS_EN
	.word	E1000_MANC_ASF_EN
	.word	E1000_FACTPS
	.word	NVM_INIT_CONTROL2_REG
	.word	E1000_FACTPS_MNGCG
	.word	E1000_NVM_INIT_CTRL2_MNGM
	.word	e1000_mng_mode_pt
	.word	TRUE
	.word	E1000_FWSM
	.word	E1000_FWSM_MODE_MASK
	.word	E1000_FWSM_MODE_SHIFT
	.size	e1000_enable_mng_pass_thru, .-e1000_enable_mng_pass_thru
	.comm	e1000_mng_mode_pt,4,4
	.comm	e1000_82583,4,4
	.comm	e1000_82574,4,4
	.comm	TRUE,4,4
	.comm	NVM_INIT_CONTROL2_REG,4,4
	.comm	FALSE,4,4
	.comm	E1000_NVM_INIT_CTRL2_MNGM,4,4
	.comm	E1000_MANC_SMBUS_EN,4,4
	.comm	E1000_MANC_RCV_TCO_EN,4,4
	.comm	E1000_MANC_ASF_EN,4,4
	.comm	E1000_MANC,4,4
	.comm	E1000_FWSM_MODE_SHIFT,4,4
	.comm	E1000_FWSM_MODE_MASK,4,4
	.comm	E1000_FWSM,4,4
	.comm	E1000_FACTPS_MNGCG,4,4
	.comm	E1000_FACTPS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
