	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_mng_profile_show
_pm_mng_profile_show:                   ## @pm_mng_profile_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_hl_device_disabled_or_in_reset
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %rax
	movq	_PM_AUTO@GOTPCREL(%rip), %rcx
	movq	_PM_MANUAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rdx, %rsi
	cmpq	(%rcx), %rax
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rsi, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_PM_AUTO,8,3                    ## @PM_AUTO
L_.str.1:                               ## @.str.1
	.asciz	"auto"

	.comm	_PM_MANUAL,8,3                  ## @PM_MANUAL
L_.str.2:                               ## @.str.2
	.asciz	"manual"

L_.str.3:                               ## @.str.3
	.asciz	"unknown"

	.no_dead_strip	_pm_mng_profile_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_mng_profile_show
_pm_mng_profile_show:                   ; @pm_mng_profile_show
	.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, x2
	bl	_dev_get_drvdata
	mov	x20, x0
	bl	_hl_device_disabled_or_in_reset
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _PM_AUTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PM_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _PM_MANUAL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PM_MANUAL@GOTPAGEOFF]
Lloh8:
	adrp	x11, l_.str.3@PAGE
Lloh9:
	add	x11, x11, l_.str.3@PAGEOFF
Lloh10:
	adrp	x12, l_.str.2@PAGE
Lloh11:
	add	x12, x12, l_.str.2@PAGEOFF
Lloh12:
	ldr	x10, [x10]
	cmp	x8, x10
	csel	x10, x12, x11, eq
Lloh13:
	adrp	x11, l_.str.1@PAGE
Lloh14:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x2, x11, x10, eq
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_PM_AUTO,8,3                    ; @PM_AUTO
l_.str.1:                               ; @.str.1
	.asciz	"auto"

	.comm	_PM_MANUAL,8,3                  ; @PM_MANUAL
l_.str.2:                               ; @.str.2
	.asciz	"manual"

l_.str.3:                               ; @.str.3
	.asciz	"unknown"

	.no_dead_strip	_pm_mng_profile_show
.subsections_via_symbols
