	.file	"911501.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: yppoll [-h host] [-d domainname] mapname\n"
	.text
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC1:
	.string	"localhost"
.LC2:
	.string	"h:d:"
.LC3:
	.string	"no such map %s. Reason: %s"
	.align 8
.LC4:
	.string	"Map %s has order number %d. %s"
.LC5:
	.string	"The master server is %s.\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	yp_get_default_domain@PLT
	jmp	.L3
.L6:
	cmp	DWORD PTR -48[rbp], 104
	je	.L4
	cmp	DWORD PTR -48[rbp], 104
	jg	.L3
	cmp	DWORD PTR -48[rbp], 63
	je	.L5
	cmp	DWORD PTR -48[rbp], 100
	jne	.L3
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L3
.L4:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L3
.L5:
	call	usage
.L3:
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	lea	rdx, .LC2[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], -1
	jne	.L6
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	cmp	DWORD PTR -68[rbp], eax
	je	.L7
	call	usage
.L7:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -52[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	yp_order@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	je	.L8
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	yperr_string@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L8:
	lea	rax, -52[rbp]
	mov	rdi, rax
	call	ctime@PLT
	mov	rcx, rax
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -32[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	yp_master@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	je	.L9
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	yperr_string@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L9:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"911501.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: yppoll [-h host] [-d domainname] mapname\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"localhost\000"
	.align	2
.LC2:
	.ascii	"h:d:\000"
	.align	2
.LC3:
	.ascii	"no such map %s. Reason: %s\000"
	.align	2
.LC4:
	.ascii	"Map %s has order number %d. %s\000"
	.align	2
.LC5:
	.ascii	"The master server is %s.\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L13+4
	str	r3, [fp, #-32]
	sub	r3, fp, #44
	mov	r0, r3
	bl	yp_get_default_domain
	b	.L5
.L8:
	ldr	r3, [fp, #-28]
	cmp	r3, #104
	beq	.L6
	ldr	r3, [fp, #-28]
	cmp	r3, #104
	bgt	.L5
	ldr	r3, [fp, #-28]
	cmp	r3, #63
	beq	.L7
	ldr	r3, [fp, #-28]
	cmp	r3, #100
	bne	.L5
	ldr	r3, .L13+8
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	b	.L5
.L6:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L5
.L7:
	bl	usage
.L5:
	ldr	r2, .L13+12
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	getopt
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L8
	ldr	r3, .L13+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	beq	.L9
	bl	usage
.L9:
	ldr	r3, .L13+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	sub	r2, fp, #36
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	yp_order
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L10
	ldr	r0, [fp, #-20]
	bl	yperr_string
	mov	r3, r0
	ldr	r2, [fp, #-24]
	ldr	r1, .L13+20
	mov	r0, #1
	bl	errx
.L10:
	ldr	r4, [fp, #-36]
	sub	r3, fp, #36
	mov	r0, r3
	bl	ctime
	mov	r3, r0
	mov	r2, r4
	ldr	r1, [fp, #-24]
	ldr	r0, .L13+24
	bl	printf
	ldr	r3, [fp, #-44]
	sub	r2, fp, #40
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	yp_master
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L11
	ldr	r0, [fp, #-20]
	bl	yperr_string
	mov	r3, r0
	ldr	r2, [fp, #-24]
	ldr	r1, .L13+20
	mov	r0, #1
	bl	errx
.L11:
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L13+28
	bl	printf
	mov	r0, #0
	bl	exit
.L14:
	.align	2
.L13:
	.word	.LC6
	.word	.LC1
	.word	optarg
	.word	.LC2
	.word	optind
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
