	.file	"extr_rtl871x_ioctl_rtl.c_oid_rt_get_rx_total_packet_hdl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	oid_rt_get_rx_total_packet_hdl
	.type	oid_rt_get_rx_total_packet_hdl, @function
oid_rt_get_rx_total_packet_hdl:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR QUERY_OID[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L2
	mov	eax, DWORD PTR RNDIS_STATUS_NOT_ACCEPTED[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, DWORD PTR 8[rdi]
	mov	eax, DWORD PTR RNDIS_STATUS_INVALID_LENGTH[rip]
	cmp	edx, 7
	jbe	.L1
	mov	rcx, QWORD PTR 32[rdi]
	mov	rsi, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR [rcx]
	add	rax, QWORD PTR 8[rcx]
	mov	QWORD PTR [rsi], rax
	mov	rax, QWORD PTR 16[rdi]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR RNDIS_STATUS_SUCCESS[rip]
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	oid_rt_get_rx_total_packet_hdl, .-oid_rt_get_rx_total_packet_hdl
	.comm	RNDIS_STATUS_SUCCESS,4,4
	.comm	RNDIS_STATUS_NOT_ACCEPTED,4,4
	.comm	RNDIS_STATUS_INVALID_LENGTH,4,4
	.comm	QUERY_OID,8,8
	.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_rtl871x_ioctl_rtl.c_oid_rt_get_rx_total_packet_hdl.c"
	.text
	.align	2
	.global	oid_rt_get_rx_total_packet_hdl
	.syntax unified
	.arm
	.fpu softvfp
	.type	oid_rt_get_rx_total_packet_hdl, %function
oid_rt_get_rx_total_packet_hdl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L6
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L6+4
	ldr	r0, [r3]
	bx	lr
.L2:
	ldr	r3, [r0, #4]
	cmp	r3, #3
	bls	.L4
	ldr	r1, [r0, #16]
	ldr	ip, [r0, #12]
	ldr	r0, [r0, #8]
	ldm	r1, {r1, r2}
	add	r2, r2, r1
	ldr	r1, .L6+8
	str	r2, [ip]
	str	r3, [r0]
	ldr	r0, [r1]
	bx	lr
.L4:
	ldr	r3, .L6+12
	ldr	r0, [r3]
	bx	lr
.L7:
	.align	2
.L6:
	.word	QUERY_OID
	.word	RNDIS_STATUS_NOT_ACCEPTED
	.word	RNDIS_STATUS_SUCCESS
	.word	RNDIS_STATUS_INVALID_LENGTH
	.size	oid_rt_get_rx_total_packet_hdl, .-oid_rt_get_rx_total_packet_hdl
	.comm	RNDIS_STATUS_SUCCESS,4,4
	.comm	RNDIS_STATUS_NOT_ACCEPTED,4,4
	.comm	RNDIS_STATUS_INVALID_LENGTH,4,4
	.comm	QUERY_OID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
