	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_handle_fault
_fm10k_handle_fault:                    ## @fm10k_handle_fault
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	32(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addl	$-128, %esi
	cmpl	$2, %esi
	ja	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_reltable.fm10k_handle_fault(%rip), %rcx
	movslq	(%rcx,%rax,4), %r12
	addq	%rcx, %r12
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.3(%rip), %r12
LBB0_3:
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movl	4(%rbx), %r15d
	callq	_PCI_SLOT
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_PCI_FUNC
	movl	%eax, (%rsp)
	leaq	L_.str.4(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	%r13d, %r9d
	callq	_dev_warn
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	8(%r14), %r12
	leaq	-1(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r15
	leaq	(%r15,%rbx,8), %r13
	addq	$-8, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	*24(%r14)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	*16(%r14)
	movq	_FM10K_VF_FLAG_MULTI_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*8(%r14)
	movq	-8(%r15,%rbx,8), %rax
	movq	%r12, %rdi
	movq	%r13, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_5:
	addq	$40, %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	"Unknown PCA error"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown THI error"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown FUM error"

L_.str.3:                               ## @.str.3
	.asciz	"Undocumented fault"

L_.str.4:                               ## @.str.4
	.asciz	"%s Address: 0x%llx SpecInfo: 0x%x Func: %02x.%0x\n"

	.comm	_FM10K_VF_FLAG_MULTI_CAPABLE,4,2 ## @FM10K_VF_FLAG_MULTI_CAPABLE
	.comm	_FUM_ADD_DECODE_ERR,4,2         ## @FUM_ADD_DECODE_ERR
	.comm	_FUM_BAD_VF_QACCESS,4,2         ## @FUM_BAD_VF_QACCESS
	.comm	_FUM_CSR_TIMEOUT,4,2            ## @FUM_CSR_TIMEOUT
	.comm	_FUM_INVALID_ALIGN,4,2          ## @FUM_INVALID_ALIGN
	.comm	_FUM_INVALID_BE,4,2             ## @FUM_INVALID_BE
	.comm	_FUM_INVALID_LENGTH,4,2         ## @FUM_INVALID_LENGTH
	.comm	_FUM_INVALID_TYPE,4,2           ## @FUM_INVALID_TYPE
	.comm	_FUM_NO_FAULT,4,2               ## @FUM_NO_FAULT
	.comm	_FUM_QPRC_CRC_ERROR,4,2         ## @FUM_QPRC_CRC_ERROR
	.comm	_FUM_RO_ERROR,4,2               ## @FUM_RO_ERROR
	.comm	_FUM_UNMAPPED_ADDR,4,2          ## @FUM_UNMAPPED_ADDR
	.comm	_PCA_BAD_QACCESS_PF,4,2         ## @PCA_BAD_QACCESS_PF
	.comm	_PCA_BAD_QACCESS_VF,4,2         ## @PCA_BAD_QACCESS_VF
	.comm	_PCA_MALICIOUS_REQ,4,2          ## @PCA_MALICIOUS_REQ
	.comm	_PCA_NO_FAULT,4,2               ## @PCA_NO_FAULT
	.comm	_PCA_POISONED_TLP,4,2           ## @PCA_POISONED_TLP
	.comm	_PCA_TLP_ABORT,4,2              ## @PCA_TLP_ABORT
	.comm	_PCA_UNMAPPED_ADDR,4,2          ## @PCA_UNMAPPED_ADDR
	.comm	_THI_MAL_DIS_Q_FAULT,4,2        ## @THI_MAL_DIS_Q_FAULT
	.comm	_THI_NO_FAULT,4,2               ## @THI_NO_FAULT
	.no_dead_strip	_fm10k_handle_fault
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.fm10k_handle_fault
l_reltable.fm10k_handle_fault:
	.long	L_.str.1-l_reltable.fm10k_handle_fault
	.long	L_.str-l_reltable.fm10k_handle_fault
	.long	L_.str.2-l_reltable.fm10k_handle_fault

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_handle_fault
_fm10k_handle_fault:                    ; @fm10k_handle_fault
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x19, x0
	ldr	x21, [x0, #32]
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.fm10k_handle_fault@PAGE
Lloh1:
	add	x9, x9, l_switch.table.fm10k_handle_fault@PAGEOFF
	ldr	x22, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x22, l_.str.3@PAGE
Lloh3:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_3:
	ldr	x26, [x19]
	ldp	w24, w23, [x20, #4]
	ldr	w0, [x20]
	bl	_PCI_SLOT
	mov	x25, x0
	ldr	w0, [x20]
	bl	_PCI_FUNC
	mov	x6, x0
Lloh4:
	adrp	x1, l_.str.4@PAGE
Lloh5:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	bl	_dev_warn
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.4:
	cbz	x26, LBB0_6
; %bb.5:
	add	x20, x19, #8
	sub	w21, w8, #1
	ldr	x8, [x26]
	add	x22, x8, w21, sxtw #3
	ldr	x8, [x19, #24]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	ldr	x8, [x19, #16]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _FM10K_VF_FLAG_MULTI_CAPABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FM10K_VF_FLAG_MULTI_CAPABLE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x9]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	blr	x8
	ldr	x2, [x22]
	mov	x0, x20
	mov	x1, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	br	x2
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown PCA error"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown THI error"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown FUM error"

l_.str.3:                               ; @.str.3
	.asciz	"Undocumented fault"

l_.str.4:                               ; @.str.4
	.asciz	"%s Address: 0x%llx SpecInfo: 0x%x Func: %02x.%0x\n"

	.comm	_FM10K_VF_FLAG_MULTI_CAPABLE,4,2 ; @FM10K_VF_FLAG_MULTI_CAPABLE
	.comm	_FUM_ADD_DECODE_ERR,4,2         ; @FUM_ADD_DECODE_ERR
	.comm	_FUM_BAD_VF_QACCESS,4,2         ; @FUM_BAD_VF_QACCESS
	.comm	_FUM_CSR_TIMEOUT,4,2            ; @FUM_CSR_TIMEOUT
	.comm	_FUM_INVALID_ALIGN,4,2          ; @FUM_INVALID_ALIGN
	.comm	_FUM_INVALID_BE,4,2             ; @FUM_INVALID_BE
	.comm	_FUM_INVALID_LENGTH,4,2         ; @FUM_INVALID_LENGTH
	.comm	_FUM_INVALID_TYPE,4,2           ; @FUM_INVALID_TYPE
	.comm	_FUM_NO_FAULT,4,2               ; @FUM_NO_FAULT
	.comm	_FUM_QPRC_CRC_ERROR,4,2         ; @FUM_QPRC_CRC_ERROR
	.comm	_FUM_RO_ERROR,4,2               ; @FUM_RO_ERROR
	.comm	_FUM_UNMAPPED_ADDR,4,2          ; @FUM_UNMAPPED_ADDR
	.comm	_PCA_BAD_QACCESS_PF,4,2         ; @PCA_BAD_QACCESS_PF
	.comm	_PCA_BAD_QACCESS_VF,4,2         ; @PCA_BAD_QACCESS_VF
	.comm	_PCA_MALICIOUS_REQ,4,2          ; @PCA_MALICIOUS_REQ
	.comm	_PCA_NO_FAULT,4,2               ; @PCA_NO_FAULT
	.comm	_PCA_POISONED_TLP,4,2           ; @PCA_POISONED_TLP
	.comm	_PCA_TLP_ABORT,4,2              ; @PCA_TLP_ABORT
	.comm	_PCA_UNMAPPED_ADDR,4,2          ; @PCA_UNMAPPED_ADDR
	.comm	_THI_MAL_DIS_Q_FAULT,4,2        ; @THI_MAL_DIS_Q_FAULT
	.comm	_THI_NO_FAULT,4,2               ; @THI_NO_FAULT
	.no_dead_strip	_fm10k_handle_fault
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.fm10k_handle_fault
l_switch.table.fm10k_handle_fault:
	.quad	l_.str.1
	.quad	l_.str
	.quad	l_.str.2

.subsections_via_symbols
