	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioc3_adjacent_is_ioc3
_ioc3_adjacent_is_ioc3:                 ## @ioc3_adjacent_is_ioc3
	.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
	movl	16(%rdi), %r14d
	xorl	%ebx, %ebx
	movl	%esi, %edi
	xorl	%esi, %esi
	callq	_PCI_DEVFN
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_pci_get_slot
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rcx
	movq	_PCI_VENDOR_ID_SGI@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	8(%rax), %rcx
	movq	_PCI_DEVICE_ID_SGI_IOC3@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpq	(%rdx), %rcx
	sete	%bl
LBB0_3:
	movq	%rax, %rdi
	callq	_pci_dev_put
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_SGI,8,3          ## @PCI_VENDOR_ID_SGI
	.comm	_PCI_DEVICE_ID_SGI_IOC3,8,3     ## @PCI_DEVICE_ID_SGI_IOC3
	.no_dead_strip	_ioc3_adjacent_is_ioc3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioc3_adjacent_is_ioc3
_ioc3_adjacent_is_ioc3:                 ; @ioc3_adjacent_is_ioc3
	.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
	ldr	w19, [x0, #16]
	mov	x0, x1
	mov	w1, #0
	bl	_PCI_DEVFN
	mov	x1, x0
	mov	x0, x19
	bl	_pci_get_slot
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PCI_VENDOR_ID_SGI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_VENDOR_ID_SGI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _PCI_DEVICE_ID_SGI_IOC3@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_DEVICE_ID_SGI_IOC3@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w19, eq
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	mov	w19, #0
LBB0_5:
	bl	_pci_dev_put
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_SGI,8,3          ; @PCI_VENDOR_ID_SGI
	.comm	_PCI_DEVICE_ID_SGI_IOC3,8,3     ; @PCI_DEVICE_ID_SGI_IOC3
	.no_dead_strip	_ioc3_adjacent_is_ioc3
.subsections_via_symbols
