	.file	"extr_iphlpapi.c_testGetAdaptersInfo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"GetAdaptersInfo is not supported\n"
	.align 8
.LC1:
	.string	"GetAdaptersInfo returned %d, expected ERROR_INVALID_PARAMETER\n"
	.align 8
.LC2:
	.string	"GetAdaptersInfo returned %d, expected ERROR_NO_DATA or ERROR_BUFFER_OVERFLOW\n"
	.align 8
.LC3:
	.string	"GetAdaptersInfo(buf, &dwSize) returned %d, expected NO_ERROR\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"A valid IP must be present\n"
.LC5:
	.string	"A valid mask must be present\n"
.LC6:
	.string	"Adapter '%s', IP %s, Mask %s\n"
	.text
	.p2align 4
	.type	testGetAdaptersInfo, @function
testGetAdaptersInfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	esi, esi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	pGetAdaptersInfo@PLT
	cmp	QWORD PTR ERROR_NOT_SUPPORTED[rip], rax
	je	.L16
	xor	edi, edi
	cmp	QWORD PTR ERROR_INVALID_PARAMETER[rip], rax
	mov	rdx, rax
	sete	dil
	lea	rsi, .LC1[rip]
	lea	rbp, 4[rsp]
	xor	eax, eax
	call	ok@PLT
	xor	edi, edi
	mov	rsi, rbp
	call	pGetAdaptersInfo@PLT
	cmp	QWORD PTR ERROR_NO_DATA[rip], rax
	mov	edi, 1
	mov	rbx, rax
	je	.L4
	xor	edi, edi
	cmp	QWORD PTR ERROR_BUFFER_OVERFLOW[rip], rax
	sete	dil
.L4:
	xor	eax, eax
	mov	rdx, rbx
	lea	rsi, .LC2[rip]
	call	ok@PLT
	cmp	QWORD PTR ERROR_NO_DATA[rip], rbx
	je	.L1
	cmp	QWORD PTR ERROR_BUFFER_OVERFLOW[rip], rbx
	je	.L17
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	skip@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	r12d, DWORD PTR 4[rsp]
	xor	eax, eax
	call	GetProcessHeap@PLT
	xor	esi, esi
	mov	edx, r12d
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	rsi, rbp
	mov	rdi, rax
	mov	r12, rax
	call	pGetAdaptersInfo@PLT
	xor	edi, edi
	cmp	QWORD PTR NO_ERROR[rip], rax
	lea	rsi, .LC3[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	test	r12, r12
	je	.L6
	mov	rbx, r12
	lea	rbp, .LC4[rip]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR 16[rbx]
	mov	rsi, rbp
	mov	edi, DWORD PTR [rax]
	xor	eax, eax
	call	ok@PLT
	mov	rax, QWORD PTR 8[rbx]
	lea	rsi, .LC5[rip]
	mov	edi, DWORD PTR [rax]
	xor	eax, eax
	call	ok@PLT
	mov	rcx, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 16[rbx]
	lea	rdi, .LC6[rip]
	mov	esi, DWORD PTR 24[rbx]
	call	trace@PLT
	mov	rbx, QWORD PTR [rbx]
	test	rbx, rbx
	jne	.L7
.L6:
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	rdx, r12
	xor	esi, esi
	mov	edi, eax
	call	HeapFree@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	testGetAdaptersInfo, .-testGetAdaptersInfo
	.comm	NO_ERROR,8,8
	.comm	ERROR_NO_DATA,8,8
	.comm	ERROR_NOT_SUPPORTED,8,8
	.comm	ERROR_INVALID_PARAMETER,8,8
	.comm	ERROR_BUFFER_OVERFLOW,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_iphlpapi.c_testGetAdaptersInfo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GetAdaptersInfo is not supported\012\000"
	.align	2
.LC1:
	.ascii	"GetAdaptersInfo returned %d, expected ERROR_INVALID"
	.ascii	"_PARAMETER\012\000"
	.align	2
.LC2:
	.ascii	"GetAdaptersInfo returned %d, expected ERROR_NO_DATA"
	.ascii	" or ERROR_BUFFER_OVERFLOW\012\000"
	.align	2
.LC3:
	.ascii	"GetAdaptersInfo(buf, &dwSize) returned %d, expected"
	.ascii	" NO_ERROR\012\000"
	.align	2
.LC4:
	.ascii	"A valid IP must be present\012\000"
	.align	2
.LC5:
	.ascii	"A valid mask must be present\012\000"
	.align	2
.LC6:
	.ascii	"Adapter '%s', IP %s, Mask %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	testGetAdaptersInfo, %function
testGetAdaptersInfo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	ldr	r3, .L19
	sub	sp, sp, #8
	mov	r1, r4
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	r4, [sp]
	bl	pGetAdaptersInfo
	ldr	r3, .L19+4
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L16
	mov	r2, r0
	ldr	r3, .L19+8
	ldr	r1, .L19+12
	ldr	r0, [r3]
	ldr	r5, .L19+16
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r4
	mov	r1, sp
	bl	pGetAdaptersInfo
	mov	r4, r0
	ldr	r3, [r5]
	mov	r2, r4
	cmp	r3, r0
	ldrne	r3, .L19+20
	moveq	r0, #1
	ldrne	r0, [r3]
	ldr	r1, .L19+24
	subne	r0, r0, r4
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	ok
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L1
	ldr	r3, .L19+20
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L17
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r0, .L19+28
	bl	skip
	b	.L1
.L17:
	bl	GetProcessHeap
	ldr	r2, [sp]
	mov	r1, #0
	bl	HeapAlloc
	mov	r1, sp
	mov	r8, r0
	bl	pGetAdaptersInfo
	mov	r2, r0
	ldr	r3, .L19+32
	ldr	r1, .L19+36
	ldr	r0, [r3]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	cmp	r8, #0
	beq	.L6
	mov	r4, r8
	ldr	r7, .L19+40
	ldr	r6, .L19+44
	ldr	r5, .L19+48
.L7:
	ldr	r3, [r4, #8]
	mov	r1, r7
	ldr	r0, [r3]
	bl	ok
	ldr	r3, [r4, #4]
	mov	r1, r6
	ldr	r0, [r3]
	bl	ok
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r1, [r4, #12]
	mov	r0, r5
	bl	trace
	ldr	r4, [r4]
	cmp	r4, #0
	bne	.L7
.L6:
	bl	GetProcessHeap
	mov	r2, r8
	mov	r1, #0
	bl	HeapFree
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	ERROR_NOT_SUPPORTED
	.word	ERROR_INVALID_PARAMETER
	.word	.LC1
	.word	ERROR_NO_DATA
	.word	ERROR_BUFFER_OVERFLOW
	.word	.LC2
	.word	.LC0
	.word	NO_ERROR
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	testGetAdaptersInfo, .-testGetAdaptersInfo
	.comm	NO_ERROR,4,4
	.comm	ERROR_NO_DATA,4,4
	.comm	ERROR_NOT_SUPPORTED,4,4
	.comm	ERROR_INVALID_PARAMETER,4,4
	.comm	ERROR_BUFFER_OVERFLOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
