	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtd_parse_jffs2data            ## -- Begin function mtd_parse_jffs2data
	.p2align	4, 0x90
_mtd_parse_jffs2data:                   ## @mtd_parse_jffs2data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_erasesize@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r12), %ebx
	jae	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r13d
	cmpl	$6533, (%r15,%r13)              ## imm = 0x1985
	jne	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r15,%r13), %edi
	callq	_PAD
	movq	%rax, %rbx
	addl	%r13d, %ebx
	movq	8(%r15,%r13), %rax
	movq	_JFFS2_NODETYPE_DIRENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%r14)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, (%r15,%r13)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15,%r13), %rdi
	movl	24(%r15,%r13), %edx
	movq	%r14, %rsi
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15,%r13), %rax
	movq	_target_ino@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15,%r13), %rax
	movq	_last_ino@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_last_ino@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15,%r13), %rax
	movq	_last_version@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_last_version@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_erasesize,4,2                  ## @erasesize
	.comm	_JFFS2_NODETYPE_DIRENT,8,3      ## @JFFS2_NODETYPE_DIRENT
	.comm	_target_ino,8,3                 ## @target_ino
	.comm	_last_ino,8,3                   ## @last_ino
	.comm	_last_version,8,3               ## @last_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtd_parse_jffs2data            ; -- Begin function mtd_parse_jffs2data
	.p2align	2
_mtd_parse_jffs2data:                   ; @mtd_parse_jffs2data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _erasesize@GOTPAGE
Lloh1:
	ldr	x22, [x22, _erasesize@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w23, #0
	mov	w24, #6533
Lloh2:
	adrp	x25, _JFFS2_NODETYPE_DIRENT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _JFFS2_NODETYPE_DIRENT@GOTPAGEOFF]
Lloh4:
	adrp	x26, _last_ino@GOTPAGE
Lloh5:
	ldr	x26, [x26, _last_ino@GOTPAGEOFF]
Lloh6:
	adrp	x27, _last_version@GOTPAGE
Lloh7:
	ldr	x27, [x27, _last_version@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	add	w23, w23, w21
	cmp	w23, w8
	b.hs	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x20, w23, uxtw
	ldr	w8, [x28]
	cmp	w8, w24
	b.ne	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28, #16]
	bl	_PAD
	mov	x21, x0
	ldr	x8, [x28, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x28, #32]
	ldr	w2, [x28, #24]
	mov	x1, x19
	bl	_strncmp
	cbnz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28, #8]
Lloh8:
	adrp	x9, _target_ino@GOTPAGE
Lloh9:
	ldr	x9, [x9, _target_ino@GOTPAGEOFF]
Lloh10:
	str	x8, [x9]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x26]
	ldr	x8, [x28, #8]
	cmp	x9, x8
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [x26]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x27]
	ldr	x8, [x28, #16]
	cmp	x9, x8
	b.ge	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [x27]
	b	LBB0_2
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_erasesize,4,2                  ; @erasesize
	.comm	_JFFS2_NODETYPE_DIRENT,8,3      ; @JFFS2_NODETYPE_DIRENT
	.comm	_target_ino,8,3                 ; @target_ino
	.comm	_last_ino,8,3                   ; @last_ino
	.comm	_last_version,8,3               ; @last_version
.subsections_via_symbols
