	.file	"extr_fdt.c_fdt_check_node_offset_.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fdt_check_node_offset_
	.type	fdt_check_node_offset_, @function
fdt_check_node_offset_:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	DWORD PTR 12[rsp], esi
	test	esi, esi
	js	.L4
	mov	eax, esi
	cdq
	idiv	DWORD PTR FDT_TAGSIZE[rip]
	test	edx, edx
	je	.L7
.L4:
	mov	eax, DWORD PTR FDT_ERR_BADOFFSET[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdx, 12[rsp]
	call	fdt_next_tag@PLT
	cmp	rax, QWORD PTR FDT_BEGIN_NODE[rip]
	jne	.L4
	mov	eax, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fdt_check_node_offset_, .-fdt_check_node_offset_
	.comm	FDT_TAGSIZE,4,4
	.comm	FDT_ERR_BADOFFSET,4,4
	.comm	FDT_BEGIN_NODE,8,8
	.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_fdt.c_fdt_check_node_offset_.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.global	fdt_check_node_offset_
	.syntax unified
	.arm
	.fpu softvfp
	.type	fdt_check_node_offset_, %function
fdt_check_node_offset_:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	subs	r4, r1, #0
	sub	sp, sp, #12
	str	r1, [sp, #4]
	blt	.L4
	ldr	r3, .L8
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, r4
	bl	__aeabi_idivmod
	cmp	r1, #0
	beq	.L7
.L4:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	mov	r1, r4
	mov	r0, r5
	add	r2, sp, #4
	bl	fdt_next_tag
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L4
	ldr	r0, [sp, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	.align	2
.L8:
	.word	FDT_TAGSIZE
	.word	FDT_ERR_BADOFFSET
	.word	FDT_BEGIN_NODE
	.size	fdt_check_node_offset_, .-fdt_check_node_offset_
	.comm	FDT_TAGSIZE,4,4
	.comm	FDT_ERR_BADOFFSET,4,4
	.comm	FDT_BEGIN_NODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
