	.file	"extr_networkd-address.c_address_establish.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	address_establish, @function
address_establish:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	assert@PLT
	mov	rdi, rbp
	call	assert@PLT
	mov	rax, QWORD PTR 32[rbp]
	xor	ebp, ebp
	test	rax, rax
	je	.L2
	cmp	QWORD PTR [rax], 0
	jne	.L13
.L2:
	xor	eax, eax
	cmp	DWORD PTR 16[rbx], ebp
	jne	.L14
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR AF_INET[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L2
	mov	rax, QWORD PTR RT_SCOPE_LINK[rip]
	xor	ebp, ebp
	cmp	QWORD PTR 8[rbx], rax
	setl	bpl
	xor	eax, eax
	cmp	DWORD PTR 16[rbx], ebp
	je	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	lea	r12, 4[rsp]
	mov	eax, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR 20[rbx]
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, r12
	mov	DWORD PTR 4[rsp], eax
	call	in_addr_mask@PLT
	push	0
	.cfi_def_cfa_offset 56
	mov	r8d, DWORD PTR 20[rbx]
	mov	rcx, r12
	push	0
	.cfi_def_cfa_offset 64
	mov	rsi, QWORD PTR AF_INET[rip]
	xor	edx, edx
	xor	r9d, r9d
	mov	edi, ebp
	call	fw_add_masquerade@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	test	eax, eax
	js	.L1
	mov	DWORD PTR 16[rbx], ebp
	xor	eax, eax
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	address_establish, .-address_establish
	.comm	RT_SCOPE_LINK,8,8
	.comm	AF_INET,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_networkd-address.c_address_establish.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	address_establish, %function
address_establish:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r3, .L16
	sub	sp, sp, #24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r0
	bl	assert
	mov	r0, r4
	bl	assert
	ldr	r4, [r4, #20]
	cmp	r4, #0
	beq	.L2
	ldr	r4, [r4]
	cmp	r4, #0
	bne	.L14
.L2:
	ldr	r3, [r5, #8]
	cmp	r3, r4
	moveq	r0, #0
	beq	.L1
	mov	r6, #0
	ldr	r3, [r5, #16]
	ldr	r2, [r5, #12]
	add	r1, sp, #16
	ldr	r0, [r5]
	str	r3, [sp, #16]
	bl	in_addr_mask
	ldr	r0, [r5, #12]
	ldr	r1, .L16+4
	str	r6, [sp, #12]
	str	r6, [sp, #8]
	str	r6, [sp, #4]
	ldr	r1, [r1]
	mov	r2, r6
	str	r0, [sp]
	add	r3, sp, #16
	mov	r0, r4
	bl	fw_add_masquerade
	cmp	r0, #0
	movge	r0, r6
	strge	r4, [r5, #8]
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L16+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	movne	r4, #0
	bne	.L2
	ldr	r3, .L16+8
	ldr	r4, [r5, #4]
	ldr	r3, [r3]
	cmp	r4, r3
	movge	r4, #0
	movlt	r4, #1
	b	.L2
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	AF_INET
	.word	RT_SCOPE_LINK
	.size	address_establish, .-address_establish
	.comm	RT_SCOPE_LINK,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
