	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_dbg_ibdev_init             ## -- Begin function qib_dbg_ibdev_init
	.p2align	4, 0x90
_qib_dbg_ibdev_init:                    ## @qib_dbg_ibdev_init
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_dd_from_dev
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-42(%rbp), %r14
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_snprintf
	movq	_qib_dbg_root@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_debugfs_create_dir
	movq	%rax, %rbx
	movq	%rax, (%r15)
	leaq	L_.str.1(%rip), %rdi
	movq	__opcode_stats_file_ops@GOTPCREL(%rip), %r8
	movl	$256, %esi                      ## imm = 0x100
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_debugfs_create_file
	leaq	L_.str.2(%rip), %rdi
	movq	__ctx_stats_file_ops@GOTPCREL(%rip), %r8
	movl	$256, %esi                      ## imm = 0x100
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_debugfs_create_file
	leaq	L_.str.3(%rip), %rdi
	movq	__qp_stats_file_ops@GOTPCREL(%rip), %r8
	movl	$256, %esi                      ## imm = 0x100
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_debugfs_create_file
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qib%d"

	.comm	_qib_dbg_root,4,2               ## @qib_dbg_root
L_.str.1:                               ## @.str.1
	.asciz	"opcode_stats"

	.comm	__opcode_stats_file_ops,4,2     ## @_opcode_stats_file_ops
L_.str.2:                               ## @.str.2
	.asciz	"ctx_stats"

	.comm	__ctx_stats_file_ops,4,2        ## @_ctx_stats_file_ops
L_.str.3:                               ## @.str.3
	.asciz	"qp_stats"

	.comm	__qp_stats_file_ops,4,2         ## @_qp_stats_file_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_dbg_ibdev_init             ; -- Begin function qib_dbg_ibdev_init
	.p2align	2
_qib_dbg_ibdev_init:                    ; @qib_dbg_ibdev_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_dd_from_dev
	ldr	w3, [x0]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #14
	mov	w1, #10
	bl	_snprintf
Lloh5:
	adrp	x8, _qib_dbg_root@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qib_dbg_root@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #14
	bl	_debugfs_create_dir
	mov	x20, x0
	str	x0, [x19]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh10:
	adrp	x4, __opcode_stats_file_ops@GOTPAGE
Lloh11:
	ldr	x4, [x4, __opcode_stats_file_ops@GOTPAGEOFF]
	mov	w1, #256
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh14:
	adrp	x4, __ctx_stats_file_ops@GOTPAGE
Lloh15:
	ldr	x4, [x4, __ctx_stats_file_ops@GOTPAGEOFF]
	mov	w1, #256
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh18:
	adrp	x4, __qp_stats_file_ops@GOTPAGE
Lloh19:
	ldr	x4, [x4, __qp_stats_file_ops@GOTPAGEOFF]
	mov	w1, #256
	mov	x2, x20
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	x8, [sp, #24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qib%d"

	.comm	_qib_dbg_root,4,2               ; @qib_dbg_root
l_.str.1:                               ; @.str.1
	.asciz	"opcode_stats"

	.comm	__opcode_stats_file_ops,4,2     ; @_opcode_stats_file_ops
l_.str.2:                               ; @.str.2
	.asciz	"ctx_stats"

	.comm	__ctx_stats_file_ops,4,2        ; @_ctx_stats_file_ops
l_.str.3:                               ; @.str.3
	.asciz	"qp_stats"

	.comm	__qp_stats_file_ops,4,2         ; @_qp_stats_file_ops
.subsections_via_symbols
