	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt_init_dbgfs
_idt_init_dbgfs:                        ## @idt_init_dbgfs
	.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	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_dbgfs_topdir@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_IS_ERR_OR_NULL
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movl	(%r15), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.2:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	callq	_pci_name
	leaq	L_.str.1(%rip), %rdx
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	movl	$64, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movl	(%r15), %edx
	movq	_idt_dbgfs_info_ops@GOTPCREL(%rip), %r8
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
	movl	8(%rbx), %edi
	callq	_PTR_ERR
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_dbgfs_topdir,4,2               ## @dbgfs_topdir
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Top DebugFS directory absent"

L_.str.1:                               ## @.str.1
	.asciz	"info:%s"

	.comm	_idt_dbgfs_info_ops,4,2         ## @idt_dbgfs_info_ops
L_.str.2:                               ## @.str.2
	.asciz	"Failed to create DebugFS node"

L_.str.3:                               ## @.str.3
	.asciz	"NTB device DebugFS node created"

	.no_dead_strip	_idt_init_dbgfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt_init_dbgfs
_idt_init_dbgfs:                        ; @idt_init_dbgfs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x20, _dbgfs_topdir@GOTPAGE
Lloh4:
	ldr	x20, [x20, _dbgfs_topdir@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_IS_ERR_OR_NULL
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_3
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w0, [x20]
	ldur	x8, [x29, #-24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
LBB0_3:
	bl	_pci_name
	mov	x3, x0
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	bl	_snprintf
	ldr	w2, [x20]
Lloh12:
	adrp	x4, _idt_dbgfs_info_ops@GOTPAGE
Lloh13:
	ldr	x4, [x4, _idt_dbgfs_info_ops@GOTPAGEOFF]
	add	x0, sp, #8
	mov	w1, #256
	mov	x3, x19
	bl	_debugfs_create_file
	str	w0, [x19, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_5
; %bb.4:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	ldr	w0, [x19, #8]
	bl	_PTR_ERR
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
	mov	w0, #0
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_dbgfs_topdir,4,2               ; @dbgfs_topdir
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Top DebugFS directory absent"

l_.str.1:                               ; @.str.1
	.asciz	"info:%s"

	.comm	_idt_dbgfs_info_ops,4,2         ; @idt_dbgfs_info_ops
l_.str.2:                               ; @.str.2
	.asciz	"Failed to create DebugFS node"

l_.str.3:                               ; @.str.3
	.asciz	"NTB device DebugFS node created"

	.no_dead_strip	_idt_init_dbgfs
.subsections_via_symbols
