	.file	"348024.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	rcsid, @object
	.size	rcsid, 52
rcsid:
	.string	"$Header: verify.c,v 1.1 84/08/25 17:04:58 lai Exp $"
	.section	.rodata
.LC0:
	.string	"???"
.LC1:
	.string	"Request:"
.LC2:
	.string	"%s \"%s\" (%s) port #%d on %s\n"
	.text
	.globl	verify
	.type	verify, @function
verify:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rbx, rdi
	test	rbx, rbx
	jne	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	eax, DWORD PTR 4[rbx]
	mov	edi, eax
	mov	eax, 0
	call	inet_ntoa@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR 4[rbx]
	mov	edi, eax
	mov	eax, 0
	call	gethname
	mov	QWORD PTR -24[rbp], rax
	mov	eax, 0
	call	curtime@PLT
	mov	r12, rax
	movzx	eax, WORD PTR 2[rbx]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ecx, ax
	cmp	QWORD PTR -32[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L5
.L4:
	lea	rax, .LC0[rip]
.L5:
	mov	rdx, QWORD PTR -24[rbp]
	mov	r9, r12
	mov	r8d, ecx
	mov	rcx, rax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	syslog@PLT
	movzx	eax, WORD PTR [rbx]
	cmp	ax, 2
	je	.L6
	mov	eax, 0
	jmp	.L3
.L6:
	mov	eax, 1
.L3:
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	verify, .-verify
	.section	.rodata
.LC3:
	.string	"gethostbyaddr: 0x%x"
	.text
	.globl	gethname
	.type	gethname, @function
gethname:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rax, -24[rbp]
	mov	edx, 2
	mov	esi, 8
	mov	rdi, rax
	call	gethostbyaddr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	syserr@PLT
	lea	rax, bad.0[rip]
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gethname, .-gethname
	.data
	.type	bad.0, @object
	.size	bad.0, 4
bad.0:
	.string	"???"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"348024.c"
	.text
	.data
	.align	2
	.type	rcsid, %object
	.size	rcsid, 52
rcsid:
	.ascii	"$Header: verify.c,v 1.1 84/08/25 17:04:58 lai Exp $"
	.ascii	"\000"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"???\000"
	.align	2
.LC1:
	.ascii	"Request:\000"
	.align	2
.LC2:
	.ascii	"%s \"%s\" (%s) port #%d on %s\012\000"
	.text
	.align	2
	.global	verify
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify, %function
verify:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	mov	r4, r0
	cmp	r4, #0
	bne	.L2
	mov	r3, #0
	b	.L3
.L2:
	ldr	r3, [r4, #4]
	mov	r0, r3
	bl	inet_ntoa
	str	r0, [fp, #-28]
	ldr	r3, [r4, #4]
	mov	r0, r3
	bl	gethname
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L4
	ldr	r5, [fp, #-28]
	b	.L5
.L4:
	ldr	r5, .L7
.L5:
	ldrh	r3, [r4, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r6, r3
	bl	curtime
	mov	r3, r0
	str	r3, [sp, #4]
	str	r6, [sp]
	mov	r3, r5
	ldr	r2, [fp, #-24]
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	bl	syslog
	ldrh	r3, [r4]
	cmp	r3, #2
	beq	.L6
	mov	r3, #0
	b	.L3
.L6:
	mov	r3, #1
.L3:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	verify, .-verify
	.section	.rodata
	.align	2
.LC3:
	.ascii	"gethostbyaddr: 0x%x\000"
	.text
	.align	2
	.global	gethname
	.syntax unified
	.arm
	.fpu softvfp
	.type	gethname, %function
gethname:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	sub	r3, fp, #16
	mov	r2, #2
	mov	r1, #4
	mov	r0, r3
	bl	gethostbyaddr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L12
	bl	syserr
	ldr	r3, .L12+4
	b	.L11
.L10:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	bad.5443
	.size	gethname, .-gethname
	.data
	.align	2
	.type	bad.5443, %object
	.size	bad.5443, 4
bad.5443:
	.ascii	"???\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
