	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtd_writev                     ## -- Begin function mtd_writev
	.p2align	4, 0x90
_mtd_writev:                            ## @mtd_writev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$0, (%r8)
	movq	_MTD_WRITEABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	movq	_EROFS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	popq	%rbp
	jmp	_default_mtd_writev             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MTD_WRITEABLE,4,2              ## @MTD_WRITEABLE
	.comm	_EROFS,4,2                      ## @EROFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mtd_writev                     ; -- Begin function mtd_writev
	.p2align	2
_mtd_writev:                            ; @mtd_writev
	.cfi_startproc
; %bb.0:
	str	xzr, [x4]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MTD_WRITEABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MTD_WRITEABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x5, [x0, #8]
	cbz	x5, LBB0_4
; %bb.2:
	br	x5
LBB0_3:
Lloh3:
	adrp	x8, _EROFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EROFS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	b	_default_mtd_writev
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MTD_WRITEABLE,4,2              ; @MTD_WRITEABLE
	.comm	_EROFS,4,2                      ; @EROFS
.subsections_via_symbols
