	.file	"extr_Network.c_GetDnsProxyIPAddressForJapanBFlets.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"DDnsServerForBFlets"
	.text
	.p2align 4
	.globl	GetDnsProxyIPAddressForJapanBFlets
	.type	GetDnsProxyIPAddressForJapanBFlets, @function
GetDnsProxyIPAddressForJapanBFlets:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L5
	mov	rdi, rsi
	mov	rsi, rdx
	test	rdi, rdi
	cmove	rdi, QWORD PTR BFLETS_DNS_PROXY_TIMEOUT_FOR_GET_F[rip]
	call	QueryFileByUdpForJapanBFlets@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
	mov	rdi, rax
	call	ReadIni@PLT
	mov	r13, rax
	test	rax, rax
	je	.L8
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	GetIniEntry@PLT
	test	rax, rax
	je	.L8
	mov	r15, QWORD PTR [rax]
	mov	rdi, r15
	call	IsEmptyStr@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L8
	lea	rbx, 4[rsp]
	mov	rsi, r15
	mov	rdi, rbx
	call	StrToIP@PLT
	test	rax, rax
	je	.L7
	mov	rdi, rbx
	call	IsZeroIp@PLT
	test	eax, eax
	jne	.L7
	mov	edx, 4
	mov	rsi, rbx
	mov	rdi, r12
	mov	r14d, 1
	call	Copy@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r14d, r14d
.L7:
	mov	rdi, r13
	call	FreeIni@PLT
	mov	rdi, rbp
	call	FreeBuf@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	r14d, r14d
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	GetDnsProxyIPAddressForJapanBFlets, .-GetDnsProxyIPAddressForJapanBFlets
	.comm	BFLETS_DNS_PROXY_TIMEOUT_FOR_GET_F,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_Network.c_GetDnsProxyIPAddressForJapanBFlets.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DDnsServerForBFlets\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	GetDnsProxyIPAddressForJapanBFlets
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetDnsProxyIPAddressForJapanBFlets, %function
GetDnsProxyIPAddressForJapanBFlets:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L22
	sub	sp, sp, #8
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L5
	mov	r0, r1
	cmp	r0, #0
	ldreq	r3, .L22+4
	mov	r1, r2
	ldreq	r0, [r3]
	bl	QueryFileByUdpForJapanBFlets
	subs	r6, r0, #0
	beq	.L5
	bl	ReadIni
	subs	r7, r0, #0
	beq	.L8
	ldr	r1, .L22+8
	bl	GetIniEntry
	cmp	r0, #0
	beq	.L8
	ldr	r8, [r0]
	mov	r0, r8
	bl	IsEmptyStr
	subs	r5, r0, #0
	bne	.L8
	mov	r1, r8
	mov	r0, sp
	bl	StrToIP
	cmp	r0, #0
	beq	.L7
	mov	r0, sp
	bl	IsZeroIp
	cmp	r0, #0
	bne	.L7
	mov	r1, sp
	mov	r0, r4
	mov	r2, #4
	bl	Copy
	mov	r5, #1
	b	.L7
.L8:
	mov	r5, #0
.L7:
	mov	r0, r7
	bl	FreeIni
	mov	r0, r6
	bl	FreeBuf
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r5, #0
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC1
	.word	BFLETS_DNS_PROXY_TIMEOUT_FOR_GET_F
	.word	.LC0
	.size	GetDnsProxyIPAddressForJapanBFlets, .-GetDnsProxyIPAddressForJapanBFlets
	.comm	BFLETS_DNS_PROXY_TIMEOUT_FOR_GET_F,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
