	.file	"extr_version.c_emit_first_line.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	emit_first_line, @function
emit_first_line:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rsi, rsi
	je	.L9
.L2:
	mov	esi, DWORD PTR NL[rip]
	mov	rdi, rbp
	call	strchr@PLT
	mov	rdx, rax
	test	rax, rax
	je	.L10
	sub	rdx, rbp
	mov	rcx, r12
	mov	esi, 1
	mov	rdi, rbp
	call	fwrite@PLT
.L5:
	mov	edi, DWORD PTR NL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	fputc@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rbp, rdx
	test	rdx, rdx
	jne	.L2
	test	rcx, rcx
	jne	.L11
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	call	fputs@PLT
	jmp	.L5
.L11:
	mov	rbp, rcx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	emit_first_line, .-emit_first_line
	.comm	NL,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_version.c_emit_first_line.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit_first_line, %function
emit_first_line:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r1, #0
	mov	r5, r0
	beq	.L10
.L2:
	ldr	r6, .L12
	mov	r0, r4
	ldr	r1, [r6]
	bl	strchr
	cmp	r0, #0
	beq	.L11
	sub	r2, r0, r4
	mov	r3, r5
	mov	r0, r4
	mov	r1, #1
	bl	fwrite
	mov	r1, r5
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	fputc
.L10:
	cmp	r2, #0
	movne	r4, r2
	bne	.L2
	cmp	r3, #0
	movne	r4, r3
	popeq	{r4, r5, r6, pc}
	b	.L2
.L11:
	mov	r1, r5
	mov	r0, r4
	bl	fputs
	mov	r1, r5
	ldr	r0, [r6]
	pop	{r4, r5, r6, lr}
	b	fputc
.L13:
	.align	2
.L12:
	.word	NL
	.size	emit_first_line, .-emit_first_line
	.comm	NL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
