	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parser_trx_data_part_name
_parser_trx_data_part_name:             ## @parser_trx_data_part_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	leaq	-32(%rbp), %rcx
	leaq	-24(%rbp), %r8
	movl	$8, %edx
	callq	_mtd_read
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mtd_is_bitflip
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	-24(%rbp), %rax
	movq	_UBI_EC_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_pr_err
LBB0_3:
	leaq	L_.str.2(%rip), %rax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mtd_read error while parsing (offset: 0x%zX): %d\n"

	.comm	_UBI_EC_MAGIC,8,3               ## @UBI_EC_MAGIC
L_.str.1:                               ## @.str.1
	.asciz	"ubi"

L_.str.2:                               ## @.str.2
	.asciz	"rootfs"

	.no_dead_strip	_parser_trx_data_part_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parser_trx_data_part_name
_parser_trx_data_part_name:             ; @parser_trx_data_part_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x3, sp
	add	x4, sp, #8
	mov	w2, #8
	bl	_mtd_read
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_mtd_is_bitflip
	cbz	w0, LBB0_4
LBB0_2:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _UBI_EC_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UBI_EC_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_pr_err
LBB0_5:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mtd_read error while parsing (offset: 0x%zX): %d\n"

	.comm	_UBI_EC_MAGIC,8,3               ; @UBI_EC_MAGIC
l_.str.1:                               ; @.str.1
	.asciz	"ubi"

l_.str.2:                               ; @.str.2
	.asciz	"rootfs"

	.no_dead_strip	_parser_trx_data_part_name
.subsections_via_symbols
