	.file	"extr_hns_ae_adapt.c_hns_ae_config_loopback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hns_ae_config_loopback, @function
hns_ae_config_loopback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	hns_ae_get_vf_cb@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	hns_get_mac_cb@PLT
	cmp	ebx, 129
	je	.L5
	cmp	ebx, 130
	je	.L3
	mov	rdx, rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	cmp	ebx, 128
	je	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdx]
	xor	esi, esi
	test	r13d, r13d
	mov	edi, DWORD PTR [r12]
	setne	sil
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR [r12]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edx, r13d
	mov	esi, 130
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	hns_mac_config_mac_loopback@PLT
	.cfi_endproc
.LFE0:
	.size	hns_ae_config_loopback, .-hns_ae_config_loopback
	.comm	EINVAL,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_hns_ae_adapt.c_hns_ae_config_loopback.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hns_ae_config_loopback, %function
hns_ae_config_loopback:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	mov	r6, r2
	bl	hns_ae_get_vf_cb
	mov	r3, r0
	mov	r0, r5
	mov	r5, r3
	bl	hns_get_mac_cb
	cmp	r4, #129
	beq	.L5
	cmp	r4, #130
	beq	.L3
	cmp	r4, #128
	beq	.L8
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, [r0]
	subs	r1, r6, #0
	ldr	r3, [r3]
	ldr	r0, [r5]
	movne	r1, #1
	pop	{r4, r5, r6, lr}
	ldr	r3, [r3]
	bx	r3
.L3:
	mov	r2, r6
	mov	r1, r4
	ldr	r0, [r5]
	pop	{r4, r5, r6, lr}
	b	hns_mac_config_mac_loopback
.L10:
	.align	2
.L9:
	.word	EINVAL
	.size	hns_ae_config_loopback, .-hns_ae_config_loopback
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
