	.file	"extr_dhclient.c_findproto.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	findproto
	.type	findproto, @function
findproto:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	je	.L20
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, 32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, 1
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	.p2align 4,,10
	.p2align 3
.L7:
	test	r13d, ebx
	je	.L4
	cmp	ebx, 128
	je	.L5
	lea	eax, -130[rbx]
	cmp	eax, 2
	ja	.L6
.L5:
	mov	edx, DWORD PTR [r12]
	mov	eax, DWORD PTR AF_INET[rip]
	cmp	edx, eax
	je	.L1
	mov	eax, DWORD PTR AF_INET6[rip]
	cmp	edx, eax
	je	.L1
.L6:
	mov	rsi, r12
	mov	rdi, r12
	call	ADVANCE@PLT
.L4:
	add	ebx, ebx
	sub	ebp, 1
	jne	.L7
	mov	eax, -1
.L1:
	add	rsp, 8
	.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
.L20:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	mov	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	findproto, .-findproto
	.comm	AF_INET6,4,4
	.comm	AF_INET,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_dhclient.c_findproto.c"
	.text
	.align	2
	.global	findproto
	.syntax unified
	.arm
	.fpu softvfp
	.type	findproto, %function
findproto:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r7, r1, #0
	beq	.L8
	mov	r6, r0
	mov	r5, #32
	mov	r4, #1
	ldr	r8, .L18
	ldr	r9, .L18+4
.L7:
	tst	r7, r4
	beq	.L4
	cmp	r4, #128
	sub	r3, r4, #130
	beq	.L5
	cmp	r3, #2
	bhi	.L6
.L5:
	ldr	r3, [r6]
	ldr	r0, [r8]
	cmp	r3, r0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r0, [r9]
	cmp	r3, r0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r1, r6
	mov	r0, r6
	bl	ADVANCE
.L4:
	subs	r5, r5, #1
	lsl	r4, r4, #1
	bne	.L7
.L8:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	.align	2
.L18:
	.word	AF_INET
	.word	AF_INET6
	.size	findproto, .-findproto
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
