	.file	"extr_resolved-dns-search-domain.c_dns_search_domain_move_back_and_unmark.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown search domain type"
	.text
	.p2align 4
	.globl	dns_search_domain_move_back_and_unmark
	.type	dns_search_domain_move_back_and_unmark, @function
dns_search_domain_move_back_and_unmark:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	assert@PLT
	mov	ecx, DWORD PTR [r12]
	test	ecx, ecx
	je	.L1
	mov	edx, DWORD PTR 36[r12]
	mov	DWORD PTR [r12], 0
	test	edx, edx
	je	.L1
	mov	eax, DWORD PTR 32[r12]
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR 4[r12]
	cmp	eax, 128
	je	.L5
	cmp	eax, 129
	jne	.L6
	mov	rdi, QWORD PTR 24[r12]
	xor	r13d, r13d
	call	assert@PLT
	mov	edi, DWORD PTR domains[rip]
	mov	rdx, r13
	mov	rsi, r12
	call	LIST_FIND_TAIL@PLT
	mov	rax, QWORD PTR 24[r12]
	mov	edi, DWORD PTR domains[rip]
	mov	rdx, r12
	mov	esi, DWORD PTR 16[rax]
	call	LIST_REMOVE@PLT
	mov	rax, QWORD PTR 24[r12]
	mov	rcx, r12
	mov	rdx, r13
	mov	esi, DWORD PTR 16[rax]
.L8:
	mov	edi, DWORD PTR domains[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	LIST_INSERT_AFTER@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.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
.L6:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	assert_not_reached@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR domains[rip]
	xor	r13d, r13d
	mov	rsi, r12
	mov	rdx, r13
	call	LIST_FIND_TAIL@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR domains[rip]
	mov	rdx, r12
	mov	esi, DWORD PTR [rax]
	call	LIST_REMOVE@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	rcx, r12
	mov	rdx, r13
	mov	esi, DWORD PTR [rax]
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	dns_search_domain_move_back_and_unmark, .-dns_search_domain_move_back_and_unmark
	.comm	domains,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_resolved-dns-search-domain.c_dns_search_domain_move_back_and_unmark.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown search domain type\000"
	.text
	.align	2
	.global	dns_search_domain_move_back_and_unmark
	.syntax unified
	.arm
	.fpu softvfp
	.type	dns_search_domain_move_back_and_unmark, %function
dns_search_domain_move_back_and_unmark:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	assert
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r2, #0
	ldr	r3, [r4, #24]
	str	r2, [r4]
	cmp	r3, r2
	popeq	{r4, r5, r6, pc}
	ldr	r3, [r4, #20]
	cmp	r3, r2
	popeq	{r4, r5, r6, pc}
	ldr	r3, [r4, #4]
	cmp	r3, #128
	beq	.L5
	cmp	r3, #129
	beq	.L15
	pop	{r4, r5, r6, lr}
	ldr	r0, .L16
	b	assert_not_reached
.L15:
	mov	r5, r2
	ldr	r6, .L16+4
	ldr	r0, [r4, #16]
	bl	assert
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [r6]
	bl	LIST_FIND_TAIL
	ldr	r3, [r4, #16]
	mov	r2, r4
	ldr	r1, [r3, #12]
	ldr	r0, [r6]
	bl	LIST_REMOVE
	ldr	r3, [r4, #16]
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, [r3, #12]
	mov	r3, r4
	pop	{r4, r5, r6, lr}
	b	LIST_INSERT_AFTER
.L5:
	mov	r5, #0
	ldr	r6, .L16+4
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [r6]
	bl	LIST_FIND_TAIL
	ldr	r3, [r4, #8]
	mov	r2, r4
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	LIST_REMOVE
	ldr	r3, [r4, #8]
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, [r3]
	mov	r3, r4
	pop	{r4, r5, r6, lr}
	b	LIST_INSERT_AFTER
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	domains
	.size	dns_search_domain_move_back_and_unmark, .-dns_search_domain_move_back_and_unmark
	.comm	domains,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
