	.file	"extr_ngx_tfs_common.c_ngx_http_tfs_get_local_ip.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ngx_http_tfs_get_local_ip
	.type	ngx_http_tfs_get_local_ip, @function
ngx_http_tfs_get_local_ip:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	xor	edx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR SOCK_DGRAM[rip]
	mov	edi, DWORD PTR AF_INET[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	socket@PLT
	test	eax, eax
	js	.L7
	mov	rdi, QWORD PTR [rsp]
	mov	rdx, rbx
	mov	esi, r12d
	mov	ebp, eax
	call	ngx_memcpy@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rdx, rsp
	mov	edi, ebp
	mov	BYTE PTR [rax+rbx], 0
	mov	esi, DWORD PTR SIOCGIFADDR[rip]
	call	ioctl@PLT
	test	rax, rax
	js	.L9
	mov	eax, DWORD PTR 8[rsp]
	mov	edi, ebp
	mov	DWORD PTR 0[r13], eax
	call	close@PLT
	mov	eax, DWORD PTR NGX_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, ebp
	call	close@PLT
.L7:
	mov	eax, DWORD PTR NGX_ERROR[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.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
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_http_tfs_get_local_ip, .-ngx_http_tfs_get_local_ip
	.comm	SOCK_DGRAM,4,4
	.comm	SIOCGIFADDR,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.comm	AF_INET,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_tfs_common.c_ngx_http_tfs_get_local_ip.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ngx_http_tfs_get_local_ip
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_tfs_get_local_ip, %function
ngx_http_tfs_get_local_ip:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #24
	mov	r3, sp
	stm	r3, {r0, r1}
	ldr	r3, .L11
	mov	r6, r2
	ldr	r2, .L11+4
	ldr	r0, [r3]
	ldr	r3, .L11+8
	ldr	r1, [r2]
	mov	r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r5, [sp]
	bl	socket
	subs	r4, r0, #0
	blt	.L7
	mov	r2, r5
	ldr	r1, [sp, #4]
	ldr	r0, [sp, #12]
	bl	ngx_memcpy
	mov	r1, #0
	ldr	r2, [sp, #12]
	ldr	r3, .L11+12
	strb	r1, [r2, r5]
	mov	r0, r4
	ldr	r1, [r3]
	add	r2, sp, #12
	bl	ioctl
	cmp	r0, #0
	blt	.L9
	ldr	r3, [sp, #16]
	mov	r0, r4
	str	r3, [r6]
	bl	close
	ldr	r3, .L11+16
	ldr	r0, [r3]
	b	.L1
.L9:
	mov	r0, r4
	bl	close
.L7:
	ldr	r3, .L11+20
	ldr	r0, [r3]
.L1:
	ldr	r3, .L11+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	AF_INET
	.word	SOCK_DGRAM
	.word	.LC0
	.word	SIOCGIFADDR
	.word	NGX_OK
	.word	NGX_ERROR
	.size	ngx_http_tfs_get_local_ip, .-ngx_http_tfs_get_local_ip
	.comm	SOCK_DGRAM,4,4
	.comm	SIOCGIFADDR,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
