	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nand_calculate_ecc             ## -- Begin function nand_calculate_ecc
	.p2align	4, 0x90
_nand_calculate_ecc:                    ## @nand_calculate_ecc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	_NAND_ECC_SOFT_HAMMING_SM_ORDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdi), %ecx
	movl	4(%rdi), %esi
	movq	%rax, %rdi
	callq	___nand_calculate_ecc
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_ECC_SOFT_HAMMING_SM_ORDER,4,2 ## @NAND_ECC_SOFT_HAMMING_SM_ORDER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nand_calculate_ecc             ; -- Begin function nand_calculate_ecc
	.p2align	2
_nand_calculate_ecc:                    ; @nand_calculate_ecc
	.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
	mov	x8, x1
Lloh0:
	adrp	x9, _NAND_ECC_SOFT_HAMMING_SM_ORDER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAND_ECC_SOFT_HAMMING_SM_ORDER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldp	w10, w1, [x0]
	and	w3, w9, w10
	mov	x0, x8
	bl	___nand_calculate_ecc
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_ECC_SOFT_HAMMING_SM_ORDER,4,2 ; @NAND_ECC_SOFT_HAMMING_SM_ORDER
.subsections_via_symbols
