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