	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_jedec
_parse_jedec:                           ## @parse_jedec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CISTPL_MAX_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ecx, %ecx
	testl	%r8d, %r8d
	jle	LBB0_5
## %bb.1:
	movq	8(%rdi), %rdx
	movslq	(%rdi), %rax
	leaq	(%rdx,%rax,8), %r9
	addq	$-16, %r9
	cmpq	%rdx, %r9
	jb	LBB0_5
## %bb.2:
	movq	8(%rsi), %r10
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi), %rax
	movq	%rax, 8(%r10,%rdi)
	movq	8(%rdx,%rdi), %rax
	movq	%rax, (%r10,%rdi)
	incq	%rcx
	cmpq	%r8, %rcx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rdx,%rdi), %rax
	addq	$16, %rax
	addq	$16, %rdi
	cmpq	%r9, %rax
	jbe	LBB0_3
LBB0_5:
	movl	%ecx, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CISTPL_MAX_DEVICES,4,2         ## @CISTPL_MAX_DEVICES
	.no_dead_strip	_parse_jedec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_jedec
_parse_jedec:                           ; @parse_jedec
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldrsw	x9, [x0]
	add	x10, x8, x9, lsl #3
Lloh0:
	adrp	x9, _CISTPL_MAX_DEVICES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CISTPL_MAX_DEVICES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	x11, x10, #16
	cmp	w9, #1
	ccmp	x11, x8, #0, ge
	b.hs	LBB0_2
; %bb.1:
	mov	w10, #0
	b	LBB0_5
LBB0_2:
	mov	x10, #0
	ldr	x12, [x1, #8]
	add	x12, x12, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8]
	str	x13, [x12]
	ldr	x13, [x8, #8]
	stur	x13, [x12, #-8]
	add	x10, x10, #1
	cmp	x10, x9
	b.hs	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #16
	add	x12, x12, #16
	cmp	x8, x11
	b.ls	LBB0_3
LBB0_5:
	str	w10, [x1]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CISTPL_MAX_DEVICES,4,2         ; @CISTPL_MAX_DEVICES
	.no_dead_strip	_parse_jedec
.subsections_via_symbols
