	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_elbc_read_byte
_fsl_elbc_read_byte:                    ## @fsl_elbc_read_byte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpq	8(%rax), %rdi
	jge	LBB0_1
## %bb.2:
	leaq	1(%rdi), %rcx
	movq	%rcx, (%rax)
	shlq	$2, %rdi
	addq	24(%rax), %rdi
	popq	%rbp
	jmp	_in_8                           ## TAILCALL
LBB0_1:
	movl	16(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ERR_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read_byte beyond end of buffer\n"

	.comm	_ERR_BYTE,4,2                   ## @ERR_BYTE
	.no_dead_strip	_fsl_elbc_read_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_elbc_read_byte
_fsl_elbc_read_byte:                    ; @fsl_elbc_read_byte
	.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	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	x9, x10, [x8]
	cmp	x9, x10
	b.ge	LBB0_2
; %bb.1:
	ldr	x10, [x8, #24]
	add	x11, x9, #1
	str	x11, [x8]
	add	x0, x10, x9, lsl #2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_in_8
LBB0_2:
	ldr	w0, [x8, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh2:
	adrp	x8, _ERR_BYTE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_BYTE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read_byte beyond end of buffer\n"

	.comm	_ERR_BYTE,4,2                   ; @ERR_BYTE
	.no_dead_strip	_fsl_elbc_read_byte
.subsections_via_symbols
