	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_pattern
_check_pattern:                         ## @check_pattern
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NAND_BBT_NO_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rsi
	popq	%rbp
	jmp	_check_pattern_no_oob           ## TAILCALL
LBB0_1:
	movslq	%edx, %rax
	leaq	(%rdi,%rax,4), %rax
	movslq	4(%rcx), %rdx
	leaq	(%rax,%rdx,4), %rdi
	movl	8(%rcx), %edx
	movl	12(%rcx), %esi
	callq	_memcmp
	xorl	%ecx, %ecx
	negq	%rax
	sbbl	%ecx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_BBT_NO_OOB,4,2            ## @NAND_BBT_NO_OOB
	.no_dead_strip	_check_pattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_pattern
_check_pattern:                         ; @check_pattern
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x3]
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:
	mov	x1, x3
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_check_pattern_no_oob
LBB0_2:
	add	x8, x0, w2, sxtw #2
	ldp	w9, w2, [x3, #4]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x0, x8, x9, lsl #2
	ldr	w1, [x3, #12]
	bl	_memcmp
	cmp	x0, #0
	csetm	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_BBT_NO_OOB,4,2            ; @NAND_BBT_NO_OOB
	.no_dead_strip	_check_pattern
.subsections_via_symbols
