	.file	"extr_ifenum_reactos.c_getInterfacePhysicalByIndex.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	getInterfacePhysicalByIndex
	.type	getInterfacePhysicalByIndex, @function
getInterfacePhysicalByIndex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR FILE_READ_DATA[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdi, rsp
	call	openTcpFile@PLT
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	jne	.L13
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR [rsp]
	lea	rbx, 4[rsp]
	mov	esi, r15d
	mov	rdx, rbx
	call	getInterfaceInfoByIndex@PLT
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	jne	.L15
.L3:
	mov	edi, DWORD PTR [rsp]
	call	closeTcpFile@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, ebp
	mov	rdi, rbx
	call	getInterfacePhysicalFromInfo@PLT
	jmp	.L3
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	getInterfacePhysicalByIndex, .-getInterfacePhysicalByIndex
	.comm	FILE_READ_DATA,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_ifenum_reactos.c_getInterfacePhysicalByIndex.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getInterfacePhysicalByIndex
	.syntax unified
	.arm
	.fpu softvfp
	.type	getInterfacePhysicalByIndex, %function
getInterfacePhysicalByIndex:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	ldr	r1, .L16
	sub	sp, sp, #16
	mov	r8, r3
	ldr	r3, .L16+4
	ldr	r1, [r1]
	mov	r5, r0
	add	r0, sp, #4
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	openTcpFile
	mov	r4, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	bne	.L13
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r1, r5
	add	r2, sp, #8
	ldr	r0, [sp, #4]
	bl	getInterfaceInfoByIndex
	mov	r4, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	bne	.L15
.L3:
	ldr	r0, [sp, #4]
	bl	closeTcpFile
	b	.L1
.L15:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	add	r0, sp, #8
	bl	getInterfacePhysicalFromInfo
	b	.L3
.L14:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	FILE_READ_DATA
	.word	.LC0
	.size	getInterfacePhysicalByIndex, .-getInterfacePhysicalByIndex
	.comm	FILE_READ_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
