	.file	"extr_b_addr.c_addrinfo_wrap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	addrinfo_wrap, @function
addrinfo_wrap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edi
	mov	edi, 32
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	OPENSSL_zalloc@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L13
	cmp	DWORD PTR SOCK_STREAM[rip], r15d
	mov	DWORD PTR [rax], ebp
	mov	DWORD PTR 4[rax], r15d
	jne	.L4
	mov	rdx, QWORD PTR IPPROTO_TCP[rip]
	mov	QWORD PTR 24[rax], rdx
.L4:
	cmp	DWORD PTR SOCK_DGRAM[rip], r15d
	jne	.L5
	mov	rdx, QWORD PTR IPPROTO_UDP[rip]
	mov	QWORD PTR 24[rax], rdx
.L5:
	xor	eax, eax
	call	BIO_ADDR_new@PLT
	mov	r15, rax
	test	rax, rax
	je	.L6
	mov	esi, ebp
	movzx	r8d, r14w
	mov	rcx, r13
	mov	rdx, r12
	mov	rdi, rax
	call	BIO_ADDR_rawmake@PLT
	mov	rbp, QWORD PTR [rbx]
	mov	rdi, r15
	call	BIO_ADDR_sockaddr_noconst@PLT
	mov	QWORD PTR 8[rbp], rax
.L6:
	mov	rdi, QWORD PTR [rbx]
	mov	eax, 1
	cmp	QWORD PTR 8[rdi], 0
	mov	QWORD PTR 16[rdi], 0
	je	.L14
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR ERR_R_MALLOC_FAILURE[rip]
	mov	edi, DWORD PTR BIO_F_ADDRINFO_WRAP[rip]
	call	BIOerr@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	call	BIO_ADDRINFO_free@PLT
	mov	QWORD PTR [rbx], 0
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	addrinfo_wrap, .-addrinfo_wrap
	.comm	SOCK_STREAM,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	IPPROTO_UDP,8,8
	.comm	IPPROTO_TCP,8,8
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	BIO_F_ADDRINFO_WRAP,4,4
	.comm	AF_UNIX,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_b_addr.c_addrinfo_wrap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	addrinfo_wrap, %function
addrinfo_wrap:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	sub	sp, sp, #8
	mov	r0, #20
	ldr	r8, [sp, #44]
	mov	r10, r1
	mov	r6, r2
	mov	r7, r3
	ldrh	r9, [sp, #40]
	bl	OPENSSL_zalloc
	subs	r4, r0, #0
	str	r0, [r8]
	beq	.L13
	ldr	r3, .L15
	str	r5, [r4]
	ldr	r3, [r3]
	str	r10, [r4, #4]
	cmp	r3, r10
	ldreq	r3, .L15+4
	ldreq	r3, [r3]
	streq	r3, [r4, #16]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r3, r10
	ldreq	r3, .L15+12
	ldreq	r3, [r3]
	streq	r3, [r4, #16]
	bl	BIO_ADDR_new
	subs	r4, r0, #0
	beq	.L6
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	str	r9, [sp]
	bl	BIO_ADDR_rawmake
	mov	r0, r4
	ldr	r4, [r8]
	bl	BIO_ADDR_sockaddr_noconst
	str	r0, [r4, #8]
.L6:
	mov	r3, #0
	ldr	r0, [r8]
	ldr	r4, [r0, #8]
	str	r3, [r0, #12]
	cmp	r4, r3
	movne	r0, #1
	beq	.L14
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	ldr	r2, .L15+16
	ldr	r3, .L15+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	BIOerr
	mov	r0, r4
	b	.L1
.L14:
	bl	BIO_ADDRINFO_free
	mov	r0, r4
	str	r4, [r8]
	b	.L1
.L16:
	.align	2
.L15:
	.word	SOCK_STREAM
	.word	IPPROTO_TCP
	.word	SOCK_DGRAM
	.word	IPPROTO_UDP
	.word	ERR_R_MALLOC_FAILURE
	.word	BIO_F_ADDRINFO_WRAP
	.size	addrinfo_wrap, .-addrinfo_wrap
	.comm	SOCK_STREAM,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	IPPROTO_UDP,4,4
	.comm	IPPROTO_TCP,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	BIO_F_ADDRINFO_WRAP,4,4
	.comm	AF_UNIX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
