	.file	"extr_util.c_tomoyo_get_domainname.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tomoyo_get_domainname
	.type	tomoyo_get_domainname, @function
tomoyo_get_domainname:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, QWORD PTR [rdi]
	mov	rax, rbp
.L3:
	movzx	edx, BYTE PTR [rax]
	test	dl, dl
	je	.L11
.L5:
	lea	rcx, 1[rax]
	cmp	dl, 32
	jne	.L7
	cmp	BYTE PTR 1[rax], 47
	lea	rdx, 2[rax]
	je	.L8
	mov	BYTE PTR [rax], 0
	mov	QWORD PTR [rdi], rcx
	mov	rdi, rbp
	call	tomoyo_correct_domain@PLT
	test	rax, rax
	jne	.L12
.L6:
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rax, rcx
	movzx	edx, BYTE PTR [rax]
	test	dl, dl
	jne	.L5
.L11:
	mov	rcx, rax
	mov	QWORD PTR [rdi], rcx
	mov	rdi, rbp
	call	tomoyo_correct_domain@PLT
	test	rax, rax
	je	.L6
.L12:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	tomoyo_get_name@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, rdx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	tomoyo_get_domainname, .-tomoyo_get_domainname
	.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_util.c_tomoyo_get_domainname.c"
	.text
	.align	2
	.global	tomoyo_get_domainname
	.syntax unified
	.arm
	.fpu softvfp
	.type	tomoyo_get_domainname, %function
tomoyo_get_domainname:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0]
	mov	r3, r4
.L3:
	mov	r1, r3
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L12
	cmp	r2, #32
	mov	r2, r3
	bne	.L3
	ldrb	ip, [r1, #1]	@ zero_extendqisi2
	add	r3, r1, #2
	cmp	ip, #47
	beq	.L3
	mov	r3, #0
	strb	r3, [r1]
.L4:
	str	r2, [r0]
	mov	r0, r4
	bl	tomoyo_correct_domain
	cmp	r0, #0
	popeq	{r4, pc}
	mov	r0, r4
	pop	{r4, lr}
	b	tomoyo_get_name
.L12:
	mov	r2, r1
	b	.L4
	.size	tomoyo_get_domainname, .-tomoyo_get_domainname
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
