	.file	"extr_t_sockcred.c_t_sockcred_1.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"client #%u"
	.text
	.p2align 4
	.globl	t_sockcred_1
	.type	t_sockcred_1, @function
t_sockcred_1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	uc_client_fork@PLT
	test	eax, eax
	je	.L12
	cmp	eax, 1
	jne	.L7
	xor	eax, eax
	call	uc_socket_create@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L7
	mov	esi, eax
	mov	edi, 1
	call	t_sockcred_server@PLT
	mov	ebp, eax
	test	eax, eax
	je	.L23
	xor	eax, eax
	call	uc_client_wait@PLT
	mov	r12d, eax
.L11:
	cmp	ebp, -2
	jne	.L14
	test	r12d, r12d
	je	.L14
.L9:
	mov	edi, r13d
	call	uc_socket_close@PLT
	test	eax, eax
	jns	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12d, -2
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L12:
	.cfi_restore_state
	mov	r13d, 1
.L2:
	mov	esi, r13d
	lea	rdi, .LC0[rip]
	call	uc_dbgmsg@PLT
	xor	eax, eax
	call	uc_socket_create@PLT
	mov	ebp, eax
	test	eax, eax
	js	.L5
	mov	edi, 1
	mov	esi, eax
	call	t_sockcred_client@PLT
	mov	edi, ebp
	mov	r12d, eax
	call	uc_socket_close@PLT
	test	eax, eax
	js	.L5
	test	r12d, r12d
	jne	.L6
	cmp	r13d, 2
	jne	.L24
.L6:
	mov	edi, r12d
	call	uc_client_exit@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.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
.L24:
	.cfi_restore_state
	mov	r13d, 2
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L23:
	mov	esi, r13d
	mov	edi, 3
	call	t_sockcred_server@PLT
	mov	ebp, eax
	xor	eax, eax
	call	uc_client_wait@PLT
	mov	r12d, eax
	test	ebp, ebp
	je	.L9
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r12d, ebp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r12d, -2
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	t_sockcred_1, .-t_sockcred_1
	.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_t_sockcred.c_t_sockcred_1.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"client #%u\000"
	.text
	.align	2
	.global	t_sockcred_1
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_sockcred_1, %function
t_sockcred_1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	uc_client_fork
	subs	r4, r0, #0
	beq	.L11
	cmp	r4, #1
	bne	.L7
	bl	uc_socket_create
	subs	r6, r0, #0
	blt	.L7
	mov	r0, r4
	mov	r1, r6
	bl	t_sockcred_server
	subs	r5, r0, #0
	beq	.L18
	bl	uc_client_wait
	mov	r4, r0
.L10:
	cmn	r5, #2
	moveq	r3, #1
	movne	r3, #0
	cmp	r4, #0
	moveq	r3, #0
	cmp	r3, #0
	moveq	r4, r5
.L9:
	mov	r0, r6
	bl	uc_socket_close
	cmp	r0, #0
	bge	.L1
.L7:
	mvn	r4, #1
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r6, #1
	ldr	r7, .L20
.L2:
	mov	r1, r6
	mov	r0, r7
	bl	uc_dbgmsg
	bl	uc_socket_create
	subs	r5, r0, #0
	blt	.L5
	mov	r1, r5
	mov	r0, #1
	bl	t_sockcred_client
	mov	r4, r0
	mov	r0, r5
	bl	uc_socket_close
	cmp	r0, #0
	blt	.L5
	cmp	r4, #0
	bne	.L6
	cmp	r6, #2
	bne	.L19
.L6:
	mov	r0, r4
	bl	uc_client_exit
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	mov	r6, #2
	b	.L2
.L18:
	mov	r1, r6
	mov	r0, #3
	bl	t_sockcred_server
	mov	r5, r0
	bl	uc_client_wait
	cmp	r5, #0
	mov	r4, r0
	beq	.L9
	b	.L10
.L5:
	mvn	r4, #1
	b	.L6
.L21:
	.align	2
.L20:
	.word	.LC0
	.size	t_sockcred_1, .-t_sockcred_1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
