	.file	"92328563.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"SIOCGIFADDR failed %d\n"
.LC1:
	.string	"SIOCGIFBRDADDR failed %d\n"
.LC2:
	.string	"SIOCGIFNETMASK failed %d\n"
	.text
	.globl	get_kernel_stack_if_params
	.type	get_kernel_stack_if_params, @function
get_kernel_stack_if_params:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -96[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], -1
	jne	.L2
	mov	eax, 1
	jmp	.L7
.L2:
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 35093
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L7
.L4:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 35097
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L5
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L7
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 35099
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L6
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_kernel_stack_if_params, .-get_kernel_stack_if_params
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"92328563.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"SIOCGIFADDR failed %d\012\000"
	.align	2
.LC1:
	.ascii	"SIOCGIFBRDADDR failed %d\012\000"
	.align	2
.LC2:
	.ascii	"SIOCGIFNETMASK failed %d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_kernel_stack_if_params
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_kernel_stack_if_params, %function
get_kernel_stack_if_params:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L2
	mov	r3, #1
	b	.L7
.L2:
	sub	r3, fp, #40
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L9+4
	ldr	r0, [fp, #-48]
	bl	ioctl
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L4
	ldr	r1, [fp, #-44]
	ldr	r0, .L9+8
	bl	printf
	mov	r3, #1
	b	.L7
.L4:
	sub	r3, fp, #40
	add	r3, r3, #16
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-60]
	bl	memcpy
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L9+12
	ldr	r0, [fp, #-48]
	bl	ioctl
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L5
	ldr	r1, [fp, #-44]
	ldr	r0, .L9+16
	bl	printf
	mov	r3, #1
	b	.L7
.L5:
	sub	r3, fp, #40
	add	r3, r3, #16
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	memcpy
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L9+20
	ldr	r0, [fp, #-48]
	bl	ioctl
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L6
	ldr	r1, [fp, #-44]
	ldr	r0, .L9+24
	bl	printf
	mov	r3, #1
	b	.L7
.L6:
	sub	r3, fp, #40
	add	r3, r3, #16
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	memcpy
	ldr	r0, [fp, #-48]
	bl	close
	mov	r3, #0
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	35093
	.word	.LC0
	.word	35097
	.word	.LC1
	.word	35099
	.word	.LC2
	.size	get_kernel_stack_if_params, .-get_kernel_stack_if_params
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
