	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_dbgfs_devstate_show
_mei_dbgfs_devstate_show:               ## @mei_dbgfs_devstate_show
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	40(%r15), %edi
	callq	_mei_dev_state_str
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	(%r15), %rdi
	callq	_mei_hbm_state_str
	movslq	%eax, %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	(%r15), %rax
	movq	_MEI_HBM_ENUM_CLIENTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.1:
	movq	_MEI_HBM_STARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_puts
	movslq	36(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movslq	32(%r15), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movslq	28(%r15), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movslq	24(%r15), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movslq	20(%r15), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movslq	16(%r15), %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movslq	12(%r15), %rdx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movslq	8(%r15), %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
LBB0_3:
	movq	%r15, %rdi
	callq	_mei_pg_is_enabled
	testq	%rax, %rax
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	%r15, %rdi
	callq	_mei_pg_state
	movl	%eax, %edi
	callq	_mei_pg_state_str
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_seq_printf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dev: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"hbm: %s\n"

	.comm	_MEI_HBM_ENUM_CLIENTS,8,3       ## @MEI_HBM_ENUM_CLIENTS
	.comm	_MEI_HBM_STARTED,8,3            ## @MEI_HBM_STARTED
L_.str.2:                               ## @.str.2
	.asciz	"hbm features:\n"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"\tIE: %01d\n"

L_.str.6:                               ## @.str.6
	.asciz	"\tDOT: %01d\n"

L_.str.7:                               ## @.str.7
	.asciz	"\tEV: %01d\n"

L_.str.8:                               ## @.str.8
	.asciz	"\tFA: %01d\n"

L_.str.9:                               ## @.str.9
	.asciz	"\tOS: %01d\n"

L_.str.10:                              ## @.str.10
	.asciz	"\tDR: %01d\n"

L_.str.11:                              ## @.str.11
	.asciz	"pg:  %s, %s\n"

L_.str.12:                              ## @.str.12
	.asciz	"ENABLED"

L_.str.13:                              ## @.str.13
	.asciz	"DISABLED"

	.no_dead_strip	_mei_dbgfs_devstate_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_dbgfs_devstate_show
_mei_dbgfs_devstate_show:               ; @mei_dbgfs_devstate_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w0, [x20, #40]
	bl	_mei_dev_state_str
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x0, [x20]
	bl	_mei_hbm_state_str
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _MEI_HBM_ENUM_CLIENTS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MEI_HBM_ENUM_CLIENTS@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x10, _MEI_HBM_STARTED@GOTPAGE
Lloh8:
	ldr	x10, [x10, _MEI_HBM_STARTED@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.gt	LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
	ldrsw	x2, [x20, #36]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldrsw	x2, [x20, #32]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldrsw	x2, [x20, #28]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldrsw	x2, [x20, #24]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldrsw	x2, [x20, #20]
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldrsw	x2, [x20, #16]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldrsw	x2, [x20, #12]
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldrsw	x2, [x20, #8]
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
LBB0_2:
	mov	x0, x20
	bl	_mei_pg_is_enabled
Lloh28:
	adrp	x8, l_.str.12@PAGE
Lloh29:
	add	x8, x8, l_.str.12@PAGEOFF
Lloh30:
	adrp	x9, l_.str.13@PAGE
Lloh31:
	add	x9, x9, l_.str.13@PAGEOFF
	cmp	x0, #0
	csel	x21, x9, x8, eq
	mov	x0, x20
	bl	_mei_pg_state
	bl	_mei_pg_state_str
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh32:
	adrp	x1, l_.str.11@PAGE
Lloh33:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_seq_printf
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dev: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"hbm: %s\n"

	.comm	_MEI_HBM_ENUM_CLIENTS,8,3       ; @MEI_HBM_ENUM_CLIENTS
	.comm	_MEI_HBM_STARTED,8,3            ; @MEI_HBM_STARTED
l_.str.2:                               ; @.str.2
	.asciz	"hbm features:\n"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"\tIE: %01d\n"

l_.str.6:                               ; @.str.6
	.asciz	"\tDOT: %01d\n"

l_.str.7:                               ; @.str.7
	.asciz	"\tEV: %01d\n"

l_.str.8:                               ; @.str.8
	.asciz	"\tFA: %01d\n"

l_.str.9:                               ; @.str.9
	.asciz	"\tOS: %01d\n"

l_.str.10:                              ; @.str.10
	.asciz	"\tDR: %01d\n"

l_.str.11:                              ; @.str.11
	.asciz	"pg:  %s, %s\n"

l_.str.12:                              ; @.str.12
	.asciz	"ENABLED"

l_.str.13:                              ; @.str.13
	.asciz	"DISABLED"

	.no_dead_strip	_mei_dbgfs_devstate_show
.subsections_via_symbols
