	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpt_build_ioint_entries
_mpt_build_ioint_entries:               ## @mpt_build_ioint_entries
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	%rdi, -48(%rbp)
	xorl	%r15d, %r15d
	movq	_MPCT_ENTRY_INT@GOTPCREL(%rip), %r12
	movq	_INTENTRY_TYPE_INT@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	%rax, 24(%rbx)
	movl	%r15d, 12(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$40, %rbx
	incl	%r15d
	cmpl	$16, %r15d
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	(%r12), %eax
	movl	%eax, 32(%rbx)
	movl	$1, (%rbx)
	movl	%r14d, 4(%rbx)
	movl	%r15d, 8(%rbx)
	cmpl	$2, %r15d
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_INTENTRY_TYPE_EXTINT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	%rax, 24(%rbx)
	movl	$0, 12(%rbx)
	jmp	LBB0_10
LBB0_4:
	movq	%rbx, -48(%rbp)
	movq	_PCI_BUSMAX@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	js	LBB0_7
## %bb.5:
	movl	$-1, %ebx
	movq	_mpt_generate_pci_int@GOTPCREL(%rip), %r12
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	(%r12), %esi
	movl	%ebx, %edi
	movq	%r14, %rdx
	callq	_pci_walk_lintr
	cmpl	(%r15), %ebx
	jl	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCT_ENTRY_INT,4,2             ## @MPCT_ENTRY_INT
	.comm	_INTENTRY_TYPE_EXTINT,8,3       ## @INTENTRY_TYPE_EXTINT
	.comm	_INTENTRY_TYPE_INT,8,3          ## @INTENTRY_TYPE_INT
	.comm	_INTENTRY_FLAGS_POLARITY_ACTIVELO,4,2 ## @INTENTRY_FLAGS_POLARITY_ACTIVELO
	.comm	_INTENTRY_FLAGS_TRIGGER_LEVEL,4,2 ## @INTENTRY_FLAGS_TRIGGER_LEVEL
	.comm	_PCI_BUSMAX,4,2                 ## @PCI_BUSMAX
	.comm	_mpt_generate_pci_int,4,2       ## @mpt_generate_pci_int
	.no_dead_strip	_mpt_build_ioint_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpt_build_ioint_entries
_mpt_build_ioint_entries:               ; @mpt_build_ioint_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	w21, #0
Lloh0:
	adrp	x22, _MPCT_ENTRY_INT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MPCT_ENTRY_INT@GOTPAGEOFF]
	str	x0, [sp, #8]
	mov	w23, #1
Lloh2:
	adrp	x24, _INTENTRY_TYPE_INT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _INTENTRY_TYPE_INT@GOTPAGEOFF]
Lloh4:
	adrp	x25, _INTENTRY_TYPE_EXTINT@GOTPAGE
Lloh5:
	ldr	x25, [x25, _INTENTRY_TYPE_EXTINT@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	str	x8, [x19, #24]
	str	w21, [x19, #12]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #40
	add	w21, w21, #1
	cmp	w21, #16
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	w8, [x22]
	str	w8, [x19, #32]
	stp	w23, w20, [x19]
	str	w21, [x19, #8]
	cmp	w21, #2
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w21, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	str	x8, [x19, #24]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	str	x8, [x19, #24]
	str	wzr, [x19, #12]
	b	LBB0_2
LBB0_7:
	str	x19, [sp, #8]
Lloh6:
	adrp	x20, _PCI_BUSMAX@GOTPAGE
Lloh7:
	ldr	x20, [x20, _PCI_BUSMAX@GOTPAGEOFF]
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_10
; %bb.8:
	mov	w19, #-1
Lloh8:
	adrp	x21, _mpt_generate_pci_int@GOTPAGE
Lloh9:
	ldr	x21, [x21, _mpt_generate_pci_int@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w19, w19, #1
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_pci_walk_lintr
	ldr	w8, [x20]
	cmp	w19, w8
	b.lt	LBB0_9
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MPCT_ENTRY_INT,4,2             ; @MPCT_ENTRY_INT
	.comm	_INTENTRY_TYPE_EXTINT,8,3       ; @INTENTRY_TYPE_EXTINT
	.comm	_INTENTRY_TYPE_INT,8,3          ; @INTENTRY_TYPE_INT
	.comm	_INTENTRY_FLAGS_POLARITY_ACTIVELO,4,2 ; @INTENTRY_FLAGS_POLARITY_ACTIVELO
	.comm	_INTENTRY_FLAGS_TRIGGER_LEVEL,4,2 ; @INTENTRY_FLAGS_TRIGGER_LEVEL
	.comm	_PCI_BUSMAX,4,2                 ; @PCI_BUSMAX
	.comm	_mpt_generate_pci_int,4,2       ; @mpt_generate_pci_int
	.no_dead_strip	_mpt_build_ioint_entries
.subsections_via_symbols
