	.file	"extr_whois.c_choose_server.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no default whois server"
	.text
	.p2align 4
	.type	choose_server, @function
choose_server:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	strlen@PLT
	mov	r12, QWORD PTR whoiswhere[rip]
	mov	rbp, QWORD PTR [r12]
	test	rbp, rbp
	je	.L2
	mov	rbx, rax
	xor	r14d, r14d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	r14, 16
	mov	rbp, QWORD PTR [r12+r14]
	test	rbp, rbp
	je	.L2
.L4:
	mov	rdi, rbp
	call	strlen@PLT
	cmp	rbx, rax
	jbe	.L3
	mov	rdi, rbx
	mov	rsi, rbp
	sub	rdi, rax
	add	rdi, r13
	call	strcasecmp@PLT
	test	rax, rax
	je	.L10
	mov	r12, QWORD PTR whoiswhere[rip]
	add	r14, 16
	mov	rbp, QWORD PTR [r12+r14]
	test	rbp, rbp
	jne	.L4
.L2:
	mov	edi, DWORD PTR EX_SOFTWARE[rip]
	lea	rsi, .LC0[rip]
	call	errx@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR whoiswhere[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	rax, QWORD PTR 8[rax+r14]
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	choose_server, .-choose_server
	.comm	whoiswhere,8,8
	.comm	EX_SOFTWARE,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_whois.c_choose_server.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no default whois server\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	choose_server, %function
choose_server:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	bl	strlen
	ldr	r3, .L13
	ldr	r5, [r3]
	ldr	r4, [r5]
	cmp	r4, #0
	beq	.L2
	mov	r6, r0
.L4:
	mov	r0, r4
	bl	strlen
	mov	r3, r0
	sub	r0, r6, r0
	cmp	r6, r3
	add	r0, r7, r0
	bls	.L3
	mov	r1, r4
	bl	strcasecmp
	cmp	r0, #0
	beq	.L12
.L3:
	ldr	r4, [r5, #8]!
	cmp	r4, #0
	bne	.L4
.L2:
	ldr	r3, .L13+4
	ldr	r1, .L13+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, lr}
	b	errx
.L12:
	ldr	r0, [r5, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	whoiswhere
	.word	EX_SOFTWARE
	.word	.LC0
	.size	choose_server, .-choose_server
	.comm	whoiswhere,4,4
	.comm	EX_SOFTWARE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
