	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_fault_init_debugfs        ## -- Begin function hfi1_fault_init_debugfs
	.p2align	4, 0x90
_hfi1_fault_init_debugfs:               ## @hfi1_fault_init_debugfs
	.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
	movq	%rdi, %rbx
	movq	88(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$96, %edi
	callq	_kzalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	$1, 40(%rax)
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 64(%rax)
	movl	$32, 44(%rax)
	movq	$0, (%rax)
	movl	$0, 28(%rax)
	movq	$0, 80(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rax)
	movq	_HFI1_FAULT_DIR_TXRX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movl	$0, 8(%rax)
	movl	72(%rax), %edi
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	callq	_bitmap_zero
	movq	16(%rbx), %rdx
	addq	$40, %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_fault_create_debugfs_attr
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	callq	_kfree
	movq	$0, 16(%rbx)
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	%r14, 32(%rdi)
	leaq	L_.str.1(%rip), %rdi
	movq	__fault_stats_file_ops@GOTPCREL(%rip), %r8
	movl	$292, %esi                      ## imm = 0x124
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movq	16(%rbx), %rcx
	leaq	L_.str.2(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%r14, %rdx
	callq	_debugfs_create_bool
	movq	16(%rbx), %rcx
	addq	$8, %rcx
	leaq	L_.str.3(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%r14, %rdx
	callq	_debugfs_create_bool
	movq	16(%rbx), %rcx
	addq	$4, %rcx
	leaq	L_.str.4(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%r14, %rdx
	callq	_debugfs_create_bool
	movq	16(%rbx), %rcx
	leaq	L_.str.5(%rip), %rdi
	movq	___fault_opcodes_fops@GOTPCREL(%rip), %r8
	movl	$384, %esi                      ## imm = 0x180
	movq	%r14, %rdx
	callq	_debugfs_create_file
	movq	16(%rbx), %rcx
	addq	$28, %rcx
	leaq	L_.str.6(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%r14, %rdx
	callq	_debugfs_create_u64
	movq	16(%rbx), %rcx
	addq	$24, %rcx
	leaq	L_.str.7(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%r14, %rdx
	callq	_debugfs_create_u64
	movq	16(%rbx), %rcx
	addq	$12, %rcx
	leaq	L_.str.8(%rip), %rdi
	movl	$384, %esi                      ## imm = 0x180
	movq	%r14, %rdx
	callq	_debugfs_create_u8
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ULONG_MAX,4,2                  ## @ULONG_MAX
	.comm	_HFI1_FAULT_DIR_TXRX,4,2        ## @HFI1_FAULT_DIR_TXRX
	.comm	_BITS_PER_BYTE,4,2              ## @BITS_PER_BYTE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fault"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"fault_stats"

	.comm	__fault_stats_file_ops,4,2      ## @_fault_stats_file_ops
L_.str.2:                               ## @.str.2
	.asciz	"enable"

L_.str.3:                               ## @.str.3
	.asciz	"suppress_err"

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

L_.str.5:                               ## @.str.5
	.asciz	"opcodes"

	.comm	___fault_opcodes_fops,4,2       ## @__fault_opcodes_fops
L_.str.6:                               ## @.str.6
	.asciz	"skip_pkts"

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

L_.str.8:                               ## @.str.8
	.asciz	"direction"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hfi1_fault_init_debugfs
lCPI0_0:
	.long	1                               ; 0x1
	.long	32                              ; 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hfi1_fault_init_debugfs
	.p2align	2
_hfi1_fault_init_debugfs:               ; @hfi1_fault_init_debugfs
	.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
	mov	x19, x0
	ldr	x20, [x0, #88]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #96
	bl	_kzalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ULONG_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ULONG_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #64]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0, #40]
	str	xzr, [x0]
	str	wzr, [x0, #28]
	str	xzr, [x0, #80]
	stp	xzr, xzr, [x0, #48]
Lloh8:
	adrp	x8, _HFI1_FAULT_DIR_TXRX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HFI1_FAULT_DIR_TXRX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	wzr, w8, [x0, #8]
	ldr	w0, [x0, #72]
Lloh11:
	adrp	x8, _BITS_PER_BYTE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	lsl	w1, w8, #2
	bl	_bitmap_zero
	ldr	x8, [x19, #16]
	add	x2, x8, #40
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_fault_create_debugfs_attr
	mov	x20, x0
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19, #16]
	cbz	x8, LBB0_5
; %bb.2:
	bl	_kfree
	str	xzr, [x19, #16]
Lloh16:
	adrp	x8, _ENOENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	str	x20, [x0, #32]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh22:
	adrp	x4, __fault_stats_file_ops@GOTPAGE
Lloh23:
	ldr	x4, [x4, __fault_stats_file_ops@GOTPAGEOFF]
	mov	w1, #292
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	x3, [x19, #16]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #384
	mov	x2, x20
	bl	_debugfs_create_bool
	ldr	x8, [x19, #16]
	add	x3, x8, #8
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #384
	mov	x2, x20
	bl	_debugfs_create_bool
	ldr	x8, [x19, #16]
	add	x3, x8, #4
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #384
	mov	x2, x20
	bl	_debugfs_create_bool
	ldr	x3, [x19, #16]
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh32:
	adrp	x4, ___fault_opcodes_fops@GOTPAGE
Lloh33:
	ldr	x4, [x4, ___fault_opcodes_fops@GOTPAGEOFF]
	mov	w1, #384
	mov	x2, x20
	bl	_debugfs_create_file
	ldr	x8, [x19, #16]
	add	x3, x8, #28
Lloh34:
	adrp	x0, l_.str.6@PAGE
Lloh35:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #384
	mov	x2, x20
	bl	_debugfs_create_u64
	ldr	x8, [x19, #16]
	add	x3, x8, #24
Lloh36:
	adrp	x0, l_.str.7@PAGE
Lloh37:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #384
	mov	x2, x20
	bl	_debugfs_create_u64
	ldr	x8, [x19, #16]
	add	x3, x8, #12
Lloh38:
	adrp	x0, l_.str.8@PAGE
Lloh39:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #384
	mov	x2, x20
	bl	_debugfs_create_u8
	mov	w0, #0
LBB0_6:
	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 AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ULONG_MAX,4,2                  ; @ULONG_MAX
	.comm	_HFI1_FAULT_DIR_TXRX,4,2        ; @HFI1_FAULT_DIR_TXRX
	.comm	_BITS_PER_BYTE,4,2              ; @BITS_PER_BYTE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fault"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"fault_stats"

	.comm	__fault_stats_file_ops,4,2      ; @_fault_stats_file_ops
l_.str.2:                               ; @.str.2
	.asciz	"enable"

l_.str.3:                               ; @.str.3
	.asciz	"suppress_err"

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

l_.str.5:                               ; @.str.5
	.asciz	"opcodes"

	.comm	___fault_opcodes_fops,4,2       ; @__fault_opcodes_fops
l_.str.6:                               ; @.str.6
	.asciz	"skip_pkts"

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

l_.str.8:                               ; @.str.8
	.asciz	"direction"

.subsections_via_symbols
