	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_report_fault
_fm10k_report_fault:                    ## @fm10k_report_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$0, -56(%rbp)
	movq	_FM10K_EICR_FAULT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	je	LBB0_7
## %bb.1:
	movq	_FM10K_PCA_FAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %r12
	movq	_FM10K_FAULT_SIZE@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r14
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_fm10k_handle_fault
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	sarl	%eax
	addl	(%r13), %ebx
	cmpl	$1, %r15d
	movl	%eax, %r15d
	jbe	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %r15b
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	*(%r12)
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_6
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_EICR_FAULT_MASK,4,2      ## @FM10K_EICR_FAULT_MASK
	.comm	_FM10K_PCA_FAULT,4,2            ## @FM10K_PCA_FAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error reading fault\n"

	.comm	_FM10K_FAULT_SIZE,8,3           ## @FM10K_FAULT_SIZE
	.no_dead_strip	_fm10k_report_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_report_fault
_fm10k_report_fault:                    ; @fm10k_report_fault
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	str	wzr, [sp, #8]
Lloh0:
	adrp	x8, _FM10K_EICR_FAULT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_EICR_FAULT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w23, w8, w1
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _FM10K_PCA_FAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_PCA_FAULT@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	add	x21, x0, #8
Lloh6:
	adrp	x24, _FM10K_FAULT_SIZE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _FM10K_FAULT_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_fm10k_handle_fault
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w8, w23, #1
	ldr	w9, [x24]
	add	w20, w20, w9
	cmp	w23, #1
	mov	x23, x8
	b.ls	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w23, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	blr	x8
	cbz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	mov	x1, x22
	bl	_dev_err
	b	LBB0_3
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_EICR_FAULT_MASK,4,2      ; @FM10K_EICR_FAULT_MASK
	.comm	_FM10K_PCA_FAULT,4,2            ; @FM10K_PCA_FAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error reading fault\n"

	.comm	_FM10K_FAULT_SIZE,8,3           ; @FM10K_FAULT_SIZE
	.no_dead_strip	_fm10k_report_fault
.subsections_via_symbols
