	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioc4_variant
_ioc4_variant:                          ## @ioc4_variant
	.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
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_PCI_VENDOR_ID_QLOGIC@GOTPCREL(%rip), %r12
	movq	_PCI_DEVICE_ID_QLOGIC_ISP12160@GOTPCREL(%rip), %r15
	movq	_IOC4_VARIANT_IO9@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	(%r15), %esi
	movq	%rbx, %rdx
	callq	_pci_get_device
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	callq	_PCI_SLOT
	xorl	%ecx, %ecx
	cmpl	$3, %eax
	sete	%cl
	jmp	LBB0_10
LBB0_2:
	xorl	%ebx, %ebx
	movq	_PCI_VENDOR_ID_VITESSE@GOTPCREL(%rip), %r13
	movq	_PCI_DEVICE_ID_VITESSE_VSC7174@GOTPCREL(%rip), %r15
	movq	_IOC4_VARIANT_PCI_RT@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	(%r15), %esi
	movq	%rbx, %rdx
	callq	_pci_get_device
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %edi
	callq	_PCI_SLOT
	xorl	%ecx, %ecx
	cmpl	$3, %eax
	sete	%cl
	jmp	LBB0_6
LBB0_7:
	movq	_IOC4_VARIANT_IO10@GOTPCREL(%rip), %r13
LBB0_11:
	movq	%rbx, %rdi
	callq	_pci_dev_put
	movq	%r13, %r12
LBB0_12:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_QLOGIC,4,2       ## @PCI_VENDOR_ID_QLOGIC
	.comm	_PCI_DEVICE_ID_QLOGIC_ISP12160,4,2 ## @PCI_DEVICE_ID_QLOGIC_ISP12160
	.comm	_IOC4_VARIANT_IO9,4,2           ## @IOC4_VARIANT_IO9
	.comm	_PCI_VENDOR_ID_VITESSE,4,2      ## @PCI_VENDOR_ID_VITESSE
	.comm	_PCI_DEVICE_ID_VITESSE_VSC7174,4,2 ## @PCI_DEVICE_ID_VITESSE_VSC7174
	.comm	_IOC4_VARIANT_IO10,4,2          ## @IOC4_VARIANT_IO10
	.comm	_IOC4_VARIANT_PCI_RT,4,2        ## @IOC4_VARIANT_PCI_RT
	.no_dead_strip	_ioc4_variant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioc4_variant
_ioc4_variant:                          ; @ioc4_variant
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	mov	x19, #0
Lloh0:
	adrp	x22, _PCI_VENDOR_ID_QLOGIC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PCI_VENDOR_ID_QLOGIC@GOTPAGEOFF]
Lloh2:
	adrp	x23, _PCI_DEVICE_ID_QLOGIC_ISP12160@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PCI_DEVICE_ID_QLOGIC_ISP12160@GOTPAGEOFF]
Lloh4:
	adrp	x21, _IOC4_VARIANT_IO9@GOTPAGE
Lloh5:
	ldr	x21, [x21, _IOC4_VARIANT_IO9@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	cbnz	wzr, LBB0_11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	w1, [x23]
	mov	x2, x19
	bl	_pci_get_device
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	bl	_PCI_SLOT
	cmp	w0, #3
	cset	w8, eq
	cbz	w8, LBB0_2
	b	LBB0_11
LBB0_5:
Lloh6:
	adrp	x23, _PCI_VENDOR_ID_VITESSE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PCI_VENDOR_ID_VITESSE@GOTPAGEOFF]
Lloh8:
	adrp	x24, _PCI_DEVICE_ID_VITESSE_VSC7174@GOTPAGE
Lloh9:
	ldr	x24, [x24, _PCI_DEVICE_ID_VITESSE_VSC7174@GOTPAGEOFF]
Lloh10:
	adrp	x21, _IOC4_VARIANT_PCI_RT@GOTPAGE
Lloh11:
	ldr	x21, [x21, _IOC4_VARIANT_PCI_RT@GOTPAGEOFF]
Lloh12:
	adrp	x22, _IOC4_VARIANT_IO10@GOTPAGE
Lloh13:
	ldr	x22, [x22, _IOC4_VARIANT_IO10@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19]
	bl	_PCI_SLOT
	cmp	w0, #3
	cset	w8, eq
	cbnz	w8, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	w1, [x24]
	mov	x2, x19
	bl	_pci_get_device
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x19, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #0
	cbz	w8, LBB0_7
LBB0_10:
	mov	x21, x22
LBB0_11:
	mov	x0, x19
	bl	_pci_dev_put
LBB0_12:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_QLOGIC,4,2       ; @PCI_VENDOR_ID_QLOGIC
	.comm	_PCI_DEVICE_ID_QLOGIC_ISP12160,4,2 ; @PCI_DEVICE_ID_QLOGIC_ISP12160
	.comm	_IOC4_VARIANT_IO9,4,2           ; @IOC4_VARIANT_IO9
	.comm	_PCI_VENDOR_ID_VITESSE,4,2      ; @PCI_VENDOR_ID_VITESSE
	.comm	_PCI_DEVICE_ID_VITESSE_VSC7174,4,2 ; @PCI_DEVICE_ID_VITESSE_VSC7174
	.comm	_IOC4_VARIANT_IO10,4,2          ; @IOC4_VARIANT_IO10
	.comm	_IOC4_VARIANT_PCI_RT,4,2        ; @IOC4_VARIANT_PCI_RT
	.no_dead_strip	_ioc4_variant
.subsections_via_symbols
