	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mic_msi_irq_info_show
_mic_msi_irq_info_show:                 ## @mic_msi_irq_info_show
	.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, %r13
	movq	(%rdi), %r14
	movq	32(%r14), %rbx
	movq	%rbx, %rdi
	callq	_pci_dev_msi_enabled
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	cmpl	$0, (%r14)
	jle	LBB0_14
## %bb.2:
	xorl	%r15d, %r15d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_seq_puts
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_14
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %rcx
	movq	%r15, %rdx
	shlq	$4, %rdx
	leaq	(%rcx,%rdx), %rax
	movq	8(%rcx,%rdx), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
	movq	%rbx, %rax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rbx
	movq	24(%r14), %rax
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*(%rax)
	movl	%eax, %r10d
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rcx
	leaq	L_.str.2(%rip), %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r15
	callq	_seq_printf
	addq	$16, %rsp
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_MIC_NUM_OFFSETS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	leaq	L_.str.5(%rip), %r12
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%rbx), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_seq_printf
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_seq_puts
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.7(%rip), %rdx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_MIC_NUM_OFFSETS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%rbx), %edi
	movq	8(%r14), %rax
	movl	(%rax,%r15,4), %r12d
	callq	_BIT
	xorl	%edx, %edx
	testl	%r12d, %eax
	setne	%dl
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_seq_printf
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_11
	jmp	LBB0_12
LBB0_13:
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	callq	_seq_puts
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %-10d %s %-10d MXAR[%d]: %08X\n"

L_.str.1:                               ## @.str.1
	.asciz	"IRQ:"

L_.str.2:                               ## @.str.2
	.asciz	"Entry:"

L_.str.3:                               ## @.str.3
	.asciz	"%-10s"

L_.str.4:                               ## @.str.4
	.asciz	"offset:"

	.comm	_MIC_NUM_OFFSETS,4,2            ## @MIC_NUM_OFFSETS
L_.str.5:                               ## @.str.5
	.asciz	"%4d "

L_.str.6:                               ## @.str.6
	.asciz	"\n"

L_.str.7:                               ## @.str.7
	.asciz	"count:"

L_.str.8:                               ## @.str.8
	.asciz	"\n\n"

L_.str.9:                               ## @.str.9
	.asciz	"MSI/MSIx interrupts not enabled\n"

	.no_dead_strip	_mic_msi_irq_info_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mic_msi_irq_info_show
_mic_msi_irq_info_show:                 ; @mic_msi_irq_info_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x21, [x20, #32]
	mov	x0, x21
	bl	_pci_dev_msi_enabled
	cbz	x0, LBB0_13
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x28, #0
Lloh0:
	adrp	x23, l_.str.3@PAGE
Lloh1:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh2:
	adrp	x22, _MIC_NUM_OFFSETS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MIC_NUM_OFFSETS@GOTPAGEOFF]
Lloh4:
	adrp	x24, l_.str.5@PAGE
Lloh5:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh6:
	adrp	x26, l_.str.8@PAGE
Lloh7:
	add	x26, x26, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	_seq_puts
	add	x28, x28, #1
	ldrsw	x8, [x20]
	cmp	x28, x8
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x28, lsl #4
	ldr	x27, [x8, #8]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
	mov	x8, x21
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x25, [x8]
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x27
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #32]
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x8, x27, [sp, #16]
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x8, x25, [sp]
	mov	x0, x19
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_seq_printf
Lloh14:
	adrp	x8, l_.str.4@PAGE
Lloh15:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_seq_printf
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w8, #1
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w8, w27, #2
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x24
	bl	_seq_printf
	sub	w27, w27, #1
	cmp	w27, #1
	b.hi	LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_seq_puts
Lloh18:
	adrp	x8, l_.str.7@PAGE
Lloh19:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_seq_printf
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w8, #1
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w0, w27, #2
	ldr	x8, [x20, #8]
	ldr	w25, [x8, x28, lsl #2]
	bl	_BIT
	tst	w0, w25
	cset	w8, ne
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x24
	bl	_seq_printf
	sub	w27, w27, #1
	cmp	w27, #1
	b.hi	LBB0_12
	b	LBB0_3
LBB0_13:
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %-10d %s %-10d MXAR[%d]: %08X\n"

l_.str.1:                               ; @.str.1
	.asciz	"IRQ:"

l_.str.2:                               ; @.str.2
	.asciz	"Entry:"

l_.str.3:                               ; @.str.3
	.asciz	"%-10s"

l_.str.4:                               ; @.str.4
	.asciz	"offset:"

	.comm	_MIC_NUM_OFFSETS,4,2            ; @MIC_NUM_OFFSETS
l_.str.5:                               ; @.str.5
	.asciz	"%4d "

l_.str.6:                               ; @.str.6
	.asciz	"\n"

l_.str.7:                               ; @.str.7
	.asciz	"count:"

l_.str.8:                               ; @.str.8
	.asciz	"\n\n"

l_.str.9:                               ; @.str.9
	.asciz	"MSI/MSIx interrupts not enabled\n"

	.no_dead_strip	_mic_msi_irq_info_show
.subsections_via_symbols
