	.file	"18886963.c"
	.intel_syntax noprefix
	.text
	.globl	AF_INET
	.bss
	.align 8
	.type	AF_INET, @object
	.size	AF_INET, 8
AF_INET:
	.zero	8
	.globl	AF_INET6
	.align 8
	.type	AF_INET6, @object
	.size	AF_INET6, 8
AF_INET6:
	.zero	8
	.globl	DNS_CLASS_IN
	.align 4
	.type	DNS_CLASS_IN, @object
	.size	DNS_CLASS_IN, 4
DNS_CLASS_IN:
	.zero	4
	.globl	DNS_TYPE_A
	.align 4
	.type	DNS_TYPE_A, @object
	.size	DNS_TYPE_A, 4
DNS_TYPE_A:
	.zero	4
	.globl	DNS_TYPE_AAAA
	.align 4
	.type	DNS_TYPE_AAAA, @object
	.size	DNS_TYPE_AAAA, 4
DNS_TYPE_AAAA:
	.zero	4
	.globl	ENOMEM
	.align 4
	.type	ENOMEM, @object
	.size	ENOMEM, 4
ENOMEM:
	.zero	4
	.globl	LLMNR_DEFAULT_TTL
	.align 8
	.type	LLMNR_DEFAULT_TTL, @object
	.size	LLMNR_DEFAULT_TTL, 8
LLMNR_DEFAULT_TTL:
	.zero	8
	.globl	MDNS_DEFAULT_TTL
	.align 8
	.type	MDNS_DEFAULT_TTL, @object
	.size	MDNS_DEFAULT_TTL, 8
MDNS_DEFAULT_TTL:
	.zero	8
	.globl	RESOLVE_SUPPORT_YES
	.align 8
	.type	RESOLVE_SUPPORT_YES, @object
	.size	RESOLVE_SUPPORT_YES, 8
RESOLVE_SUPPORT_YES:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"Failed to add A record to LLMNR zone: %m"
	.align 8
.LC1:
	.string	"Failed to add IPv4 PTR record to LLMNR zone: %m"
	.align 8
.LC2:
	.string	"Failed to add A record to MDNS zone: %m"
	.align 8
.LC3:
	.string	"Failed to add IPv4 PTR record to MDNS zone: %m"
	.align 8
.LC4:
	.string	"Failed to add AAAA record to LLMNR zone: %m"
	.align 8
.LC5:
	.string	"Failed to add IPv6 PTR record to LLMNR zone: %m"
	.align 8
.LC6:
	.string	"Failed to add AAAA record to MDNS zone: %m"
	.align 8
.LC7:
	.string	"Failed to add IPv6 PTR record to MDNS zone: %m"
	.align 8
.LC8:
	.string	"Failed to update address RRs: %m"
	.text
	.globl	link_address_add_rrs
	.type	link_address_add_rrs, @function
link_address_add_rrs:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	assert@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR AF_INET[rip]
	cmp	rdx, rax
	jne	.L2
	cmp	DWORD PTR -44[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	link_address_relevant@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L3
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L3
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 32[rax]
	mov	ecx, DWORD PTR DNS_TYPE_A[rip]
	mov	eax, DWORD PTR DNS_CLASS_IN[rip]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR 16[rsi]
	mov	rbx, QWORD PTR 24[rsi]
	mov	esi, ecx
	mov	edi, eax
	call	dns_resource_key_new@PLT
	mov	QWORD PTR 56[rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 56[rax]
	mov	rdi, rax
	call	dns_resource_record_new@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 48[rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L7
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L7:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 36[rdx]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR LLMNR_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L6:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdi, 40[rcx]
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	call	dns_resource_record_new_reverse@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	js	.L52
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdx, QWORD PTR LLMNR_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 48[rcx]
	mov	rdi, rcx
	mov	ecx, 1
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L10
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
.L10:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 48[rcx]
	mov	rdi, rcx
	mov	ecx, 0
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L12
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
	jmp	.L12
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 48[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L14:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 48[rdx], rax
.L13:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L15
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 48[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L15:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 40[rdx], rax
.L12:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	link_address_relevant@PLT
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 16[rax]
	mov	ecx, DWORD PTR DNS_TYPE_A[rip]
	mov	eax, DWORD PTR DNS_CLASS_IN[rip]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR 16[rsi]
	mov	rbx, QWORD PTR 24[rsi]
	mov	esi, ecx
	mov	edi, eax
	call	dns_resource_key_new@PLT
	mov	QWORD PTR 48[rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L17
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L17:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	dns_resource_record_new@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L19
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L19:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 36[rdx]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR MDNS_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L18:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdi, 8[rcx]
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	call	dns_resource_record_new_reverse@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	js	.L53
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR MDNS_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L20:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 40[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 40[rcx]
	mov	rdi, rcx
	mov	ecx, 1
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L22
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
.L22:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 40[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 40[rcx]
	mov	rdi, rcx
	mov	ecx, 0
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L2
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
	jmp	.L2
.L16:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L25
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 40[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L25:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 24[rdx], rax
.L24:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L26
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 40[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L26:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rdx], rax
.L2:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR AF_INET6[rip]
	cmp	rdx, rax
	jne	.L54
	cmp	DWORD PTR -44[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	link_address_relevant@PLT
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 32[rax]
	mov	ecx, DWORD PTR DNS_TYPE_AAAA[rip]
	mov	eax, DWORD PTR DNS_CLASS_IN[rip]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR 16[rsi]
	mov	rbx, QWORD PTR 24[rsi]
	mov	esi, ecx
	mov	edi, eax
	call	dns_resource_key_new@PLT
	mov	QWORD PTR 40[rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L29:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L30
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 40[rax]
	mov	rdi, rax
	call	dns_resource_record_new@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 48[rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L31
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L31:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 32[rdx]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR LLMNR_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L30:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	jne	.L32
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdi, 40[rcx]
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	call	dns_resource_record_new_reverse@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	js	.L55
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdx, QWORD PTR LLMNR_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L32:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 32[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 32[rcx]
	mov	rdi, rcx
	mov	ecx, 1
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L34
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
.L34:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 32[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 32[rcx]
	mov	rdi, rcx
	mov	ecx, 0
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L36
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC5[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
	jmp	.L36
.L28:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L37
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L38
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 32[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L38:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 48[rdx], rax
.L37:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L36
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L39
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 32[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L39:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 40[rdx], rax
.L36:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L40
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	link_address_relevant@PLT
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L40
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR RESOLVE_SUPPORT_YES[rip]
	cmp	rdx, rax
	jne	.L40
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L41
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 16[rax]
	mov	ecx, DWORD PTR DNS_TYPE_AAAA[rip]
	mov	eax, DWORD PTR DNS_CLASS_IN[rip]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR 16[rsi]
	mov	rbx, QWORD PTR 24[rsi]
	mov	esi, ecx
	mov	edi, eax
	call	dns_resource_key_new@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L41
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L41:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L42
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	dns_resource_record_new@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L43
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L43:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 32[rdx]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR MDNS_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L42:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L44
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdi, 8[rcx]
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	call	dns_resource_record_new_reverse@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	js	.L56
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR MDNS_DEFAULT_TTL[rip]
	mov	QWORD PTR [rax], rdx
.L44:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rdi, rcx
	mov	ecx, 1
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L46
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
.L46:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rcx, QWORD PTR 16[rcx]
	mov	rdi, rcx
	mov	ecx, 0
	mov	rsi, rax
	call	dns_zone_put@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L27
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC7[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
	jmp	.L27
.L40:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L48
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L49
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L49:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 24[rdx], rax
.L48:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L54
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L50
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rdx, QWORD PTR 16[rdx]
	mov	rsi, rax
	mov	rdi, rdx
	call	dns_zone_remove_rr@PLT
.L50:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	dns_resource_record_unref@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rdx], rax
	jmp	.L54
.L27:
	jmp	.L54
.L52:
	nop
	jmp	.L5
.L53:
	nop
	jmp	.L5
.L55:
	nop
	jmp	.L5
.L56:
	nop
.L5:
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, .LC8[rip]
	mov	edi, eax
	call	log_debug_errno@PLT
	jmp	.L1
.L54:
	nop
.L1:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	link_address_add_rrs, .-link_address_add_rrs
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"18886963.c"
	.text
	.comm	AF_INET,4,4
	.comm	AF_INET6,4,4
	.comm	DNS_CLASS_IN,4,4
	.comm	DNS_TYPE_A,4,4
	.comm	DNS_TYPE_AAAA,4,4
	.comm	ENOMEM,4,4
	.comm	LLMNR_DEFAULT_TTL,4,4
	.comm	MDNS_DEFAULT_TTL,4,4
	.comm	RESOLVE_SUPPORT_YES,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Failed to add A record to LLMNR zone: %m\000"
	.align	2
.LC1:
	.ascii	"Failed to add IPv4 PTR record to LLMNR zone: %m\000"
	.align	2
.LC2:
	.ascii	"Failed to add A record to MDNS zone: %m\000"
	.align	2
.LC3:
	.ascii	"Failed to add IPv4 PTR record to MDNS zone: %m\000"
	.align	2
.LC4:
	.ascii	"Failed to add AAAA record to LLMNR zone: %m\000"
	.align	2
.LC5:
	.ascii	"Failed to add IPv6 PTR record to LLMNR zone: %m\000"
	.align	2
.LC6:
	.ascii	"Failed to add AAAA record to MDNS zone: %m\000"
	.align	2
.LC7:
	.ascii	"Failed to add IPv6 PTR record to MDNS zone: %m\000"
	.align	2
.LC8:
	.ascii	"Failed to update address RRs: %m\000"
	.text
	.align	2
	.global	link_address_add_rrs
	.syntax unified
	.arm
	.fpu softvfp
	.type	link_address_add_rrs, %function
link_address_add_rrs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	assert
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L57
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L2
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L3
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	link_address_relevant
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [r3]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L57+8
	ldr	r0, [r3]
	ldr	r3, .L57+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r4, [r3, #12]
	bl	dns_resource_key_new
	mov	r3, r0
	str	r3, [r4, #28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L4:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	dns_resource_record_new
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L7:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	ldr	r2, .L57+20
	ldr	r2, [r2]
	str	r2, [r3]
.L6:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-24]
	add	r0, r3, #24
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r3, #16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #16]
	bl	dns_resource_record_new_reverse
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L52
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	ldr	r2, .L57+20
	ldr	r2, [r2]
	str	r2, [r3]
.L8:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #24]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #24]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #28]
	mov	r3, #1
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L10
	ldr	r1, .L57+24
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
.L10:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #24]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #24]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #24]
	mov	r3, #0
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L12
	ldr	r1, .L57+28
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
	b	.L12
.L3:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #24]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L14:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #28]
.L13:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #24]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L15:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #24]
.L12:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L16
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	link_address_relevant
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [r3, #4]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #4]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L57+8
	ldr	r0, [r3]
	ldr	r3, .L57+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r4, [r3, #12]
	bl	dns_resource_key_new
	mov	r3, r0
	str	r3, [r4, #24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L17:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	dns_resource_record_new
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L19:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldr	r2, .L57+32
	ldr	r2, [r2]
	str	r2, [r3]
.L18:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-24]
	add	r0, r3, #4
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r3, #16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #8]
	bl	dns_resource_record_new_reverse
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L53
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, .L57+32
	ldr	r2, [r2]
	str	r2, [r3]
.L20:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #20]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #12]
	mov	r3, #1
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L22
	ldr	r1, .L57+36
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
.L22:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #20]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	mov	r3, #0
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L2
	ldr	r1, .L57+40
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
	b	.L2
.L16:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #20]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L25:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #12]
.L24:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #20]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L26:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
.L2:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, .L57+44
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L54
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L28
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	link_address_relevant
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [r3]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L57+8
	ldr	r0, [r3]
	ldr	r3, .L57+48
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r4, [r3, #12]
	bl	dns_resource_key_new
	mov	r3, r0
	str	r3, [r4, #20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L29:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	dns_resource_record_new
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L31:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	ldr	r2, .L57+20
	ldr	r2, [r2]
	str	r2, [r3]
.L30:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-24]
	add	r0, r3, #24
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r3, #16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #16]
	bl	dns_resource_record_new_reverse
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L55
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	ldr	r2, .L57+20
	ldr	r2, [r2]
	str	r2, [r3]
.L32:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #16]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #28]
	mov	r3, #1
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L34
	ldr	r1, .L57+52
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
.L34:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #16]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #24]
	mov	r3, #0
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L36
	ldr	r1, .L57+56
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
	b	.L36
.L28:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L38:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #28]
.L37:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L39:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #24]
.L36:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L40
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	link_address_relevant
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r2, [r3, #4]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #4]
	ldr	r3, .L57+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L57+8
	ldr	r0, [r3]
	ldr	r3, .L57+48
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r4, [r3, #12]
	bl	dns_resource_key_new
	mov	r3, r0
	str	r3, [r4, #12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L41:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	dns_resource_record_new
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L57+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L43:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldr	r2, .L57+32
	ldr	r2, [r2]
	str	r2, [r3]
.L42:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-24]
	add	r0, r3, #4
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r3, #16
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #12]
	ldr	r3, [r3, #8]
	bl	dns_resource_record_new_reverse
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L56
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, .L57+32
	ldr	r2, [r2]
	str	r2, [r3]
.L44:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #12]
	mov	r3, #1
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L46
	ldr	r1, .L57+60
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
.L46:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	mov	r3, #0
	bl	dns_zone_put
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L27
	ldr	r1, .L57+64
	ldr	r0, [fp, #-16]
	bl	log_warning_errno
	b	.L27
.L40:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L49:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #12]
.L48:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r1, r3
	mov	r0, r2
	bl	dns_zone_remove_rr
.L50:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	dns_resource_record_unref
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	b	.L54
.L27:
	b	.L54
.L52:
	nop
	b	.L5
.L53:
	nop
	b	.L5
.L55:
	nop
	b	.L5
.L56:
	nop
.L5:
	ldr	r1, .L57+68
	ldr	r0, [fp, #-16]
	bl	log_debug_errno
	b	.L1
.L54:
	nop
.L1:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L58:
	.align	2
.L57:
	.word	AF_INET
	.word	RESOLVE_SUPPORT_YES
	.word	DNS_CLASS_IN
	.word	DNS_TYPE_A
	.word	ENOMEM
	.word	LLMNR_DEFAULT_TTL
	.word	.LC0
	.word	.LC1
	.word	MDNS_DEFAULT_TTL
	.word	.LC2
	.word	.LC3
	.word	AF_INET6
	.word	DNS_TYPE_AAAA
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	link_address_add_rrs, .-link_address_add_rrs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
