	.file	"extr_b53_common.c_b53_phylink_mac_link_down.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	b53_phylink_mac_link_down
	.type	b53_phylink_mac_link_down, @function
b53_phylink_mac_link_down:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR MLO_AN_PHY[rip], edx
	je	.L13
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	DWORD PTR MLO_AN_FIXED[rip], edx
	mov	r14, QWORD PTR [rdi]
	je	.L17
	mov	edi, ecx
	mov	r13d, ecx
	call	phy_interface_mode_is_8023z@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR [r14]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, ebp
	mov	rdi, r14
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 32
	xor	r8d, r8d
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r14
	xor	edx, edx
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 8
	jmp	b53_force_link@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	ret
	.cfi_endproc
.LFE0:
	.size	b53_phylink_mac_link_down, .-b53_phylink_mac_link_down
	.comm	MLO_AN_PHY,4,4
	.comm	MLO_AN_FIXED,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_b53_common.c_b53_phylink_mac_link_down.c"
	.text
	.align	2
	.global	b53_phylink_mac_link_down
	.syntax unified
	.arm
	.fpu softvfp
	.type	b53_phylink_mac_link_down, %function
b53_phylink_mac_link_down:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r2, .L15
	sub	sp, sp, #8
	ldr	r2, [r2]
	cmp	r2, r4
	beq	.L1
	mov	r6, r3
	ldr	r3, .L15+4
	ldr	r7, [r0]
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L14
	mov	r0, r6
	mov	r5, r1
	bl	phy_interface_mode_is_8023z
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r7]
	ldr	r8, [r3]
	cmp	r8, #0
	beq	.L1
	mov	ip, #0
	mov	r3, r6
	mov	r2, r4
	mov	r1, r5
	mov	r0, r7
	str	ip, [sp]
	blx	r8
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r0, r7
	mov	r2, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	b53_force_link
.L16:
	.align	2
.L15:
	.word	MLO_AN_PHY
	.word	MLO_AN_FIXED
	.size	b53_phylink_mac_link_down, .-b53_phylink_mac_link_down
	.comm	MLO_AN_PHY,4,4
	.comm	MLO_AN_FIXED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
