	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvebu_pcie_find_port
_mvebu_pcie_find_port:                  ## @mvebu_pcie_find_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movq	8(%rdi), %r8
	movq	(%rsi), %rsi
	movq	%r8, %rax
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, (%rax)
	je	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	addq	$24, %rax
	decq	%rcx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%rax), %rsi
	jl	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	16(%rax), %rsi
	jg	LBB0_4
## %bb.8:
	leaq	(%rdi,%rdi,2), %rax
	leaq	(%r8,%rax,8), %rax
LBB0_9:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mvebu_pcie_find_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvebu_pcie_find_port
_mvebu_pcie_find_port:                  ; @mvebu_pcie_find_port
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
	ldr	x11, [x1]
	mov	w12, #24
	mov	x0, x10
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x0]
	cmp	w13, w2
	b.eq	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	add	x0, x0, #24
	subs	x8, x8, #1
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x11, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x0, #8]
	cmp	x11, x13
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x0, #16]
	cmp	x11, x13
	b.gt	LBB0_3
; %bb.7:
	madd	x0, x9, x12, x10
LBB0_8:
	ret
LBB0_9:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mvebu_pcie_find_port
.subsections_via_symbols
