	.file	"extr_ntpdc_ops.c_doset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"auth"
.LC1:
	.string	"bclient"
.LC2:
	.string	"calibrate"
.LC3:
	.string	"kernel"
.LC4:
	.string	"monitor"
.LC5:
	.string	"ntp"
.LC6:
	.string	"pps"
.LC7:
	.string	"stats"
.LC8:
	.string	"Unknown flag %s\n"
.LC9:
	.string	"done!\n"
	.text
	.p2align 4
	.type	doset, @function
doset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rdi], 0
	mov	DWORD PTR 12[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	je	.L17
	mov	rbx, rdi
	xor	r13d, r13d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L22:
	mov	eax, DWORD PTR SYS_FLAG_AUTH[rip]
	or	DWORD PTR 12[rsp], eax
.L4:
	mov	rax, QWORD PTR 16[rsp]
	add	rax, 1
	mov	QWORD PTR 16[rsp], rax
	cmp	rax, QWORD PTR [rbx]
	jnb	.L21
.L12:
	mov	rdx, QWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	mov	rdi, QWORD PTR [rdx+rax*8]
	call	STREQ@PLT
	test	rax, rax
	jne	.L22
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	STREQ@PLT
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR SYS_FLAG_BCLIENT[rip]
	or	DWORD PTR 12[rsp], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, DWORD PTR 12[rsp]
	and	r13d, 1
.L2:
	call	htonl@PLT
	mov	DWORD PTR 12[rsp], eax
	test	eax, eax
	je	.L1
	test	r13b, r13b
	jne	.L1
	mov	rdi, QWORD PTR impl_ver[rip]
	lea	r15, 12[rsp]
	lea	r14, 32[rsp]
	lea	r13, 24[rsp]
	lea	rbx, 16[rsp]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rcx, QWORD PTR IMPL_XNTPD[rip]
	cmp	QWORD PTR impl_ver[rip], rcx
	jne	.L15
	mov	rdi, QWORD PTR IMPL_XNTPD_OLD[rip]
	mov	QWORD PTR impl_ver[rip], rdi
.L14:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	r9, r15
	mov	r8d, 4
	mov	esi, ebp
	push	4
	.cfi_def_cfa_offset 128
	mov	ecx, 1
	mov	edx, 1
	push	0
	.cfi_def_cfa_offset 136
	push	r14
	.cfi_def_cfa_offset 144
	push	r13
	.cfi_def_cfa_offset 152
	push	rbx
	.cfi_def_cfa_offset 160
	call	doquery@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 112
	cmp	DWORD PTR INFO_ERR_IMPL[rip], eax
	je	.L23
.L15:
	test	eax, eax
	je	.L24
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC2[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	STREQ@PLT
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR SYS_FLAG_CAL[rip]
	or	DWORD PTR 12[rsp], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC3[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	STREQ@PLT
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR SYS_FLAG_KERNEL[rip]
	or	DWORD PTR 12[rsp], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rcx, r12
	mov	edx, 6
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC4[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	STREQ@PLT
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR SYS_FLAG_MONITOR[rip]
	or	DWORD PTR 12[rsp], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	xor	edi, edi
	xor	r13d, r13d
	jmp	.L2
.L8:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC5[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	STREQ@PLT
	test	rax, rax
	je	.L9
	mov	eax, DWORD PTR SYS_FLAG_NTP[rip]
	or	DWORD PTR 12[rsp], eax
	jmp	.L4
.L9:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC6[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	STREQ@PLT
	test	rax, rax
	je	.L10
	mov	eax, DWORD PTR SYS_FLAG_PPS[rip]
	or	DWORD PTR 12[rsp], eax
	jmp	.L4
.L10:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC7[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	STREQ@PLT
	test	rax, rax
	je	.L11
	mov	eax, DWORD PTR SYS_FLAG_FILEGEN[rip]
	or	DWORD PTR 12[rsp], eax
	jmp	.L4
.L11:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, .LC8[rip]
	mov	rdi, r12
	mov	r13d, 1
	mov	rdx, QWORD PTR [rax+rdx*8]
	xor	eax, eax
	call	fprintf@PLT
	jmp	.L4
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	doset, .-doset
	.comm	impl_ver,8,8
	.comm	SYS_FLAG_PPS,4,4
	.comm	SYS_FLAG_NTP,4,4
	.comm	SYS_FLAG_MONITOR,4,4
	.comm	SYS_FLAG_KERNEL,4,4
	.comm	SYS_FLAG_FILEGEN,4,4
	.comm	SYS_FLAG_CAL,4,4
	.comm	SYS_FLAG_BCLIENT,4,4
	.comm	SYS_FLAG_AUTH,4,4
	.comm	INFO_ERR_IMPL,4,4
	.comm	IMPL_XNTPD_OLD,8,8
	.comm	IMPL_XNTPD,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_ntpdc_ops.c_doset.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"auth\000"
	.align	2
.LC1:
	.ascii	"bclient\000"
	.align	2
.LC2:
	.ascii	"calibrate\000"
	.align	2
.LC3:
	.ascii	"kernel\000"
	.align	2
.LC4:
	.ascii	"monitor\000"
	.align	2
.LC5:
	.ascii	"ntp\000"
	.align	2
.LC6:
	.ascii	"pps\000"
	.align	2
.LC7:
	.ascii	"stats\000"
	.align	2
.LC8:
	.ascii	"Unknown flag %s\012\000"
	.align	2
.LC9:
	.ascii	"done!\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	doset, %function
doset:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	mov	fp, r0
	ldr	r0, [r0]
	sub	sp, sp, #68
	ldr	r3, .L26
	str	r1, [sp, #36]
	cmp	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	mov	r6, r2
	str	r4, [sp, #44]
	str	r4, [sp, #48]
	beq	.L17
	mov	r2, r4
	ldr	r5, .L26+4
	ldr	r7, .L26+8
	ldr	r8, .L26+12
	ldr	r9, .L26+16
	ldr	r10, .L26+20
	b	.L12
.L22:
	ldr	r2, .L26+24
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
.L4:
	ldr	r2, [sp, #48]
	ldr	r3, [fp]
	add	r2, r2, #1
	cmp	r2, r3
	str	r2, [sp, #48]
	bcs	.L21
.L12:
	ldr	r3, [fp, #4]
	mov	r1, r5
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	bne	.L22
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	mov	r1, r7
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	beq	.L5
	ldr	r2, .L26+28
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
	b	.L4
.L21:
	ldr	r0, [sp, #44]
	and	r4, r4, #1
.L2:
	bl	htonl
	cmp	r0, #0
	moveq	r4, #1
	cmp	r4, #0
	str	r0, [sp, #44]
	beq	.L23
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	mov	r1, r8
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	beq	.L6
	ldr	r2, .L26+32
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
	b	.L4
.L23:
	ldr	r5, .L26+36
	mov	r4, #4
	ldr	r10, .L26+40
	ldr	r0, [r5]
	ldr	fp, .L26+44
	add	r9, sp, #56
	add	r8, sp, #52
	add	r7, sp, #48
	b	.L14
.L25:
	ldr	r2, [r5]
	ldr	r3, [fp]
	cmp	r2, r3
	bne	.L15
	ldr	r3, .L26+48
	ldr	r0, [r3]
	str	r0, [r5]
.L14:
	mov	r3, #1
	mov	r2, #0
	add	r1, sp, #44
	str	r1, [sp, #4]
	str	r2, [sp, #20]
	mov	r1, r6
	mov	r2, r3
	str	r4, [sp, #24]
	str	r9, [sp, #16]
	str	r8, [sp, #12]
	str	r7, [sp, #8]
	str	r4, [sp]
	bl	doquery
	ldr	r3, [r10]
	cmp	r3, r0
	beq	.L25
.L15:
	cmp	r0, #0
	bne	.L1
	mov	r2, #6
	mov	r1, #1
	ldr	r3, [sp, #36]
	ldr	r0, .L26+52
	bl	fwrite
	b	.L1
.L6:
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	mov	r1, r9
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	beq	.L7
	ldr	r2, .L26+56
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
	b	.L4
.L7:
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	mov	r1, r10
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	beq	.L8
	ldr	r2, .L26+60
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
	b	.L4
.L17:
	mov	r4, r0
	b	.L2
.L8:
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	ldr	r1, .L26+64
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	beq	.L9
	ldr	r2, .L26+68
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
	b	.L4
.L9:
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	ldr	r1, .L26+72
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	beq	.L10
	ldr	r2, .L26+76
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
	b	.L4
.L10:
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	ldr	r1, .L26+80
	ldr	r0, [r3, r2, lsl #2]
	bl	STREQ
	cmp	r0, #0
	beq	.L11
	ldr	r2, .L26+84
	ldr	r3, [sp, #44]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #44]
	b	.L4
.L11:
	ldr	r2, [sp, #48]
	ldr	r3, [fp, #4]
	ldr	r1, .L26+88
	ldr	r2, [r3, r2, lsl #2]
	ldr	r0, [sp, #36]
	bl	fprintf
	mov	r4, #1
	b	.L4
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	SYS_FLAG_AUTH
	.word	SYS_FLAG_BCLIENT
	.word	SYS_FLAG_CAL
	.word	impl_ver
	.word	INFO_ERR_IMPL
	.word	IMPL_XNTPD
	.word	IMPL_XNTPD_OLD
	.word	.LC9
	.word	SYS_FLAG_KERNEL
	.word	SYS_FLAG_MONITOR
	.word	.LC5
	.word	SYS_FLAG_NTP
	.word	.LC6
	.word	SYS_FLAG_PPS
	.word	.LC7
	.word	SYS_FLAG_FILEGEN
	.word	.LC8
	.size	doset, .-doset
	.comm	impl_ver,4,4
	.comm	SYS_FLAG_PPS,4,4
	.comm	SYS_FLAG_NTP,4,4
	.comm	SYS_FLAG_MONITOR,4,4
	.comm	SYS_FLAG_KERNEL,4,4
	.comm	SYS_FLAG_FILEGEN,4,4
	.comm	SYS_FLAG_CAL,4,4
	.comm	SYS_FLAG_BCLIENT,4,4
	.comm	SYS_FLAG_AUTH,4,4
	.comm	INFO_ERR_IMPL,4,4
	.comm	IMPL_XNTPD_OLD,4,4
	.comm	IMPL_XNTPD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
