	.file	"75271.c"
	.intel_syntax noprefix
	.text
	.globl	getsockopt
	.type	getsockopt, @function
getsockopt:
.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, 80
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -60[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	QWORD PTR -80[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdi, QWORD PTR -80[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	sub	rsp, 8
	push	0
	mov	r9, rdi
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, getsockopt[rip]
	mov	eax, 0
	call	__socketcall@PLT
	add	rsp, 16
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -92
	jne	.L2
	cmp	DWORD PTR -56[rbp], 1
	jne	.L2
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 20
	cmp	eax, 1
.L2:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	mov	eax, 0
	call	__syscall_ret@PLT
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getsockopt, .-getsockopt
	.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	"75271.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getsockopt
	.syntax unified
	.arm
	.fpu softvfp
	.type	getsockopt, %function
getsockopt:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-40]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, [fp, #-40]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, .L5+4
	bl	__socketcall
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #92
	bne	.L2
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-32]
	sub	r3, r3, #20
	cmp	r3, #1
.L2:
	ldr	r0, [fp, #-20]
	bl	__syscall_ret
	mov	r3, r0
	ldr	r2, .L5
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	getsockopt
	.size	getsockopt, .-getsockopt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
