	.file	"extr_ngx_stream_geoip_module.c_ngx_stream_geoip_org_variable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_stream_geoip_org_variable, @function
ngx_stream_geoip_org_variable:
.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, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR ngx_stream_geoip_module[rip]
	call	ngx_stream_get_module_main_conf@PLT
	cmp	QWORD PTR [rax], 0
	je	.L2
	mov	rbx, rax
	mov	rsi, rax
	mov	rdi, r12
	call	ngx_stream_geoip_addr@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	esi, eax
	call	GeoIP_name_by_ipnum@PLT
	mov	r13, rax
	test	rax, rax
	je	.L2
	mov	rdi, rax
	call	ngx_strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR [r12]
	mov	rsi, rbx
	mov	edi, DWORD PTR [rax]
	call	ngx_pnalloc@PLT
	mov	QWORD PTR 24[rbp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L10
	mov	rdx, rbx
	mov	rsi, r13
	call	ngx_memcpy@PLT
	mov	QWORD PTR 0[rbp], rbx
	mov	rdi, r13
	mov	QWORD PTR 8[rbp], 1
	mov	QWORD PTR 16[rbp], 0
	call	ngx_free@PLT
	mov	eax, DWORD PTR NGX_OK[rip]
	add	rsp, 8
	.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
.L2:
	.cfi_restore_state
	mov	DWORD PTR 12[rbp], 1
	mov	eax, DWORD PTR NGX_OK[rip]
.L1:
	add	rsp, 8
	.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
.L10:
	.cfi_restore_state
	mov	rdi, r13
	call	ngx_free@PLT
	mov	eax, DWORD PTR NGX_ERROR[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ngx_stream_geoip_org_variable, .-ngx_stream_geoip_org_variable
	.comm	ngx_stream_geoip_module,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_stream_geoip_module.c_ngx_stream_geoip_org_variable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_stream_geoip_org_variable, %function
ngx_stream_geoip_org_variable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, [r3]
	mov	r5, r0
	bl	ngx_stream_get_module_main_conf
	ldr	r6, [r0]
	cmp	r6, #0
	beq	.L2
	mov	r1, r0
	mov	r0, r5
	bl	ngx_stream_geoip_addr
	mov	r1, r0
	mov	r0, r6
	bl	GeoIP_name_by_ipnum
	subs	r7, r0, #0
	beq	.L2
	bl	ngx_strlen
	ldr	r3, [r5]
	mov	r1, r0
	mov	r6, r0
	ldr	r0, [r3]
	bl	ngx_pnalloc
	cmp	r0, #0
	str	r0, [r4, #16]
	beq	.L13
	mov	r2, r6
	mov	r1, r7
	bl	ngx_memcpy
	mov	r3, #0
	mov	r2, #1
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	mov	r0, r7
	str	r6, [r4]
	str	r2, [r4, #4]
	bl	ngx_free
	ldr	r3, .L14+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r2, #1
	ldr	r3, .L14+4
	str	r2, [r4, #8]
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r0, r7
	bl	ngx_free
	ldr	r3, .L14+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	ngx_stream_geoip_module
	.word	NGX_OK
	.word	NGX_ERROR
	.size	ngx_stream_geoip_org_variable, .-ngx_stream_geoip_org_variable
	.comm	ngx_stream_geoip_module,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
