	.file	"extr_ngx_mail.c_ngx_mail_add_ports.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_mail_add_ports, @function
ngx_mail_add_ports:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r13, QWORD PTR [rdx]
	mov	rbx, rdx
	mov	rdi, r13
	call	ngx_inet_get_port@PLT
	mov	rdx, QWORD PTR [r14]
	mov	rdi, QWORD PTR 8[r14]
	mov	ebp, eax
	test	rdx, rdx
	je	.L2
	xor	eax, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, 1
	add	rdi, 32
	cmp	rax, rdx
	je	.L2
.L5:
	cmp	DWORD PTR 24[rdi], ebp
	jne	.L3
	mov	rcx, QWORD PTR [rdi]
	cmp	QWORD PTR 0[r13], rcx
	jne	.L3
	lea	rbp, 8[rdi]
.L8:
	mov	rdi, rbp
	call	ngx_array_push@PLT
	test	rax, rax
	je	.L15
	mov	rdx, QWORD PTR [rbx]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR NGX_OK[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r14
	call	ngx_array_push@PLT
	test	rax, rax
	je	.L15
	mov	rdx, QWORD PTR 0[r13]
	mov	esi, DWORD PTR [r12]
	mov	DWORD PTR 24[rax], ebp
	lea	rbp, 8[rax]
	mov	ecx, 8
	mov	rdi, rbp
	mov	QWORD PTR [rax], rdx
	mov	edx, 2
	call	ngx_array_init@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	je	.L8
.L15:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, QWORD PTR NGX_ERROR[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_mail_add_ports, .-ngx_mail_add_ports
	.comm	NGX_OK,8,8
	.comm	NGX_ERROR,8,8
	.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_ngx_mail.c_ngx_mail_add_ports.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_mail_add_ports, %function
ngx_mail_add_ports:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	ldr	r4, [r2]
	mov	r7, r0
	mov	r0, r4
	mov	r6, r2
	bl	ngx_inet_get_port
	ldr	r2, [r8]
	mov	r5, r0
	cmp	r2, #0
	ldr	r3, [r8, #4]
	beq	.L2
	mov	ip, #0
	b	.L5
.L3:
	cmp	ip, r2
	add	r3, r3, #16
	beq	.L2
.L5:
	ldr	lr, [r3, #12]
	add	ip, ip, #1
	cmp	lr, r5
	bne	.L3
	ldr	r1, [r4]
	ldr	r0, [r3]
	cmp	r1, r0
	bne	.L3
	add	r4, r3, #4
.L8:
	mov	r0, r4
	bl	ngx_array_push
	subs	r3, r0, #0
	beq	.L16
	ldr	r1, .L18
	ldr	r2, [r6]
	ldr	r0, [r1]
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r8
	bl	ngx_array_push
	cmp	r0, #0
	beq	.L16
	ldr	r3, [r4]
	add	r4, r0, #4
	str	r3, [r0]
	str	r5, [r0, #12]
	mov	r3, #4
	mov	r0, r4
	mov	r2, #2
	ldr	r1, [r7]
	bl	ngx_array_init
	ldr	r3, .L18
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L8
.L16:
	ldr	r3, .L18+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	.align	2
.L18:
	.word	NGX_OK
	.word	NGX_ERROR
	.size	ngx_mail_add_ports, .-ngx_mail_add_ports
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
