	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nand_davinci_calculate_1bit
_nand_davinci_calculate_1bit:           ## @nand_davinci_calculate_1bit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_nand_davinci_readecc_1bit
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	andl	$4095, %ecx                     ## imm = 0xFFF
	shrl	$4, %eax
	andl	$16773120, %eax                 ## imm = 0xFFF000
	orl	%ecx, %eax
	notl	%eax
	movq	%rax, (%rbx)
	movl	%eax, %ecx
	shrl	$8, %ecx
	movq	%rcx, 8(%rbx)
	shrl	$16, %eax
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nand_davinci_calculate_1bit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nand_davinci_calculate_1bit
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nand_davinci_calculate_1bit:           ; @nand_davinci_calculate_1bit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_nand_davinci_readecc_1bit
	lsr	w8, w0, #4
	and	w8, w8, #0xfff000
	bfxil	w8, w0, #0, #12
	mvn	w8, w8
	str	x8, [x19]
	dup.2s	v0, w8
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	ushll.2d	v0, v0, #0
	stur	q0, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nand_davinci_calculate_1bit
.subsections_via_symbols
