	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isst_if_get_pci_dev            ## -- Begin function isst_if_get_pci_dev
	.p2align	4, 0x90
_isst_if_get_pci_dev:                   ## @isst_if_get_pci_dev
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edi, %edi
	js	LBB0_5
## %bb.1:
	movl	%esi, %r12d
	cmpl	$1, %esi
	ja	LBB0_5
## %bb.2:
	movl	%edi, %ebx
	movq	_nr_cpu_ids@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_5
## %bb.3:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	xorl	%eax, %eax
	callq	_num_possible_cpus
	cmpl	%ebx, %eax
	jle	LBB0_5
## %bb.4:
	movq	_isst_cpu_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rax
	movl	%r12d, %ecx
	movl	(%rax,%rcx,4), %ebx
	testl	%ebx, %ebx
	js	LBB0_5
## %bb.6:
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_PCI_DEVFN
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_get_domain_bus_and_slot    ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nr_cpu_ids,4,2                 ## @nr_cpu_ids
	.comm	_isst_cpu_info,8,3              ## @isst_cpu_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isst_if_get_pci_dev            ; -- Begin function isst_if_get_pci_dev
	.p2align	2
_isst_if_get_pci_dev:                   ; @isst_if_get_pci_dev
	.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
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x21, x1
	cmp	w1, #1
	b.hi	LBB0_6
; %bb.2:
	mov	x22, x0
Lloh0:
	adrp	x8, _nr_cpu_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nr_cpu_ids@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_6
; %bb.3:
	mov	x19, x3
	mov	x20, x2
	bl	_num_possible_cpus
	cmp	w0, w22
	b.le	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _isst_cpu_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _isst_cpu_info@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, uxtw #3]
	ldr	w21, [x8, w21, uxtw #2]
	tbnz	w21, #31, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_PCI_DEVFN
	mov	x2, x0
	mov	w0, #0
	mov	x1, x21
	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
	b	_pci_get_domain_bus_and_slot
LBB0_6:
	mov	x0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_nr_cpu_ids,4,2                 ; @nr_cpu_ids
	.comm	_isst_cpu_info,8,3              ; @isst_cpu_info
.subsections_via_symbols
