	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_setup_dbgfs
_perf_setup_dbgfs:                      ## @perf_setup_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	8(%rax), %rdi
	callq	_pci_name
	movq	_perf_dbgfs_topdir@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_debugfs_create_dir
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	movq	_perf_dbgfs_info@GOTPCREL(%rip), %r8
	movl	$384, %esi                      ## imm = 0x180
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	_perf_dbgfs_run@GOTPCREL(%rip), %r8
	movl	$384, %esi                      ## imm = 0x180
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	_perf_dbgfs_tcnt@GOTPCREL(%rip), %r8
	movl	$384, %esi                      ## imm = 0x180
	movq	%rbx, %rcx
	callq	_debugfs_create_file
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	_chunk_order@GOTPCREL(%rip), %rcx
	movl	$320, %esi                      ## imm = 0x140
	callq	_debugfs_create_u8
	movl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rdi
	movq	_total_order@GOTPCREL(%rip), %rcx
	movl	$320, %esi                      ## imm = 0x140
	callq	_debugfs_create_u8
	movl	(%rbx), %edx
	leaq	L_.str.6(%rip), %rdi
	movq	_use_dma@GOTPCREL(%rip), %rcx
	movl	$320, %esi                      ## imm = 0x140
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_debugfs_create_bool            ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_perf_dbgfs_topdir,4,2          ## @perf_dbgfs_topdir
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DebugFS unsupported\n"

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

	.comm	_perf_dbgfs_info,4,2            ## @perf_dbgfs_info
L_.str.2:                               ## @.str.2
	.asciz	"run"

	.comm	_perf_dbgfs_run,4,2             ## @perf_dbgfs_run
L_.str.3:                               ## @.str.3
	.asciz	"threads_count"

	.comm	_perf_dbgfs_tcnt,4,2            ## @perf_dbgfs_tcnt
L_.str.4:                               ## @.str.4
	.asciz	"chunk_order"

	.comm	_chunk_order,4,2                ## @chunk_order
L_.str.5:                               ## @.str.5
	.asciz	"total_order"

	.comm	_total_order,4,2                ## @total_order
L_.str.6:                               ## @.str.6
	.asciz	"use_dma"

	.comm	_use_dma,4,2                    ## @use_dma
	.no_dead_strip	_perf_setup_dbgfs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_setup_dbgfs
_perf_setup_dbgfs:                      ; @perf_setup_dbgfs
	.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	x8, [x0, #8]
	ldr	x0, [x8, #8]
	bl	_pci_name
Lloh0:
	adrp	x8, _perf_dbgfs_topdir@GOTPAGE
Lloh1:
	ldr	x8, [x8, _perf_dbgfs_topdir@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_debugfs_create_dir
	str	w0, [x19]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh5:
	adrp	x4, _perf_dbgfs_info@GOTPAGE
Lloh6:
	ldr	x4, [x4, _perf_dbgfs_info@GOTPAGEOFF]
	mov	w1, #384
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w2, [x19]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh9:
	adrp	x4, _perf_dbgfs_run@GOTPAGE
Lloh10:
	ldr	x4, [x4, _perf_dbgfs_run@GOTPAGEOFF]
	mov	w1, #384
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w2, [x19]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh13:
	adrp	x4, _perf_dbgfs_tcnt@GOTPAGE
Lloh14:
	ldr	x4, [x4, _perf_dbgfs_tcnt@GOTPAGEOFF]
	mov	w1, #384
	mov	x3, x19
	bl	_debugfs_create_file
	ldr	w2, [x19]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh17:
	adrp	x3, _chunk_order@GOTPAGE
Lloh18:
	ldr	x3, [x3, _chunk_order@GOTPAGEOFF]
	mov	w1, #320
	bl	_debugfs_create_u8
	ldr	w2, [x19]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh21:
	adrp	x3, _total_order@GOTPAGE
Lloh22:
	ldr	x3, [x3, _total_order@GOTPAGEOFF]
	mov	w1, #320
	bl	_debugfs_create_u8
	ldr	w2, [x19]
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh25:
	adrp	x3, _use_dma@GOTPAGE
Lloh26:
	ldr	x3, [x3, _use_dma@GOTPAGEOFF]
	mov	w1, #320
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_debugfs_create_bool
LBB0_2:
	ldr	x0, [x19, #8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_perf_dbgfs_topdir,4,2          ; @perf_dbgfs_topdir
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DebugFS unsupported\n"

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

	.comm	_perf_dbgfs_info,4,2            ; @perf_dbgfs_info
l_.str.2:                               ; @.str.2
	.asciz	"run"

	.comm	_perf_dbgfs_run,4,2             ; @perf_dbgfs_run
l_.str.3:                               ; @.str.3
	.asciz	"threads_count"

	.comm	_perf_dbgfs_tcnt,4,2            ; @perf_dbgfs_tcnt
l_.str.4:                               ; @.str.4
	.asciz	"chunk_order"

	.comm	_chunk_order,4,2                ; @chunk_order
l_.str.5:                               ; @.str.5
	.asciz	"total_order"

	.comm	_total_order,4,2                ; @total_order
l_.str.6:                               ; @.str.6
	.asciz	"use_dma"

	.comm	_use_dma,4,2                    ; @use_dma
	.no_dead_strip	_perf_setup_dbgfs
.subsections_via_symbols
