	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_vpd_find_tag               ## -- Begin function pci_vpd_find_tag
	.p2align	4, 0x90
_pci_vpd_find_tag:                      ## @pci_vpd_find_tag
	.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
	cmpl	%edx, %esi
	jae	LBB0_10
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%ebx, %eax
	movl	%eax, %r13d
	cmpl	%r15d, %eax
	jae	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rax
	leaq	(%r12,%rax,4), %rdi
	movl	(%r12,%rax,4), %eax
	movq	_PCI_VPD_LRDT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PCI_VPD_LRDT_TAG_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	%r13d, %ebx
	cmpl	%r15d, %ebx
	ja	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r14d, %eax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_pci_vpd_lrdt_size
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PCI_VPD_SRDT_LEN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	cmpl	%r14d, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PCI_VPD_SRDT_END@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PCI_VPD_SRDT_TAG_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_pci_vpd_srdt_size
	addq	%rbx, %rax
	movl	%r13d, %ebx
	jmp	LBB0_9
LBB0_10:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VPD_LRDT,4,2               ## @PCI_VPD_LRDT
	.comm	_PCI_VPD_LRDT_TAG_SIZE,4,2      ## @PCI_VPD_LRDT_TAG_SIZE
	.comm	_PCI_VPD_SRDT_LEN_MASK,4,2      ## @PCI_VPD_SRDT_LEN_MASK
	.comm	_PCI_VPD_SRDT_END,4,2           ## @PCI_VPD_SRDT_END
	.comm	_PCI_VPD_SRDT_TAG_SIZE,8,3      ## @PCI_VPD_SRDT_TAG_SIZE
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_vpd_find_tag               ; -- Begin function pci_vpd_find_tag
	.p2align	2
_pci_vpd_find_tag:                      ; @pci_vpd_find_tag
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w1, w2
	b.hs	LBB0_10
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _PCI_VPD_LRDT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PCI_VPD_LRDT@GOTPAGEOFF]
Lloh2:
	adrp	x24, _PCI_VPD_SRDT_LEN_MASK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PCI_VPD_SRDT_LEN_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x25, _PCI_VPD_SRDT_END@GOTPAGE
Lloh5:
	ldr	x25, [x25, _PCI_VPD_SRDT_END@GOTPAGEOFF]
Lloh6:
	adrp	x26, _PCI_VPD_SRDT_TAG_SIZE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _PCI_VPD_SRDT_TAG_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x27, _PCI_VPD_LRDT_TAG_SIZE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _PCI_VPD_LRDT_TAG_SIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, w0
	cmp	w22, w20
	b.hs	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, w22, sxtw #2
	ldr	w8, [x0]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x27]
	add	w28, w9, w22
	cmp	w28, w20
	b.hi	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, w19
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_pci_vpd_lrdt_size
	mov	x22, x28
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x24]
	bic	w8, w8, w9
	cmp	w8, w19
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x28, [x26]
	bl	_pci_vpd_srdt_size
	add	x0, x0, x28
	b	LBB0_2
LBB0_10:
Lloh10:
	adrp	x8, _ENOENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VPD_LRDT,4,2               ; @PCI_VPD_LRDT
	.comm	_PCI_VPD_LRDT_TAG_SIZE,4,2      ; @PCI_VPD_LRDT_TAG_SIZE
	.comm	_PCI_VPD_SRDT_LEN_MASK,4,2      ; @PCI_VPD_SRDT_LEN_MASK
	.comm	_PCI_VPD_SRDT_END,4,2           ; @PCI_VPD_SRDT_END
	.comm	_PCI_VPD_SRDT_TAG_SIZE,8,3      ; @PCI_VPD_SRDT_TAG_SIZE
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
