	.file	"extr_ieee.c_ieee_write_id.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: string too long (%d chars, max 65535)"
	.text
	.p2align 4
	.type	ieee_write_id, @function
ieee_write_id:
.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
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	strlen@PLT
	mov	r12, rax
	cmp	rax, 127
	jbe	.L6
	cmp	rax, 254
	jbe	.L22
	cmp	rax, 65534
	ja	.L8
	mov	esi, DWORD PTR ieee_extension_length_2_enum[rip]
	mov	rdi, r13
	call	ieee_write_byte@PLT
	test	eax, eax
	jne	.L9
.L19:
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L22:
	.cfi_restore_state
	mov	esi, DWORD PTR ieee_extension_length_1_enum[rip]
	mov	rdi, r13
	call	ieee_write_byte@PLT
	test	eax, eax
	je	.L19
.L6:
	mov	esi, r12d
	mov	rdi, r13
	mov	r14d, r12d
	call	ieee_write_byte@PLT
	test	eax, eax
	je	.L19
.L3:
	mov	rdx, r13
	mov	esi, r14d
	mov	rdi, rbp
	call	bfd_bwrite@PLT
	cmp	rax, r12
	mov	eax, DWORD PTR FALSE[rip]
	cmove	eax, DWORD PTR TRUE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L9:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, r13
	mov	r14d, r12d
	call	ieee_write_2bytes@PLT
	test	eax, eax
	jne	.L3
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, r13
	call	bfd_get_filename@PLT
	lea	rdi, .LC0[rip]
	mov	ebp, eax
	call	_@PLT
	mov	rdx, r12
	mov	esi, ebp
	mov	edi, eax
	call	_bfd_error_handler@PLT
	mov	edi, DWORD PTR bfd_error_invalid_operation[rip]
	call	bfd_set_error@PLT
	jmp	.L19
	.cfi_endproc
.LFE0:
	.size	ieee_write_id, .-ieee_write_id
	.comm	ieee_extension_length_2_enum,4,4
	.comm	ieee_extension_length_1_enum,4,4
	.comm	bfd_error_invalid_operation,4,4
	.comm	TRUE,4,4
	.comm	FALSE,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_ieee.c_ieee_write_id.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: string too long (%d chars, max 65535)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee_write_id, %function
ieee_write_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r6, r1
	bl	strlen
	cmp	r0, #127
	mov	r4, r0
	bls	.L6
	cmp	r0, #254
	bls	.L22
	ldr	r3, .L23
	cmp	r0, r3
	bhi	.L8
	ldr	r3, .L23+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	ieee_write_byte
	cmp	r0, #0
	bne	.L9
.L19:
	ldr	r3, .L23+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L22:
	ldr	r3, .L23+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	ieee_write_byte
	cmp	r0, #0
	beq	.L19
.L6:
	mov	r1, r4
	mov	r0, r5
	bl	ieee_write_byte
	cmp	r0, #0
	beq	.L19
.L3:
	mov	r2, r5
	mov	r0, r6
	mov	r1, r4
	bl	bfd_bwrite
	cmp	r0, r4
	bne	.L19
	ldr	r3, .L23+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	mov	r1, r4
	mov	r0, r5
	bl	ieee_write_2bytes
	cmp	r0, #0
	bne	.L3
	b	.L19
.L8:
	ldr	r0, .L23+20
	bl	_
	mov	r3, r0
	mov	r0, r5
	mov	r5, r3
	bl	bfd_get_filename
	mov	r2, r4
	mov	r1, r0
	mov	r0, r5
	bl	_bfd_error_handler
	ldr	r3, .L23+24
	ldr	r0, [r3]
	bl	bfd_set_error
	ldr	r3, .L23+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L24:
	.align	2
.L23:
	.word	65534
	.word	ieee_extension_length_2_enum
	.word	FALSE
	.word	ieee_extension_length_1_enum
	.word	TRUE
	.word	.LC0
	.word	bfd_error_invalid_operation
	.size	ieee_write_id, .-ieee_write_id
	.comm	ieee_extension_length_2_enum,4,4
	.comm	ieee_extension_length_1_enum,4,4
	.comm	bfd_error_invalid_operation,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
