	.file	"extr_ngx_connection.c_ngx_connection_local_sockaddr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"getsockname() failed"
	.text
	.p2align 4
	.globl	ngx_connection_local_sockaddr
	.type	ngx_connection_local_sockaddr, @function
ngx_connection_local_sockaddr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR 8[rdi]
	cmp	QWORD PTR [rax], 0
	jne	.L3
.L2:
	lea	r13, 4[rsp]
	mov	edi, DWORD PTR 20[rbp]
	mov	rdx, rsp
	mov	DWORD PTR [rsp], 4
	mov	rsi, r13
	call	getsockname@PLT
	cmp	eax, -1
	je	.L12
	mov	edi, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR [rsp]
	call	ngx_palloc@PLT
	mov	rdi, rax
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR NGX_ERROR[rip]
	test	rdi, rdi
	je	.L1
	mov	edx, DWORD PTR [rsp]
	mov	rsi, r13
	call	ngx_memcpy@PLT
	mov	eax, DWORD PTR [rsp]
	mov	DWORD PTR 0[rbp], eax
.L3:
	test	rbx, rbx
	je	.L10
	mov	edx, DWORD PTR 4[rbx]
	mov	rdi, QWORD PTR 8[rbp]
	mov	r8, r12
	mov	ecx, DWORD PTR [rbx]
	mov	esi, DWORD PTR 0[rbp]
	call	ngx_sock_ntop@PLT
	mov	DWORD PTR [rbx], eax
.L10:
	mov	eax, DWORD PTR NGX_OK[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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	esi, DWORD PTR ngx_socket_errno[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	ngx_connection_error@PLT
	mov	eax, DWORD PTR NGX_ERROR[rip]
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_connection_local_sockaddr, .-ngx_connection_local_sockaddr
	.comm	ngx_socket_errno,4,4
	.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
	.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_connection.c_ngx_connection_local_sockaddr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"getsockname() failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ngx_connection_local_sockaddr
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_connection_local_sockaddr, %function
ngx_connection_local_sockaddr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r0]
	sub	sp, sp, #24
	cmp	r3, #0
	ldr	r3, .L18
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	ldr	r3, [r0, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r3, #4
	ldr	r0, [r4, #12]
	add	r1, sp, #16
	add	r2, sp, #12
	str	r3, [sp, #12]
	bl	getsockname
	cmn	r0, #1
	beq	.L14
	ldr	r1, [sp, #12]
	ldr	r0, [r4, #8]
	bl	ngx_palloc
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L15
	ldr	r2, [sp, #12]
	add	r1, sp, #16
	bl	ngx_memcpy
	ldr	r3, [sp, #12]
	str	r3, [r4]
.L3:
	cmp	r5, #0
	beq	.L16
	str	r6, [sp]
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	ngx_sock_ntop
	ldr	r3, .L18+4
	str	r0, [r5]
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r3, .L18+4
	ldr	r0, [r3]
	b	.L1
.L15:
	ldr	r3, .L18+8
	ldr	r0, [r3]
	b	.L1
.L14:
	ldr	r3, .L18+12
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, .L18+16
	bl	ngx_connection_error
	ldr	r3, .L18+8
	ldr	r0, [r3]
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	NGX_OK
	.word	NGX_ERROR
	.word	ngx_socket_errno
	.word	.LC0
	.size	ngx_connection_local_sockaddr, .-ngx_connection_local_sockaddr
	.comm	ngx_socket_errno,4,4
	.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
