	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_biospci_find_devclass          ## -- Begin function biospci_find_devclass
	.p2align	4, 0x90
_biospci_find_devclass:                 ## @biospci_find_devclass
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	_V86_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_v86@GOTPCREL(%rip), %rbx
	movl	%eax, 24(%rbx)
	movq	_PCI_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_FIND_PCI_CLASS_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	%edi, 16(%rbx)
	movl	%esi, 4(%rbx)
	xorl	%eax, %eax
	callq	_v86int
	movl	12(%rbx), %edi
	callq	_V86_CY
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.1:
	cmpb	$0, 1(%rbx)
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V86_FLAGS,4,2                  ## @V86_FLAGS
	.comm	_v86,28,2                       ## @v86
	.comm	_PCI_INT,4,2                    ## @PCI_INT
	.comm	_FIND_PCI_CLASS_CODE,4,2        ## @FIND_PCI_CLASS_CODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_biospci_find_devclass          ; -- Begin function biospci_find_devclass
	.p2align	2
_biospci_find_devclass:                 ; @biospci_find_devclass
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, _V86_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V86_FLAGS@GOTPAGEOFF]
Lloh2:
	adrp	x20, _v86@GOTPAGE
Lloh3:
	ldr	x20, [x20, _v86@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #24]
Lloh5:
	adrp	x8, _PCI_INT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCI_INT@GOTPAGEOFF]
Lloh7:
	adrp	x9, _FIND_PCI_CLASS_CODE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FIND_PCI_CLASS_CODE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	stp	w0, w8, [x20, #16]
	stp	w9, w1, [x20]
	bl	_v86int
	ldr	w0, [x20, #12]
	bl	_V86_CY
	cbnz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldr	w8, [x20, #8]
	str	w8, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_V86_FLAGS,4,2                  ; @V86_FLAGS
	.comm	_v86,28,2                       ; @v86
	.comm	_PCI_INT,4,2                    ; @PCI_INT
	.comm	_FIND_PCI_CLASS_CODE,4,2        ; @FIND_PCI_CLASS_CODE
.subsections_via_symbols
