	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _efi_devpath_match
__efi_devpath_match:                    ## @_efi_devpath_match
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movq	_MEDIA_DEVICE_PATH@GOTPCREL(%rip), %r13
	testl	%r15d, %r15d
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_IsDevicePathType
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_IsDevicePathType
	testq	%rax, %rax
	jne	LBB0_8
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_efi_devpath_match_node
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_IsDevicePathEnd
	testq	%rax, %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_NextDevicePathNode
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_NextDevicePathNode
	movq	%rax, %r12
	testl	%r15d, %r15d
	jne	LBB0_4
	jmp	LBB0_6
LBB0_8:
	movl	$1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_DEVICE_PATH,4,2          ## @MEDIA_DEVICE_PATH
	.no_dead_strip	__efi_devpath_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _efi_devpath_match
__efi_devpath_match:                    ; @_efi_devpath_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	mov	w0, #0
	cbz	x21, LBB0_9
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x19, x2
Lloh0:
	adrp	x22, _MEDIA_DEVICE_PATH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MEDIA_DEVICE_PATH@GOTPAGEOFF]
	cbz	w19, LBB0_5
LBB0_3:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_IsDevicePathType
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IsDevicePathType
	cbnz	x0, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_efi_devpath_match_node
	cbz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_IsDevicePathEnd
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_NextDevicePathNode
	mov	x21, x0
	mov	x0, x20
	bl	_NextDevicePathNode
	mov	x20, x0
	cbnz	w19, LBB0_3
	b	LBB0_5
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_DEVICE_PATH,4,2          ; @MEDIA_DEVICE_PATH
	.no_dead_strip	__efi_devpath_match
.subsections_via_symbols
