	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsl_ocotp_read_4               ## -- Begin function fsl_ocotp_read_4
	.p2align	4, 0x90
_fsl_ocotp_read_4:                      ## @fsl_ocotp_read_4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_FSL_OCOTP_LAST_REG@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_2:
	movq	_ocotp_sc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.6:
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_RD4                            ## TAILCALL
LBB0_3:
	movq	_ocotp_regs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_fsl_ocotp_devmap
	movq	(%r14), %rax
LBB0_5:
	leal	3(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_OCOTP_LAST_REG,4,2         ## @FSL_OCOTP_LAST_REG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fsl_ocotp_read_4: offset out of range"

	.comm	_ocotp_sc,8,3                   ## @ocotp_sc
	.comm	_ocotp_regs,8,3                 ## @ocotp_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsl_ocotp_read_4               ; -- Begin function fsl_ocotp_read_4
	.p2align	2
_fsl_ocotp_read_4:                      ; @fsl_ocotp_read_4
	.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, x0
Lloh0:
	adrp	x8, _FSL_OCOTP_LAST_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSL_OCOTP_LAST_REG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_2:
Lloh5:
	adrp	x8, _ocotp_sc@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ocotp_sc@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_RD4
LBB0_4:
Lloh8:
	adrp	x20, _ocotp_regs@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ocotp_regs@GOTPAGEOFF]
	ldr	x8, [x20]
	cbnz	x8, LBB0_6
; %bb.5:
	bl	_fsl_ocotp_devmap
	ldr	x8, [x20]
LBB0_6:
	add	w9, w19, #3
	cmp	w19, #0
	csel	w9, w9, w19, lt
	asr	w9, w9, #2
	ldr	w0, [x8, w9, sxtw #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_OCOTP_LAST_REG,4,2         ; @FSL_OCOTP_LAST_REG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fsl_ocotp_read_4: offset out of range"

	.comm	_ocotp_sc,8,3                   ; @ocotp_sc
	.comm	_ocotp_regs,8,3                 ; @ocotp_regs
.subsections_via_symbols
