	.file	"extr_mtdsplit_jimage.c_jimage_verify_default.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"invalid jImage stag header magic: %04x\n"
	.align 8
.LC1:
	.string	"invalid jImage sch2 header magic: %04x\n"
	.align 8
.LC2:
	.string	"invalid jImage stag header cmark: %02x\n"
	.align 8
.LC3:
	.string	"invalid jImage stag header id: %02x\n"
	.align 8
.LC4:
	.string	"invalid jImage sch2 header version: %02x\n"
	.text
	.p2align 4
	.type	jimage_verify_default, @function
jimage_verify_default:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rsi, QWORD PTR [rdi]
	cmp	rsi, QWORD PTR STAG_MAGIC[rip]
	jne	.L10
	mov	rax, QWORD PTR SCH2_MAGIC[rip]
	cmp	QWORD PTR 8[rdi], rax
	jne	.L11
	mov	rax, QWORD PTR 24[rdi]
	cmp	QWORD PTR 16[rdi], rax
	jne	.L12
	cmp	rax, QWORD PTR STAG_ID[rip]
	jne	.L13
	mov	rdx, QWORD PTR SCH2_VER[rip]
	xor	eax, eax
	cmp	QWORD PTR 32[rdi], rdx
	je	.L1
	lea	rdi, .LC4[rip]
	call	pr_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC1[rip]
	call	pr_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	pr_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	call	pr_debug@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	jimage_verify_default, .-jimage_verify_default
	.comm	STAG_MAGIC,8,8
	.comm	STAG_ID,8,8
	.comm	SCH2_VER,8,8
	.comm	SCH2_MAGIC,8,8
	.comm	EINVAL,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_mtdsplit_jimage.c_jimage_verify_default.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid jImage stag header magic: %04x\012\000"
	.align	2
.LC1:
	.ascii	"invalid jImage sch2 header magic: %04x\012\000"
	.align	2
.LC2:
	.ascii	"invalid jImage stag header cmark: %02x\012\000"
	.align	2
.LC3:
	.ascii	"invalid jImage stag header id: %02x\012\000"
	.align	2
.LC4:
	.ascii	"invalid jImage sch2 header version: %02x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jimage_verify_default, %function
jimage_verify_default:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	ldr	r1, [r0]
	ldr	r3, [r3]
	push	{r4, lr}
	cmp	r1, r3
	bne	.L10
	ldr	r3, .L15+4
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L11
	ldr	r2, [r0, #12]
	ldr	r3, [r0, #8]
	cmp	r3, r2
	bne	.L12
	ldr	r2, .L15+8
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L13
	ldr	r3, .L15+12
	ldr	r2, [r0, #16]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L14
	mov	r0, #0
	pop	{r4, pc}
.L11:
	ldr	r0, .L15+16
	bl	pr_debug
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L10:
	ldr	r0, .L15+24
	bl	pr_debug
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L14:
	ldr	r0, .L15+28
	bl	pr_debug
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L12:
	ldr	r0, .L15+32
	bl	pr_debug
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L13:
	ldr	r0, .L15+36
	bl	pr_debug
	ldr	r3, .L15+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L16:
	.align	2
.L15:
	.word	STAG_MAGIC
	.word	SCH2_MAGIC
	.word	STAG_ID
	.word	SCH2_VER
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.size	jimage_verify_default, .-jimage_verify_default
	.comm	STAG_MAGIC,4,4
	.comm	STAG_ID,4,4
	.comm	SCH2_VER,4,4
	.comm	SCH2_MAGIC,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
