	.file	"extr_cipc.c_nn_cipc_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cipc"
	.text
	.p2align 4
	.globl	nn_cipc_create
	.type	nn_cipc_create, @function
nn_cipc_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, .LC0[rip]
	mov	r12, rdi
	mov	edi, 32
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbx, 16[rsp]
	call	nn_alloc@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	alloc_assert@PLT
	mov	QWORD PTR 24[rbp], r12
	mov	rdx, rbp
	mov	rdi, r12
	lea	rsi, nn_cipc_ep_ops[rip]
	call	nn_ep_tran_setup@PLT
	mov	rdi, r12
	call	nn_ep_getctx@PLT
	mov	edx, DWORD PTR nn_cipc_shutdown[rip]
	mov	esi, DWORD PTR nn_cipc_handler[rip]
	mov	rdi, rbp
	mov	ecx, eax
	call	nn_fsm_init_root@PLT
	mov	eax, DWORD PTR NN_CIPC_STATE_IDLE[rip]
	lea	rdi, 12[rbp]
	mov	rdx, rbp
	mov	esi, DWORD PTR NN_CIPC_SRC_USOCK[rip]
	mov	DWORD PTR 16[rbp], eax
	call	nn_usock_init@PLT
	lea	rcx, 8[rsp]
	mov	r8, rbx
	mov	rdi, r12
	mov	edx, DWORD PTR NN_RECONNECT_IVL[rip]
	mov	esi, DWORD PTR NN_SOL_SOCKET[rip]
	mov	QWORD PTR 16[rsp], 4
	call	nn_ep_getopt@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 4
	sete	dil
	call	nn_assert@PLT
	lea	rcx, 12[rsp]
	mov	r8, rbx
	mov	rdi, r12
	mov	edx, DWORD PTR NN_RECONNECT_IVL_MAX[rip]
	mov	esi, DWORD PTR NN_SOL_SOCKET[rip]
	mov	QWORD PTR 16[rsp], 4
	call	nn_ep_getopt@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 4
	sete	dil
	call	nn_assert@PLT
	mov	ecx, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR 8[rsp]
	test	ecx, ecx
	jne	.L3
	mov	DWORD PTR 12[rsp], edx
	mov	ecx, edx
.L3:
	mov	esi, DWORD PTR NN_CIPC_SRC_RECONNECT_TIMER[rip]
	mov	r8, rbp
	lea	rdi, 8[rbp]
	call	nn_backoff_init@PLT
	lea	rdi, 4[rbp]
	mov	rcx, rbp
	mov	rdx, r12
	mov	esi, DWORD PTR NN_CIPC_SRC_SIPC[rip]
	call	nn_sipc_init@PLT
	mov	rdi, rbp
	call	nn_fsm_start@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nn_cipc_create, .-nn_cipc_create
	.comm	nn_cipc_shutdown,4,4
	.comm	nn_cipc_handler,4,4
	.comm	nn_cipc_ep_ops,4,4
	.comm	NN_SOL_SOCKET,4,4
	.comm	NN_RECONNECT_IVL_MAX,4,4
	.comm	NN_RECONNECT_IVL,4,4
	.comm	NN_CIPC_STATE_IDLE,4,4
	.comm	NN_CIPC_SRC_USOCK,4,4
	.comm	NN_CIPC_SRC_SIPC,4,4
	.comm	NN_CIPC_SRC_RECONNECT_TIMER,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_cipc.c_nn_cipc_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cipc\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nn_cipc_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	nn_cipc_create, %function
nn_cipc_create:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L8
	sub	sp, sp, #24
	mov	r5, r0
	ldr	r1, .L8+4
	mov	r0, #24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	nn_alloc
	mov	r4, r0
	bl	alloc_assert
	ldr	r1, .L8+8
	mov	r2, r4
	mov	r0, r5
	str	r5, [r4, #20]
	bl	nn_ep_tran_setup
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	mov	r0, r5
	ldr	r7, [r2]
	ldr	r8, [r3]
	bl	nn_ep_getctx
	mov	r6, #4
	mov	r3, r0
	mov	r2, r8
	mov	r1, r7
	mov	r0, r4
	bl	nn_fsm_init_root
	ldr	r2, .L8+20
	ldr	r3, .L8+24
	ldr	r1, [r2]
	add	r0, r4, #12
	mov	r2, r4
	str	r1, [r4, #16]
	ldr	r1, [r3]
	bl	nn_usock_init
	ldr	r7, .L8+28
	ldr	r3, .L8+32
	add	r8, sp, #16
	ldr	r2, [r3]
	ldr	r1, [r7]
	add	r3, sp, #8
	mov	r0, r5
	str	r8, [sp]
	str	r6, [sp, #16]
	bl	nn_ep_getopt
	ldr	r0, [sp, #16]
	sub	r0, r0, r6
	clz	r0, r0
	lsr	r0, r0, #5
	bl	nn_assert
	ldr	r3, .L8+36
	str	r8, [sp]
	ldr	r2, [r3]
	ldr	r1, [r7]
	add	r3, sp, #12
	mov	r0, r5
	str	r6, [sp, #16]
	bl	nn_ep_getopt
	ldr	r0, [sp, #16]
	sub	r0, r0, r6
	clz	r0, r0
	lsr	r0, r0, #5
	bl	nn_assert
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #8]
	ldr	r1, .L8+40
	cmp	r3, #0
	str	r4, [sp]
	moveq	r3, r2
	ldr	r1, [r1]
	add	r0, r4, #8
	streq	r2, [sp, #12]
	bl	nn_backoff_init
	ldr	r3, .L8+44
	mov	r2, r5
	ldr	r1, [r3]
	add	r0, r4, #4
	mov	r3, r4
	bl	nn_sipc_init
	mov	r0, r4
	bl	nn_fsm_start
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, #0
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.word	nn_cipc_ep_ops
	.word	nn_cipc_handler
	.word	nn_cipc_shutdown
	.word	NN_CIPC_STATE_IDLE
	.word	NN_CIPC_SRC_USOCK
	.word	NN_SOL_SOCKET
	.word	NN_RECONNECT_IVL
	.word	NN_RECONNECT_IVL_MAX
	.word	NN_CIPC_SRC_RECONNECT_TIMER
	.word	NN_CIPC_SRC_SIPC
	.size	nn_cipc_create, .-nn_cipc_create
	.comm	nn_cipc_shutdown,4,4
	.comm	nn_cipc_handler,4,4
	.comm	nn_cipc_ep_ops,4,4
	.comm	NN_SOL_SOCKET,4,4
	.comm	NN_RECONNECT_IVL_MAX,4,4
	.comm	NN_RECONNECT_IVL,4,4
	.comm	NN_CIPC_STATE_IDLE,4,4
	.comm	NN_CIPC_SRC_USOCK,4,4
	.comm	NN_CIPC_SRC_SIPC,4,4
	.comm	NN_CIPC_SRC_RECONNECT_TIMER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
