	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_marker_len
_add_marker_len:                        ## @add_marker_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_NAND_BBT_NO_OOB@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_NAND_BBT_VERSION@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movl	4(%rdi), %eax
	cmpl	$1, %ecx
	sbbl	$-1, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_BBT_NO_OOB,4,2            ## @NAND_BBT_NO_OOB
	.comm	_NAND_BBT_VERSION,4,2           ## @NAND_BBT_VERSION
	.no_dead_strip	_add_marker_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_marker_len
_add_marker_len:                        ; @add_marker_len
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NAND_BBT_NO_OOB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAND_BBT_NO_OOB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x0, #4]
Lloh3:
	adrp	x10, _NAND_BBT_VERSION@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NAND_BBT_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	cinc	w0, w9, ne
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_BBT_NO_OOB,4,2            ; @NAND_BBT_NO_OOB
	.comm	_NAND_BBT_VERSION,4,2           ; @NAND_BBT_VERSION
	.no_dead_strip	_add_marker_len
.subsections_via_symbols
