	.file	"extr_write_msft.c_ctl2_alloc_guid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"adding uuid {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}\n"
	.align 8
.LC1:
	.string	"duplicate uuid {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}\n"
	.text
	.p2align 4
	.type	ctl2_alloc_guid, @function
ctl2_alloc_guid:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	lea	r13, 8[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rsi]
	mov	edx, DWORD PTR 20[rsi]
	mov	ecx, DWORD PTR 16[rsi]
	mov	esi, DWORD PTR 24[rsi]
	mov	edi, DWORD PTR 28[rax]
	mov	r9d, DWORD PTR 4[rax]
	push	rdi
	.cfi_def_cfa_offset 56
	mov	edi, DWORD PTR 24[rax]
	push	rdi
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 20[rax]
	push	rdi
	.cfi_def_cfa_offset 72
	mov	edi, DWORD PTR 16[rax]
	push	rdi
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 12[rax]
	push	rdi
	.cfi_def_cfa_offset 88
	mov	edi, DWORD PTR 8[rax]
	push	rdi
	.cfi_def_cfa_offset 96
	mov	r8d, DWORD PTR [rax]
	lea	rdi, .LC0[rip]
	call	chat@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 48
	mov	rdi, r13
	call	ctl2_hash_guid@PLT
	mov	rdx, r13
	mov	rdi, r12
	movsx	rbp, eax
	mov	esi, ebp
	call	ctl2_find_guid@PLT
	cmp	eax, -1
	jne	.L8
	mov	rsi, QWORD PTR MSFT_SEG_GUID[rip]
	xor	ecx, ecx
	mov	edx, 32
	mov	rdi, r12
	call	ctl2_alloc_segment@PLT
	mov	rcx, QWORD PTR MSFT_SEG_GUID[rip]
	movdqu	xmm0, XMMWORD PTR [rbx]
	movsx	rdx, eax
	mov	rax, QWORD PTR 8[r12]
	mov	r13, rdx
	add	rdx, QWORD PTR [rax+rcx*8]
	mov	rax, QWORD PTR [r12]
	movups	XMMWORD PTR [rdx], xmm0
	movdqu	xmm1, XMMWORD PTR 16[rbx]
	lea	rax, [rax+rbp*4]
	movups	XMMWORD PTR 16[rdx], xmm1
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	mov	DWORD PTR [rax], r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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	edi, 2368
	mov	r13d, -1
	call	is_warning_enabled@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[rbx]
	mov	ecx, DWORD PTR 16[rbx]
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 28[rax]
	mov	r9d, DWORD PTR 4[rax]
	push	rdi
	.cfi_def_cfa_offset 56
	mov	edi, DWORD PTR 24[rax]
	push	rdi
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 20[rax]
	push	rdi
	.cfi_def_cfa_offset 72
	mov	edi, DWORD PTR 16[rax]
	push	rdi
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 12[rax]
	push	rdi
	.cfi_def_cfa_offset 88
	mov	edi, DWORD PTR 8[rax]
	push	rdi
	.cfi_def_cfa_offset 96
	mov	r8d, DWORD PTR [rax]
	lea	rdi, .LC1[rip]
	call	warning@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 48
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ctl2_alloc_guid, .-ctl2_alloc_guid
	.comm	MSFT_SEG_GUID,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_write_msft.c_ctl2_alloc_guid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"adding uuid {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%0"
	.ascii	"2x%02x%02x}\012\000"
	.align	2
.LC1:
	.ascii	"duplicate uuid {%08x-%04x-%04x-%02x%02x-%02x%02x%02"
	.ascii	"x%02x%02x%02x}\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctl2_alloc_guid, %function
ctl2_alloc_guid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	ip, [r1, #4]
	ldr	r3, [r1, #8]
	ldr	r1, [ip, #28]
	sub	sp, sp, #32
	ldr	r2, [r4, #12]
	str	r1, [sp, #28]
	ldr	r1, [ip, #24]
	mov	r5, r0
	str	r1, [sp, #24]
	ldr	r0, [ip, #20]
	ldr	r1, [r4, #16]
	str	r0, [sp, #20]
	ldr	r0, [ip, #16]
	add	r6, r4, #4
	str	r0, [sp, #16]
	ldr	r0, [ip, #12]
	str	r0, [sp, #12]
	ldr	r0, [ip, #8]
	str	r0, [sp, #8]
	ldr	r0, [ip, #4]
	str	r0, [sp, #4]
	ldr	ip, [ip]
	ldr	r0, .L8
	str	ip, [sp]
	bl	chat
	mov	r0, r6
	bl	ctl2_hash_guid
	mov	r2, r6
	mov	r1, r0
	mov	r7, r0
	mov	r0, r5
	bl	ctl2_find_guid
	cmn	r0, #1
	bne	.L7
	ldr	r8, .L8+4
	mov	r3, #0
	ldr	r1, [r8]
	mov	r2, #20
	mov	r0, r5
	bl	ctl2_alloc_segment
	mov	r6, r0
	mov	ip, r4
	ldr	lr, [r5, #4]
	ldr	r4, [r8]
	ldmia	ip!, {r0, r1, r2, r3}
	ldr	r8, [lr, r4, lsl #2]
	ldr	r4, [r5]
	add	lr, r6, r8
	stmia	lr!, {r0, r1, r2, r3}
	ldr	r3, [ip]
	str	r3, [lr]
	ldr	r3, [r4, r7, lsl #2]
	str	r3, [r6, r8]
	str	r6, [r4, r7, lsl #2]
.L1:
	mov	r0, r6
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, #2368
	bl	is_warning_enabled
	cmp	r0, #0
	mvneq	r6, #0
	beq	.L1
	ldr	ip, [r4, #4]
	ldr	r3, [r4, #8]
	ldr	r1, [ip, #28]
	ldr	r2, [r4, #12]
	str	r1, [sp, #28]
	ldr	r0, [ip, #24]
	ldr	r1, [r4, #16]
	str	r0, [sp, #24]
	ldr	lr, [ip, #20]
	ldr	r0, .L8+8
	str	lr, [sp, #20]
	ldr	lr, [ip, #16]
	mvn	r6, #0
	str	lr, [sp, #16]
	ldr	lr, [ip, #12]
	str	lr, [sp, #12]
	ldr	lr, [ip, #8]
	str	lr, [sp, #8]
	ldr	lr, [ip, #4]
	str	lr, [sp, #4]
	ldr	ip, [ip]
	str	ip, [sp]
	bl	warning
	b	.L1
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	MSFT_SEG_GUID
	.word	.LC1
	.size	ctl2_alloc_guid, .-ctl2_alloc_guid
	.comm	MSFT_SEG_GUID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
