	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function df_v3_6_sw_init
_df_v3_6_sw_init:                       ## @df_v3_6_sw_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movq	_dev_attr_df_cntr_avail@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
LBB0_2:
	movq	_AMDGPU_MAX_DF_PERFMONS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	shlq	$3, %rsi
	callq	___bzero
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_df_cntr_avail,4,2     ## @dev_attr_df_cntr_avail
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create file for available df counters\n"

	.comm	_AMDGPU_MAX_DF_PERFMONS,4,2     ## @AMDGPU_MAX_DF_PERFMONS
	.no_dead_strip	_df_v3_6_sw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function df_v3_6_sw_init
_df_v3_6_sw_init:                       ; @df_v3_6_sw_init
	.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	w0, [x0, #8]
Lloh0:
	adrp	x1, _dev_attr_df_cntr_avail@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_df_cntr_avail@GOTPAGEOFF]
	bl	_device_create_file
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
LBB0_2:
Lloh4:
	adrp	x8, _AMDGPU_MAX_DF_PERFMONS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AMDGPU_MAX_DF_PERFMONS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x0, [x19]
	lsl	x1, x8, #3
	bl	_bzero
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_df_cntr_avail,4,2     ; @dev_attr_df_cntr_avail
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create file for available df counters\n"

	.comm	_AMDGPU_MAX_DF_PERFMONS,4,2     ; @AMDGPU_MAX_DF_PERFMONS
	.no_dead_strip	_df_v3_6_sw_init
.subsections_via_symbols
