	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_device_path
_validate_device_path:                  ## @validate_device_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpq	$24, %rcx
	jae	LBB0_1
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-24(%rcx), %r10
	movq	_EFI_DEV_END_PATH@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_EFI_DEV_END_PATH2@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_EFI_DEV_END_ENTIRE@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	xorl	%eax, %eax
	xorl	%edi, %edi
	xorl	%r15d, %r15d
	movq	%rdx, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r9, 16(%r14)
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%ebx, %r15d
	movslq	%r15d, %rdi
	leaq	(%rdx,%rdi,4), %r14
	cmpq	%rdi, %r10
	jb	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rdi,4), %rbx
	cmpq	$24, %rbx
	jb	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rsi
	subq	%rdi, %rsi
	cmpq	%rbx, %rsi
	jb	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rdi
	cmpq	%r11, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, %rdi
	jne	LBB0_8
	jmp	LBB0_6
LBB0_7:
	movl	$1, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_EFI_DEV_END_PATH,8,3           ## @EFI_DEV_END_PATH
	.comm	_EFI_DEV_END_PATH2,8,3          ## @EFI_DEV_END_PATH2
	.comm	_EFI_DEV_END_ENTIRE,8,3         ## @EFI_DEV_END_ENTIRE
	.no_dead_strip	_validate_device_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_device_path
_validate_device_path:                  ; @validate_device_path
	.cfi_startproc
; %bb.0:
	subs	x8, x3, #24
	b.hs	LBB0_2
LBB0_1:
	mov	w0, #0
	ret
LBB0_2:
	mov	x13, #0
	mov	w9, #0
Lloh0:
	adrp	x10, _EFI_DEV_END_PATH@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EFI_DEV_END_PATH@GOTPAGEOFF]
Lloh2:
	adrp	x11, _EFI_DEV_END_PATH2@GOTPAGE
Lloh3:
	ldr	x11, [x11, _EFI_DEV_END_PATH2@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _EFI_DEV_END_ENTIRE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _EFI_DEV_END_ENTIRE@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	mov	x14, x2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w15, w9
	sxtw	x13, w9
	add	x14, x2, w9, sxtw #2
	cmp	x8, x13
	b.lo	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x2, x13, lsl #2]
	sxtw	x16, w15
	sub	x13, x3, x13
	cmp	w15, #24
	ccmp	x13, x16, #0, hs
	b.lo	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x14, #8]
	cmp	x13, x10
	ccmp	x13, x11, #4, ne
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x14, #16]
	cmp	x13, x12
	b.ne	LBB0_3
; %bb.7:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EFI_DEV_END_PATH,8,3           ; @EFI_DEV_END_PATH
	.comm	_EFI_DEV_END_PATH2,8,3          ; @EFI_DEV_END_PATH2
	.comm	_EFI_DEV_END_ENTIRE,8,3         ; @EFI_DEV_END_ENTIRE
	.no_dead_strip	_validate_device_path
.subsections_via_symbols
