	.file	"extr_unix.c_meth_accept.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unix{server}"
.LC1:
	.string	"unix{client}"
	.text
	.p2align 4
	.type	meth_accept, @function
meth_accept:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 1
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	call	auxiliar_checkclass@PLT
	movsx	rbx, eax
	mov	rdi, rbx
	call	timeout_markstart@PLT
	xor	ecx, ecx
	xor	edx, edx
	lea	rdi, 12[rbx]
	mov	r8d, eax
	mov	rsi, r13
	call	socket_accept@PLT
	cmp	DWORD PTR IO_DONE[rip], eax
	je	.L7
	mov	r12d, eax
	mov	rdi, rbp
	call	lua_pushnil@PLT
	mov	edi, r12d
	call	socket_strerror@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	lua_pushstring@PLT
	mov	eax, 2
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	mov	esi, 4
	call	lua_newuserdata@PLT
	mov	edx, -1
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	movsx	r12, eax
	call	auxiliar_setclass@PLT
	mov	rdi, r13
	lea	rbp, 4[r12]
	call	socket_setnonblocking@PLT
	mov	eax, DWORD PTR 4[rsp]
	lea	r8, 12[r12]
	mov	ecx, DWORD PTR socket_ioerror[rip]
	mov	edx, DWORD PTR socket_recv[rip]
	mov	esi, DWORD PTR socket_send[rip]
	mov	rdi, rbp
	mov	DWORD PTR 12[r12], eax
	call	io_init@PLT
	mov	edx, -1
	mov	esi, -1
	mov	rdi, r12
	call	timeout_init@PLT
	lea	rdi, 8[r12]
	mov	rdx, r12
	mov	rsi, rbp
	call	buffer_init@PLT
	mov	eax, 1
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	meth_accept, .-meth_accept
	.comm	socket_send,8,8
	.comm	socket_recv,8,8
	.comm	socket_ioerror,8,8
	.comm	IO_DONE,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_unix.c_meth_accept.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unix{server}\000"
	.align	2
.LC1:
	.ascii	"unix{client}\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	meth_accept, %function
meth_accept:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L9
	sub	sp, sp, #20
	mov	r2, #1
	ldr	r1, .L9+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	bl	auxiliar_checkclass
	mov	r5, r0
	bl	timeout_markstart
	mov	r3, #0
	mov	r2, r0
	add	r1, sp, #8
	str	r2, [sp]
	add	r0, r5, #12
	mov	r2, r3
	bl	socket_accept
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L7
	mov	r5, r0
	mov	r0, r4
	bl	lua_pushnil
	mov	r0, r5
	bl	socket_strerror
	mov	r1, r0
	mov	r0, r4
	bl	lua_pushstring
	mov	r0, #2
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	mov	r1, #4
	mov	r0, r4
	bl	lua_newuserdata
	mov	r5, r0
	mvn	r2, #0
	ldr	r1, .L9+12
	mov	r0, r4
	bl	auxiliar_setclass
	add	r0, sp, #8
	bl	socket_setnonblocking
	ldr	r0, [sp, #8]
	add	ip, r5, #12
	ldr	r3, .L9+16
	ldr	r2, .L9+20
	ldr	r1, .L9+24
	str	r0, [r5, #12]
	add	r4, r5, #4
	str	ip, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r0, r4
	bl	io_init
	mvn	r2, #0
	mov	r0, r5
	mov	r1, r2
	bl	timeout_init
	mov	r2, r5
	mov	r1, r4
	add	r0, r5, #8
	bl	buffer_init
	mov	r0, #1
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC2
	.word	.LC0
	.word	IO_DONE
	.word	.LC1
	.word	socket_ioerror
	.word	socket_recv
	.word	socket_send
	.size	meth_accept, .-meth_accept
	.comm	socket_send,4,4
	.comm	socket_recv,4,4
	.comm	socket_ioerror,4,4
	.comm	IO_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
