	.file	"extr_commit.c_opt_parse_porcelain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unsupported porcelain version '%s'"
	.text
	.p2align 4
	.type	opt_parse_porcelain, @function
opt_parse_porcelain:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	edx, edx
	je	.L2
	mov	edx, DWORD PTR STATUS_FORMAT_NONE[rip]
	mov	DWORD PTR [rax], edx
.L22:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	test	rsi, rsi
	je	.L6
	movzx	edx, BYTE PTR [rsi]
	cmp	edx, 118
	je	.L25
.L13:
	movzx	ecx, BYTE PTR [rsi]
	cmp	ecx, 49
	jne	.L8
	cmp	BYTE PTR 1[rsi], 0
	jne	.L8
.L6:
	mov	edx, DWORD PTR STATUS_FORMAT_PORCELAIN[rip]
	mov	DWORD PTR [rax], edx
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	cmp	BYTE PTR 1[rsi], 49
	jne	.L13
	cmp	BYTE PTR 2[rsi], 0
	je	.L6
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	edx, 118
	jne	.L14
	cmp	BYTE PTR 1[rsi], 50
	jne	.L14
	cmp	BYTE PTR 2[rsi], 0
	jne	.L14
.L10:
	mov	edx, DWORD PTR STATUS_FORMAT_PORCELAIN_V2[rip]
	mov	DWORD PTR [rax], edx
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	ecx, 50
	je	.L26
.L12:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	die@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	cmp	BYTE PTR 1[rsi], 0
	je	.L10
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	opt_parse_porcelain, .-opt_parse_porcelain
	.comm	STATUS_FORMAT_PORCELAIN_V2,4,4
	.comm	STATUS_FORMAT_PORCELAIN,4,4
	.comm	STATUS_FORMAT_NONE,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_commit.c_opt_parse_porcelain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unsupported porcelain version '%s'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	opt_parse_porcelain, %function
opt_parse_porcelain:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	ldr	r3, [r0]
	beq	.L2
	ldr	r2, .L27
	ldr	r2, [r2]
	str	r2, [r3]
.L22:
	mov	r0, #0
	bx	lr
.L2:
	cmp	r1, #0
	beq	.L6
	ldrb	r2, [r1]	@ zero_extendqisi2
	cmp	r2, #118
	beq	.L25
.L13:
	ldrb	r0, [r1]	@ zero_extendqisi2
	cmp	r0, #49
	bne	.L8
	ldrb	ip, [r1, #1]	@ zero_extendqisi2
	cmp	ip, #0
	bne	.L8
.L6:
	ldr	r2, .L27+4
	mov	r0, #0
	ldr	r2, [r2]
	str	r2, [r3]
	bx	lr
.L25:
	ldrb	r0, [r1, #1]	@ zero_extendqisi2
	cmp	r0, #49
	bne	.L13
	ldrb	r0, [r1, #2]	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L6
	b	.L13
.L8:
	cmp	r2, #118
	bne	.L14
	ldrb	r2, [r1, #1]	@ zero_extendqisi2
	cmp	r2, #50
	bne	.L14
	ldrb	r2, [r1, #2]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L14
.L10:
	ldr	r2, .L27+8
	ldr	r2, [r2]
	str	r2, [r3]
	b	.L22
.L14:
	cmp	r0, #50
	beq	.L26
.L12:
	push	{r4, lr}
	ldr	r0, .L27+12
	bl	die
	mov	r0, #0
	pop	{r4, pc}
.L26:
	ldrb	r2, [r1, #1]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L10
	b	.L12
.L28:
	.align	2
.L27:
	.word	STATUS_FORMAT_NONE
	.word	STATUS_FORMAT_PORCELAIN
	.word	STATUS_FORMAT_PORCELAIN_V2
	.word	.LC0
	.size	opt_parse_porcelain, .-opt_parse_porcelain
	.comm	STATUS_FORMAT_PORCELAIN_V2,4,4
	.comm	STATUS_FORMAT_PORCELAIN,4,4
	.comm	STATUS_FORMAT_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
