	.file	"extr_networkd-link.c_link_joined.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not set bridge message: %m"
	.align 8
.LC1:
	.string	"Failed to add to bridge master's slave list: %m"
	.align 8
.LC2:
	.string	"Could not set bond message: %m"
	.align 8
.LC3:
	.string	"Failed to add to bond master's slave list: %m"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"bridge"
.LC5:
	.string	"Could not set bridge vlan: %m"
	.text
	.p2align 4
	.type	link_joined, @function
link_joined:
.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, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	assert@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	assert@PLT
	mov	edi, DWORD PTR 48[rbp]
	call	hashmap_isempty@PLT
	test	eax, eax
	je	.L26
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR IFF_UP[rip], eax
	je	.L27
.L4:
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 24[rax], 0
	jne	.L28
.L5:
	cmp	QWORD PTR 40[rax], 0
	jne	.L29
.L8:
	cmp	QWORD PTR 32[rax], 0
	je	.L12
	cmp	QWORD PTR 24[rax], 0
	jne	.L16
	mov	esi, DWORD PTR 16[rbp]
	lea	rdi, .LC4[rip]
	call	streq_ptr@PLT
	test	rax, rax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	call	link_has_carrier@PLT
	test	eax, eax
	jne	.L17
	mov	rax, QWORD PTR 8[rbp]
	mov	r12d, DWORD PTR 4[rax]
	test	r12d, r12d
	je	.L1
.L17:
	mov	esi, DWORD PTR LINK_STATE_CONFIGURING[rip]
	mov	rdi, rbp
	call	link_set_state@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	link_request_set_addresses@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	mov	rdi, rbp
	call	link_up@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L4
	mov	rdi, rbp
	call	link_enter_failed@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, rbp
	call	link_set_bridge_vlan@PLT
	test	eax, eax
	jns	.L12
	lea	rdx, .LC5[rip]
	mov	esi, eax
	mov	rdi, rbp
	call	log_link_error_errno@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rdi, rbp
	call	link_handle_bound_to_list@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 24[rax], 0
	je	.L5
.L28:
	mov	rdi, rbp
	call	link_set_bridge@PLT
	test	eax, eax
	js	.L30
.L6:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	rsi, QWORD PTR 24[rax]
	call	link_append_to_master@PLT
	test	eax, eax
	js	.L7
.L22:
	mov	rax, QWORD PTR 8[rbp]
	cmp	QWORD PTR 40[rax], 0
	je	.L8
.L29:
	mov	rdi, rbp
	call	link_set_bond@PLT
	test	eax, eax
	js	.L31
.L9:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	rsi, QWORD PTR 40[rax]
	call	link_append_to_master@PLT
	test	eax, eax
	js	.L10
.L23:
	mov	rax, QWORD PTR 8[rbp]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdx, .LC3[rip]
	mov	esi, eax
	mov	rdi, rbp
	call	log_link_error_errno@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdx, .LC2[rip]
	mov	esi, eax
	mov	rdi, rbp
	call	log_link_error_errno@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rdx, .LC1[rip]
	mov	esi, eax
	mov	rdi, rbp
	call	log_link_error_errno@PLT
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L30:
	lea	rdx, .LC0[rip]
	mov	esi, eax
	mov	rdi, rbp
	call	log_link_error_errno@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	link_joined, .-link_joined
	.comm	LINK_STATE_CONFIGURING,4,4
	.comm	IFF_UP,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_networkd-link.c_link_joined.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not set bridge message: %m\000"
	.align	2
.LC1:
	.ascii	"Failed to add to bridge master's slave list: %m\000"
	.align	2
.LC2:
	.ascii	"Could not set bond message: %m\000"
	.align	2
.LC3:
	.ascii	"Failed to add to bond master's slave list: %m\000"
	.align	2
.LC4:
	.ascii	"bridge\000"
	.align	2
.LC5:
	.ascii	"Could not set bridge vlan: %m\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	link_joined, %function
link_joined:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	assert
	ldr	r0, [r4, #8]
	bl	assert
	ldr	r0, [r4, #28]
	bl	hashmap_isempty
	cmp	r0, #0
	beq	.L32
	ldr	r3, .L38
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L33
.L4:
	ldr	r3, [r4, #8]
	ldr	r2, [r3, #16]
	cmp	r2, #0
	bne	.L34
.L5:
	ldr	r2, [r3, #24]
	cmp	r2, #0
	bne	.L35
.L8:
	ldr	r2, [r3, #20]
	cmp	r2, #0
	beq	.L12
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L16
	ldr	r1, [r4, #12]
	ldr	r0, .L38+4
	bl	streq_ptr
	cmp	r0, #0
	bne	.L16
.L12:
	mov	r0, r4
	bl	link_has_carrier
	cmp	r0, #0
	bne	.L17
	ldr	r3, [r4, #8]
	ldr	r5, [r3, #4]
	cmp	r5, #0
	beq	.L1
.L17:
	ldr	r3, .L38+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	link_set_state
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	link_request_set_addresses
.L33:
	mov	r0, r4
	bl	link_up
	subs	r5, r0, #0
	bge	.L4
	mov	r0, r4
	bl	link_enter_failed
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L16:
	mov	r0, r4
	bl	link_set_bridge_vlan
	subs	r1, r0, #0
	bge	.L12
	mov	r0, r4
	ldr	r2, .L38+12
	bl	log_link_error_errno
	b	.L12
.L32:
	mov	r0, r4
	bl	link_handle_bound_to_list
	subs	r5, r0, #0
	blt	.L1
	ldr	r3, [r4, #8]
	ldr	r2, [r3, #16]
	cmp	r2, #0
	beq	.L5
.L34:
	mov	r0, r4
	bl	link_set_bridge
	subs	r1, r0, #0
	blt	.L36
.L6:
	ldr	r3, [r4, #8]
	mov	r0, r4
	ldr	r1, [r3, #16]
	bl	link_append_to_master
	subs	r1, r0, #0
	blt	.L7
.L28:
	ldr	r3, [r4, #8]
	ldr	r2, [r3, #24]
	cmp	r2, #0
	beq	.L8
.L35:
	mov	r0, r4
	bl	link_set_bond
	subs	r1, r0, #0
	blt	.L37
.L9:
	ldr	r3, [r4, #8]
	mov	r0, r4
	ldr	r1, [r3, #24]
	bl	link_append_to_master
	subs	r1, r0, #0
	blt	.L10
.L29:
	ldr	r3, [r4, #8]
	b	.L8
.L10:
	mov	r0, r4
	ldr	r2, .L38+16
	bl	log_link_error_errno
	b	.L29
.L37:
	mov	r0, r4
	ldr	r2, .L38+20
	bl	log_link_error_errno
	b	.L9
.L7:
	mov	r0, r4
	ldr	r2, .L38+24
	bl	log_link_error_errno
	b	.L28
.L36:
	mov	r0, r4
	ldr	r2, .L38+28
	bl	log_link_error_errno
	b	.L6
.L39:
	.align	2
.L38:
	.word	IFF_UP
	.word	.LC4
	.word	LINK_STATE_CONFIGURING
	.word	.LC5
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	link_joined, .-link_joined
	.comm	LINK_STATE_CONFIGURING,4,4
	.comm	IFF_UP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
