	.file	"extr_uri.c_validate_host.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"(%p %p %x): Found valid host name %s len=%d type=%d.\n"
	.align 8
.LC1:
	.string	"(%p %p %x): Invalid host name found %s.\n"
	.text
	.p2align 4
	.type	validate_host, @function
validate_host:
.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
	mov	r13, rdx
	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	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	r14, r14
	je	.L2
	mov	QWORD PTR [rsp], r14
	mov	r15, QWORD PTR [rdi]
.L3:
	mov	rcx, QWORD PTR ALLOW_BRACKETLESS_IP_LITERAL[rip]
	mov	rdi, rsp
	mov	rdx, r13
	mov	rsi, r12
	or	rcx, QWORD PTR IGNORE_PORT_DELIMITER[rip]
	or	rcx, QWORD PTR SKIP_IP_FUTURE_CHECK[rip]
	call	parse_host@PLT
	test	rax, rax
	je	.L5
	cmp	QWORD PTR [r12], r15
	je	.L19
.L5:
	mov	rsi, r15
	mov	rdi, r14
	call	debugstr_wn@PLT
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, rbp
	mov	r8d, eax
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	TRACE@PLT
	mov	eax, DWORD PTR INET_E_INVALID_URL[rip]
.L1:
	mov	rsi, QWORD PTR 8[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L20
	add	rsp, 16
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[rdi]
	test	DWORD PTR Uri_HAS_HOST[rip], eax
	jne	.L4
	mov	rdx, QWORD PTR 16[rdi]
	test	rdx, rdx
	je	.L4
	movsx	rax, DWORD PTR [rdx]
	test	eax, eax
	js	.L4
	mov	rcx, QWORD PTR 16[rdx]
	lea	r14, [rcx+rax*4]
	mov	QWORD PTR [rsp], r14
	test	r14, r14
	jne	.L21
.L4:
	mov	eax, DWORD PTR S_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, QWORD PTR 16[r12]
	mov	r14d, DWORD PTR 8[r12]
	mov	rsi, r15
	call	debugstr_wn@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	rdx, r12
	mov	r9, r15
	push	r14
	.cfi_def_cfa_offset 80
	mov	r8d, eax
	mov	rcx, r13
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	TRACE@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	mov	eax, DWORD PTR S_OK[rip]
	pop	rdx
	.cfi_def_cfa_offset 64
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
.L21:
	mov	r15, QWORD PTR 8[rdx]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	validate_host, .-validate_host
	.comm	Uri_HAS_HOST,4,4
	.comm	S_OK,4,4
	.comm	SKIP_IP_FUTURE_CHECK,8,8
	.comm	INET_E_INVALID_URL,4,4
	.comm	IGNORE_PORT_DELIMITER,8,8
	.comm	ALLOW_BRACKETLESS_IP_LITERAL,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_uri.c_validate_host.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(%p %p %x): Found valid host name %s len=%d type=%d"
	.ascii	".\012\000"
	.align	2
.LC1:
	.ascii	"(%p %p %x): Invalid host name found %s.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_host, %function
validate_host:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0, #12]
	ldr	r3, .L22
	sub	sp, sp, #24
	cmp	r7, #0
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	ldr	r8, [r0]
	str	r7, [sp, #16]
.L3:
	ldr	r2, .L22+4
	ldr	r3, .L22+8
	ldr	r1, .L22+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r2, r3
	orr	r3, r3, r1
	mov	r2, r6
	mov	r1, r5
	add	r0, sp, #16
	bl	parse_host
	cmp	r0, #0
	mov	r1, r8
	beq	.L5
	ldr	r3, [r5]
	cmp	r3, r8
	beq	.L19
.L5:
	mov	r0, r7
	bl	debugstr_wn
	mov	r3, r6
	str	r0, [sp]
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L22+16
	bl	TRACE
	ldr	r3, .L22+20
	ldr	r0, [r3]
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L22+24
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L4
	ldr	r3, [r0, #8]
	cmp	r3, #0
	beq	.L4
	ldr	r2, [r3]
	cmp	r2, #0
	blt	.L4
	ldr	r7, [r3, #8]
	add	r7, r7, r2, lsl #2
	cmp	r7, #0
	str	r7, [sp, #16]
	bne	.L21
.L4:
	ldr	r3, .L22+28
	ldr	r0, [r3]
	b	.L1
.L19:
	ldr	r0, [r5, #8]
	bl	debugstr_wn
	ldm	r5, {r2, ip}
	mov	r3, r6
	stmib	sp, {r2, ip}
	str	r0, [sp]
	mov	r1, r4
	mov	r2, r5
	ldr	r0, .L22+32
	bl	TRACE
	ldr	r3, .L22+28
	ldr	r0, [r3]
	b	.L1
.L20:
	bl	__stack_chk_fail
.L21:
	ldr	r8, [r3, #4]
	b	.L3
.L23:
	.align	2
.L22:
	.word	.LC2
	.word	ALLOW_BRACKETLESS_IP_LITERAL
	.word	IGNORE_PORT_DELIMITER
	.word	SKIP_IP_FUTURE_CHECK
	.word	.LC1
	.word	INET_E_INVALID_URL
	.word	Uri_HAS_HOST
	.word	S_OK
	.word	.LC0
	.size	validate_host, .-validate_host
	.comm	Uri_HAS_HOST,4,4
	.comm	S_OK,4,4
	.comm	SKIP_IP_FUTURE_CHECK,4,4
	.comm	INET_E_INVALID_URL,4,4
	.comm	IGNORE_PORT_DELIMITER,4,4
	.comm	ALLOW_BRACKETLESS_IP_LITERAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
