	.file	"extr_assembly.c_get_assembly_name_attribute.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_assembly_name_attribute, @function
get_assembly_name_attribute:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	mov	esi, 2
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	MSI_RecordGetString@PLT
	mov	esi, 3
	mov	rdi, r12
	mov	r13, rax
	call	MSI_RecordGetString@PLT
	lea	rdi, fmtW.1946[rip]
	mov	r12, rax
	call	strlenW@PLT
	mov	rdi, r13
	mov	ebx, eax
	call	strlenW@PLT
	mov	rdi, r12
	add	ebx, eax
	call	strlenW@PLT
	mov	rcx, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rbp]
	lea	edi, [rbx+rax]
	lea	r14, [rdx+rcx*4]
	call	msi_alloc@PLT
	mov	DWORD PTR [r14], eax
	test	eax, eax
	jne	.L2
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR ERROR_OUTOFMEMORY[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, nameW.1947[rip]
	call	strcmpiW@PLT
	mov	rdx, QWORD PTR 8[rbp]
	test	eax, eax
	mov	rax, QWORD PTR 0[rbp]
	lea	rcx, 1[rax]
	mov	edi, DWORD PTR [rdx+rax*4]
	mov	QWORD PTR 0[rbp], rcx
	jne	.L4
	mov	rsi, r12
	call	strcpyW@PLT
.L5:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR ERROR_SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rcx, r12
	mov	rdx, r13
	lea	rsi, fmtW.1946[rip]
	call	sprintfW@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	get_assembly_name_attribute, .-get_assembly_name_attribute
	.section	.rodata
	.type	nameW.1947, @object
	.size	nameW.1947, 5
nameW.1947:
	.string	"name"
	.align 8
	.type	fmtW.1946, @object
	.size	fmtW.1946, 8
fmtW.1946:
	.string	"%s=\"%s\""
	.comm	ERROR_SUCCESS,4,4
	.comm	ERROR_OUTOFMEMORY,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_assembly.c_get_assembly_name_attribute.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_assembly_name_attribute, %function
get_assembly_name_attribute:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r1, #2
	mov	r5, r0
	bl	MSI_RecordGetString
	mov	r1, #3
	mov	r6, r0
	mov	r0, r5
	bl	MSI_RecordGetString
	mov	r7, r0
	ldr	r0, .L8
	bl	strlenW
	mov	r5, r0
	mov	r0, r6
	bl	strlenW
	mov	r3, r0
	mov	r0, r7
	add	r5, r5, r3
	bl	strlenW
	add	r0, r5, r0
	ldr	r8, [r4]
	ldr	r5, [r4, #4]
	bl	msi_alloc
	subs	r3, r0, #0
	str	r0, [r5, r8, lsl #2]
	bne	.L2
	ldr	r3, .L8+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r6
	ldr	r1, .L8+8
	bl	strcmpiW
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	add	r0, r3, #1
	str	r0, [r4]
	mov	r1, r7
	ldr	r0, [r2, r3, lsl #2]
	bl	strcpyW
.L5:
	ldr	r3, .L8+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	add	ip, r1, #1
	mov	r3, r7
	mov	r2, r6
	ldr	r0, [r0, r1, lsl #2]
	str	ip, [r4]
	ldr	r1, .L8
	bl	sprintfW
	b	.L5
.L9:
	.align	2
.L8:
	.word	.LANCHOR0
	.word	ERROR_OUTOFMEMORY
	.word	.LANCHOR0+8
	.word	ERROR_SUCCESS
	.size	get_assembly_name_attribute, .-get_assembly_name_attribute
	.comm	ERROR_SUCCESS,4,4
	.comm	ERROR_OUTOFMEMORY,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	fmtW.4230, %object
	.size	fmtW.4230, 8
fmtW.4230:
	.ascii	"%s=\"%s\"\000"
	.type	nameW.4231, %object
	.size	nameW.4231, 5
nameW.4231:
	.ascii	"name\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
