	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_v3d_debugfs_ident
_vc4_v3d_debugfs_ident:                 ## @vc4_v3d_debugfs_ident
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	callq	_to_vc4_dev
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_vc4_v3d_pm_get
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_V3D_IDENT1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_V3D_READ
	movl	%eax, %r15d
	movq	_V3D_IDENT1_NSLC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_VC4_GET_FIELD
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_V3D_IDENT1_TUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_VC4_GET_FIELD
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movq	_V3D_IDENT1_QUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_VC4_GET_FIELD
	movl	%eax, %r13d
	movq	_V3D_IDENT1_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_VC4_GET_FIELD
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_seq_printf
	imull	%ebx, %r14d
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_seq_printf
	imull	%ebx, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_seq_printf
	movq	_V3D_IDENT1_NSEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_VC4_GET_FIELD
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_vc4_v3d_pm_put
LBB0_2:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V3D_IDENT1,4,2                 ## @V3D_IDENT1
	.comm	_V3D_IDENT1_NSLC,4,2            ## @V3D_IDENT1_NSLC
	.comm	_V3D_IDENT1_TUPS,4,2            ## @V3D_IDENT1_TUPS
	.comm	_V3D_IDENT1_QUPS,4,2            ## @V3D_IDENT1_QUPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Revision:   %d\n"

	.comm	_V3D_IDENT1_REV,4,2             ## @V3D_IDENT1_REV
L_.str.1:                               ## @.str.1
	.asciz	"Slices:     %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"TMUs:       %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"QPUs:       %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Semaphores: %d\n"

	.comm	_V3D_IDENT1_NSEM,4,2            ## @V3D_IDENT1_NSEM
	.no_dead_strip	_vc4_v3d_debugfs_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_v3d_debugfs_ident
_vc4_v3d_debugfs_ident:                 ; @vc4_v3d_debugfs_ident
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x0, [x8]
	bl	_to_vc4_dev
	mov	x20, x0
	bl	_vc4_v3d_pm_get
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _V3D_IDENT1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V3D_IDENT1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_V3D_READ
	mov	x21, x0
Lloh3:
	adrp	x8, _V3D_IDENT1_NSLC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V3D_IDENT1_NSLC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_VC4_GET_FIELD
	mov	x22, x0
Lloh6:
	adrp	x8, _V3D_IDENT1_TUPS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V3D_IDENT1_TUPS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_VC4_GET_FIELD
	mov	x23, x0
Lloh9:
	adrp	x8, _V3D_IDENT1_QUPS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V3D_IDENT1_QUPS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_VC4_GET_FIELD
	mov	x24, x0
Lloh12:
	adrp	x8, _V3D_IDENT1_REV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V3D_IDENT1_REV@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_VC4_GET_FIELD
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_seq_printf
	mul	w2, w23, w22
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mul	w2, w24, w22
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh23:
	adrp	x8, _V3D_IDENT1_NSEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _V3D_IDENT1_NSEM@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_VC4_GET_FIELD
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mov	x0, x20
	bl	_vc4_v3d_pm_put
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V3D_IDENT1,4,2                 ; @V3D_IDENT1
	.comm	_V3D_IDENT1_NSLC,4,2            ; @V3D_IDENT1_NSLC
	.comm	_V3D_IDENT1_TUPS,4,2            ; @V3D_IDENT1_TUPS
	.comm	_V3D_IDENT1_QUPS,4,2            ; @V3D_IDENT1_QUPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Revision:   %d\n"

	.comm	_V3D_IDENT1_REV,4,2             ; @V3D_IDENT1_REV
l_.str.1:                               ; @.str.1
	.asciz	"Slices:     %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"TMUs:       %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"QPUs:       %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Semaphores: %d\n"

	.comm	_V3D_IDENT1_NSEM,4,2            ; @V3D_IDENT1_NSEM
	.no_dead_strip	_vc4_v3d_debugfs_ident
.subsections_via_symbols
