	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_debugfs
_setup_debugfs:                         ## @setup_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
	movl	(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_S_IWUSR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movq	_qp_debugfs_fops@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$4096, (%rax)                   ## imm = 0x1000
LBB0_5:
	movl	(%r14), %esi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	_stag_debugfs_fops@GOTPCREL(%rip), %r8
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	movl	$4096, (%rcx)                   ## imm = 0x1000
	jmp	LBB0_8
LBB0_1:
	movl	$-1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qps"

	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_qp_debugfs_fops,4,2            ## @qp_debugfs_fops
L_.str.1:                               ## @.str.1
	.asciz	"stags"

	.comm	_stag_debugfs_fops,4,2          ## @stag_debugfs_fops
	.no_dead_strip	_setup_debugfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_debugfs
_setup_debugfs:                         ; @setup_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
	ldr	w2, [x0]
	cbz	w2, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _S_IWUSR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _S_IWUSR@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x4, _qp_debugfs_fops@GOTPAGE
Lloh5:
	ldr	x4, [x4, _qp_debugfs_fops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w9, #4096
	str	w9, [x8]
LBB0_4:
	ldr	w1, [x20]
	ldr	w2, [x19]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh8:
	adrp	x4, _stag_debugfs_fops@GOTPAGE
Lloh9:
	ldr	x4, [x4, _stag_debugfs_fops@GOTPAGEOFF]
	mov	x3, x19
	bl	_debugfs_create_file
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.6:
	mov	w0, #0
	mov	w9, #4096
	str	w9, [x8]
	b	LBB0_9
LBB0_7:
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qps"

	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_qp_debugfs_fops,4,2            ; @qp_debugfs_fops
l_.str.1:                               ; @.str.1
	.asciz	"stags"

	.comm	_stag_debugfs_fops,4,2          ; @stag_debugfs_fops
	.no_dead_strip	_setup_debugfs
.subsections_via_symbols
