	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_get_pm_method
_radeon_get_pm_method:                  ## @radeon_get_pm_method
	.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	%rdx, %rbx
	callq	_dev_get_drvdata
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_PM_METHOD_DYNPM@GOTPCREL(%rip), %rcx
	movq	_PM_METHOD_PROFILE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rdi
	cmoveq	%rdx, %rdi
	cmpl	(%rcx), %eax
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rdi, %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_PM_METHOD_DYNPM,4,2            ## @PM_METHOD_DYNPM
L_.str.1:                               ## @.str.1
	.asciz	"dynpm"

	.comm	_PM_METHOD_PROFILE,4,2          ## @PM_METHOD_PROFILE
L_.str.2:                               ## @.str.2
	.asciz	"profile"

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

	.no_dead_strip	_radeon_get_pm_method
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_get_pm_method
_radeon_get_pm_method:                  ; @radeon_get_pm_method
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _PM_METHOD_DYNPM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PM_METHOD_DYNPM@GOTPAGEOFF]
Lloh5:
	adrp	x10, _PM_METHOD_PROFILE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PM_METHOD_PROFILE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, l_.str.3@PAGE
Lloh10:
	add	x11, x11, l_.str.3@PAGEOFF
Lloh11:
	adrp	x12, l_.str.2@PAGE
Lloh12:
	add	x12, x12, l_.str.2@PAGEOFF
	cmp	w8, w10
	csel	x10, x12, x11, eq
Lloh13:
	adrp	x11, l_.str.1@PAGE
Lloh14:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	w8, w9
	csel	x3, x11, x10, eq
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, 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	_snprintf
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_PM_METHOD_DYNPM,4,2            ; @PM_METHOD_DYNPM
l_.str.1:                               ; @.str.1
	.asciz	"dynpm"

	.comm	_PM_METHOD_PROFILE,4,2          ; @PM_METHOD_PROFILE
l_.str.2:                               ; @.str.2
	.asciz	"profile"

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

	.no_dead_strip	_radeon_get_pm_method
.subsections_via_symbols
