	.file	"extr_pktgen.c_pktgen_dev_get_by_name.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pktgen_dev_get_by_name, @function
pktgen_dev_get_by_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	r10d, DWORD PTR IFNAMSIZ[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, rsp
	lea	eax, 5[r10]
	cdqe
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L16
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L17
.L4:
	movzx	edx, BYTE PTR [rsi]
	mov	r9, rsp
	test	r10d, r10d
	je	.L8
	cmp	dl, 64
	je	.L8
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	BYTE PTR -1[r9+rax], dl
	movzx	edx, BYTE PTR [rsi+rax]
	cmp	r10d, eax
	movsx	r8, eax
	sete	dil
	cmp	dl, 64
	sete	cl
	add	rax, 1
	or	dil, cl
	je	.L6
.L5:
	mov	BYTE PTR [r9+r8], 0
	mov	rsi, r9
	lea	rdi, init_net[rip]
	call	dev_get_by_name@PLT
	mov	rsi, QWORD PTR -8[rbp]
	xor	rsi, QWORD PTR fs:40
	jne	.L18
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L8:
	xor	r8d, r8d
	jmp	.L5
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pktgen_dev_get_by_name, .-pktgen_dev_get_by_name
	.comm	init_net,4,4
	.comm	IFNAMSIZ,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_pktgen.c_pktgen_dev_get_by_name.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pktgen_dev_get_by_name, %function
pktgen_dev_get_by_name:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldrb	r2, [r1]	@ zero_extendqisi2
	mov	r0, r1
	sub	r3, r2, #64
	clz	r3, r3
	ldr	r1, .L11
	lsr	r3, r3, #5
	ldr	lr, [r1]
	ldr	r1, .L11+4
	cmp	lr, #0
	moveq	r3, #1
	ldr	r1, [r1]
	str	r1, [fp, #-8]
	mov	r1,#0
	add	r1, lr, #12
	bic	r1, r1, #7
	sub	sp, sp, r1
	cmp	r3, #0
	mov	r1, sp
	bne	.L5
	sub	ip, sp, #1
.L3:
	strb	r2, [ip, #1]!
	ldrb	r2, [r0, #1]!	@ zero_extendqisi2
	add	r3, r3, #1
	cmp	r2, #64
	cmpne	lr, r3
	bne	.L3
.L2:
	mov	r2, #0
	ldr	r0, .L11+8
	strb	r2, [r1, r3]
	bl	dev_get_by_name
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	mov	r3, #0
	b	.L2
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	IFNAMSIZ
	.word	.LC0
	.word	init_net
	.size	pktgen_dev_get_by_name, .-pktgen_dev_get_by_name
	.comm	init_net,4,4
	.comm	IFNAMSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
