	.file	"extr_rpcdname.c_get_default_domain.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_default_domain, @function
get_default_domain:
.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
	sub	rsp, 280
	.cfi_def_cfa_offset 304
	mov	r12, QWORD PTR default_domain[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 264[rsp], rax
	xor	eax, eax
	test	r12, r12
	je	.L11
.L1:
	mov	rax, QWORD PTR 264[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 280
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rbp, rsp
	mov	esi, 256
	mov	rdi, rbp
	call	getdomainname@PLT
	test	rax, rax
	js	.L1
	mov	rdi, rbp
	call	strlen@PLT
	test	eax, eax
	jle	.L1
	mov	rdi, rbp
	call	strlen@PLT
	lea	edi, 1[rax]
	call	malloc@PLT
	mov	QWORD PTR default_domain[rip], rax
	mov	rdi, rax
	test	rax, rax
	je	.L1
	mov	rsi, rbp
	call	strcpy@PLT
	mov	r12, QWORD PTR default_domain[rip]
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_default_domain, .-get_default_domain
	.comm	default_domain,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_rpcdname.c_get_default_domain.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_default_domain, %function
get_default_domain:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L14
	ldr	r3, .L14+4
	ldr	r4, [r5]
	sub	sp, sp, #264
	cmp	r4, #0
	ldr	r3, [r3]
	str	r3, [sp, #260]
	mov	r3,#0
	beq	.L12
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #260]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #264
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	mov	r1, #256
	add	r0, sp, #4
	bl	getdomainname
	cmp	r0, #0
	blt	.L1
	add	r0, sp, #4
	bl	strlen
	cmp	r0, #0
	beq	.L1
	add	r6, r0, #1
	mov	r0, r6
	bl	malloc
	cmp	r0, #0
	mov	r4, r0
	str	r0, [r5]
	beq	.L1
	mov	r2, r6
	add	r1, sp, #4
	bl	memcpy
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	default_domain
	.word	.LC0
	.size	get_default_domain, .-get_default_domain
	.comm	default_domain,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
