	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__fdt_check_prop_offset         ## -- Begin function _fdt_check_prop_offset
	.p2align	4, 0x90
__fdt_check_prop_offset:                ## @_fdt_check_prop_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%esi, -4(%rbp)
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	movq	_FDT_TAGSIZE@GOTPCREL(%rip), %rcx
	movl	%esi, %eax
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	jne	LBB0_3
## %bb.2:
	leaq	-4(%rbp), %rdx
	callq	_fdt_next_tag
	movq	_FDT_PROP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movl	-4(%rbp), %eax
	jmp	LBB0_5
LBB0_3:
	movq	_FDT_ERR_BADOFFSET@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_TAGSIZE,4,2                ## @FDT_TAGSIZE
	.comm	_FDT_PROP,8,3                   ## @FDT_PROP
	.comm	_FDT_ERR_BADOFFSET,4,2          ## @FDT_ERR_BADOFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__fdt_check_prop_offset         ; -- Begin function _fdt_check_prop_offset
	.p2align	2
__fdt_check_prop_offset:                ; @_fdt_check_prop_offset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w1, [x29, #-4]
	tbnz	w1, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _FDT_TAGSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_TAGSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w9, w1, w8
	msub	w8, w9, w8, w1
	cbnz	w8, LBB0_4
; %bb.2:
	sub	x2, x29, #4
	bl	_fdt_next_tag
Lloh3:
	adrp	x8, _FDT_PROP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FDT_PROP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldur	w0, [x29, #-4]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _FDT_ERR_BADOFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FDT_ERR_BADOFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_TAGSIZE,4,2                ; @FDT_TAGSIZE
	.comm	_FDT_PROP,8,3                   ; @FDT_PROP
	.comm	_FDT_ERR_BADOFFSET,4,2          ; @FDT_ERR_BADOFFSET
.subsections_via_symbols
