	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DoC_GetHdrOffset
_DoC_GetHdrOffset:                      ## @DoC_GetHdrOffset
	.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_CMD_READOOB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rsi), %ecx
	movl	%ecx, %edx
	shrl	$6, %edx
	andl	$8, %edx
	andl	$-1024, %ecx                    ## imm = 0xFC00
	addl	%edx, %ecx
	addl	$16, %ecx
	movl	%ecx, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_CMD_READOOB,4,2           ## @NAND_CMD_READOOB
	.no_dead_strip	_DoC_GetHdrOffset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DoC_GetHdrOffset
_DoC_GetHdrOffset:                      ; @DoC_GetHdrOffset
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NAND_CMD_READOOB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAND_CMD_READOOB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w8, [x1]
	tst	w8, #0x200
	mov	w9, #24
	mov	w10, #16
	csel	w9, w10, w9, eq
	and	w8, w8, #0xfffffc00
	orr	w8, w9, w8
	str	w8, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_CMD_READOOB,4,2           ; @NAND_CMD_READOOB
	.no_dead_strip	_DoC_GetHdrOffset
.subsections_via_symbols
