	.file	"extr_networkd-dhcp6.c_dhcp6_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"DHCPv6 lease lost"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"DHCPv6 did not receive prefixes to delegate"
	.section	.rodata.str1.1
.LC2:
	.string	"DHCPv6 error: %m"
.LC3:
	.string	"DHCPv6 unknown event: %d"
	.text
	.p2align 4
	.type	dhcp6_handler, @function
dhcp6_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	call	assert@PLT
	mov	rdi, QWORD PTR 16[rbp]
	call	assert@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	edx, DWORD PTR LINK_STATE_LINGER[rip]
	mov	esi, DWORD PTR LINK_STATE_FAILED[rip]
	call	IN_SET@PLT
	test	rax, rax
	jne	.L1
	cmp	r12d, 131
	je	.L3
	jg	.L4
	lea	eax, -128[r12]
	cmp	eax, 2
	ja	.L19
	xor	esi, esi
	mov	rdi, r13
	call	sd_dhcp6_client_get_lease@PLT
	test	eax, eax
	js	.L9
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	log_link_warning@PLT
.L9:
	mov	rsi, rbp
	mov	rdi, r13
	call	dhcp6_lease_pd_prefix_lost@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	rsi, rbp
	call	dhcp6_prefix_remove_all@PLT
	mov	rdi, rbp
	call	link_dirty@PLT
	mov	DWORD PTR 0[rbp], 0
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	link_check_ready@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmp	r12d, 132
	jne	.L8
.L7:
	mov	rsi, rbp
	mov	rdi, r13
	call	dhcp6_lease_information_acquired@PLT
	test	eax, eax
	js	.L12
	mov	rdi, rbp
	call	link_dirty@PLT
	mov	DWORD PTR 0[rbp], 1
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	link_check_ready@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	mov	edx, r12d
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	log_link_warning@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	test	r12d, r12d
	jns	.L8
	mov	esi, r12d
	mov	rdi, rbp
	lea	rdx, .LC2[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	log_link_warning_errno@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r13
	call	dhcp6_lease_address_acquired@PLT
	test	eax, eax
	js	.L12
	mov	rsi, rbp
	mov	rdi, r13
	call	dhcp6_lease_pd_prefix_acquired@PLT
	test	eax, eax
	jns	.L7
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	log_link_debug@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	link_enter_failed@PLT
	.cfi_endproc
.LFE0:
	.size	dhcp6_handler, .-dhcp6_handler
	.comm	_fallthrough_,4,4
	.comm	LINK_STATE_LINGER,4,4
	.comm	LINK_STATE_FAILED,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-dhcp6.c_dhcp6_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DHCPv6 lease lost\000"
	.align	2
.LC1:
	.ascii	"DHCPv6 did not receive prefixes to delegate\000"
	.align	2
.LC2:
	.ascii	"DHCPv6 error: %m\000"
	.align	2
.LC3:
	.ascii	"DHCPv6 unknown event: %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dhcp6_handler, %function
dhcp6_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	mov	r6, r0
	mov	r0, r2
	mov	r5, r1
	bl	assert
	ldr	r0, [r4, #12]
	bl	assert
	ldr	r3, .L20
	ldr	r2, .L20+4
	ldr	r1, [r3]
	ldr	r0, [r4, #8]
	ldr	r2, [r2]
	bl	IN_SET
	subs	r1, r0, #0
	popne	{r4, r5, r6, pc}
	cmp	r5, #131
	beq	.L3
	bgt	.L4
	sub	r3, r5, #128
	cmp	r3, #2
	bhi	.L19
	mov	r0, r6
	bl	sd_dhcp6_client_get_lease
	cmp	r0, #0
	blt	.L9
	mov	r0, r4
	ldr	r1, .L20+8
	bl	log_link_warning
.L9:
	mov	r1, r4
	mov	r0, r6
	bl	dhcp6_lease_pd_prefix_lost
	mov	r1, r4
	ldr	r0, [r4, #4]
	bl	dhcp6_prefix_remove_all
	mov	r0, r4
	bl	link_dirty
	mov	r3, #0
	mov	r0, r4
	str	r3, [r4]
	pop	{r4, r5, r6, lr}
	b	link_check_ready
.L4:
	cmp	r5, #132
	bne	.L8
.L7:
	mov	r0, r6
	mov	r1, r4
	bl	dhcp6_lease_information_acquired
	cmp	r0, #0
	blt	.L12
	mov	r0, r4
	bl	link_dirty
	mov	r3, #1
	mov	r0, r4
	str	r3, [r4]
	pop	{r4, r5, r6, lr}
	b	link_check_ready
.L8:
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, .L20+12
	b	log_link_warning
.L19:
	cmp	r5, #0
	bge	.L8
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r2, .L20+16
	b	log_link_warning_errno
.L3:
	mov	r1, r4
	mov	r0, r6
	bl	dhcp6_lease_address_acquired
	cmp	r0, #0
	blt	.L12
	mov	r1, r4
	mov	r0, r6
	bl	dhcp6_lease_pd_prefix_acquired
	cmp	r0, #0
	bge	.L7
	mov	r0, r4
	ldr	r1, .L20+20
	bl	log_link_debug
	b	.L7
.L12:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	link_enter_failed
.L21:
	.align	2
.L20:
	.word	LINK_STATE_FAILED
	.word	LINK_STATE_LINGER
	.word	.LC0
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.size	dhcp6_handler, .-dhcp6_handler
	.comm	_fallthrough_,4,4
	.comm	LINK_STATE_LINGER,4,4
	.comm	LINK_STATE_FAILED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
