	.file	"extr_webinspector.c_wi_new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wi_new
	.type	wi_new, @function
wi_new:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edi
	mov	edi, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	malloc@PLT
	test	eax, eax
	je	.L1
	movsx	r12, eax
	mov	edx, 4
	xor	esi, esi
	mov	rdi, r12
	call	memset@PLT
	mov	eax, DWORD PTR wi_on_recv[rip]
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR wi_send_plist[rip]
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR wi_recv_packet[rip]
	mov	DWORD PTR 12[r12], eax
	mov	eax, DWORD PTR wi_on_error[rip]
	mov	DWORD PTR 8[r12], eax
	xor	eax, eax
	call	wi_private_new@PLT
	mov	QWORD PTR [r12], rax
	test	rax, rax
	je	.L8
	mov	DWORD PTR [rax], ebx
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	wi_free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wi_new, .-wi_new
	.comm	wi_send_plist,4,4
	.comm	wi_recv_packet,4,4
	.comm	wi_on_recv,4,4
	.comm	wi_on_error,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_webinspector.c_wi_new.c"
	.text
	.align	2
	.global	wi_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	wi_new, %function
wi_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r0, #4
	bl	malloc
	subs	r4, r0, #0
	beq	.L1
	mov	r3, #0
	ldr	ip, .L8
	ldr	r0, .L8+4
	ldr	r1, .L8+8
	ldr	r2, .L8+12
	ldr	ip, [ip]
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	ip, [r4, #16]
	str	r0, [r4, #12]
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r3, [r4]
	bl	wi_private_new
	cmp	r0, #0
	str	r0, [r4]
	mov	r5, r0
	strne	r6, [r0]
	beq	.L7
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r4
	bl	wi_free
	mov	r4, r5
	b	.L1
.L9:
	.align	2
.L8:
	.word	wi_on_recv
	.word	wi_send_plist
	.word	wi_recv_packet
	.word	wi_on_error
	.size	wi_new, .-wi_new
	.comm	wi_send_plist,4,4
	.comm	wi_recv_packet,4,4
	.comm	wi_on_recv,4,4
	.comm	wi_on_error,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
