	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_pst
_decode_pst:                            ## @decode_pst
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_POWERNOW_MAX_STATES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.1:
	movq	_CPUFREQ_VAL_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r13), %rcx
	leaq	-1(%rsi), %rdi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$3, %rdi
	jae	LBB0_12
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_3
LBB0_12:
	andl	$-4, %esi
	leaq	96(%rcx), %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -96(%rbx)
	movq	%rax, -64(%rbx)
	movq	%rax, -32(%rbx)
	movq	%rax, (%rbx)
	addq	$4, %rdi
	subq	$-128, %rbx
	cmpq	%rdi, %rsi
	jne	LBB0_13
LBB0_3:
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:
	shlq	$5, %rdi
	addq	%rdi, %rcx
	shlq	$5, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rcx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_5
LBB0_6:
	testl	%r14d, %r14d
	jle	LBB0_28
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %r12d                ## 4-byte Reload
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	%eax, %rdi
	shlq	$5, %rdi
	addq	16(%r13), %rdi
	leaq	-80(%rbp), %rsi
	movl	$32, %edx
	callq	_memcpy
	incl	%r12d
LBB0_22:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$8, %r15
	incl	%ebx
	cmpl	%r14d, %ebx
	je	LBB0_23
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movslq	(%r15), %rax
	movq	%rax, -72(%rbp)
	movl	4(%r15), %ecx
	movl	%ecx, -64(%rbp)
	movq	_CPUFREQ_VAL_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)
	movl	(%r13), %ecx
	cmpl	$128, %ecx
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$129, %ecx
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_pn7_fid_to_mult@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rcx,%rax,4), %rax
	movslq	4(%r13), %rcx
	imulq	%rax, %rcx
	imulq	$100, %rcx, %rcx
	movq	%rcx, -80(%rbp)
	movq	_A0_ERRATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r13)
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %eax
	cmpl	$5, %eax
	je	LBB0_22
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_pn8_fid_to_mult@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rcx,%rax,4), %rax
	movslq	4(%r13), %rcx
	imulq	%rax, %rcx
	imulq	$100, %rcx, %rax
	movq	%rax, -80(%rbp)
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r12d, %eax
	testl	%r12d, %r12d
	jle	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, %eax
	movq	%rax, %r14
	shlq	$5, %r14
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rdi
	leaq	-1(%rax), %r12
	movl	%r12d, %esi
	shlq	$5, %rsi
	movq	(%rdi,%rsi), %rcx
	cmpq	-80(%rbp), %rcx
	jge	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	addq	%rdi, %rsi
	addq	%r14, %rdi
	movl	$32, %edx
	callq	_memcpy
	leaq	1(%r12), %rcx
	addq	$-32, %r14
	movq	%r12, %rax
	cmpq	$1, %rcx
	ja	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_23:
	movl	%r12d, 12(%r13)
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.24:
	testl	%r12d, %r12d
	jle	LBB0_27
## %bb.25:
	movl	$16, %ebx
	xorl	%r15d, %r15d
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	-8(%rax,%rbx), %ecx
	movl	(%rax,%rbx), %r8d
	movq	-16(%rax,%rbx), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_printf
	incq	%r15
	movslq	12(%r13), %rax
	addq	$32, %rbx
	cmpq	%rax, %r15
	jl	LBB0_26
	jmp	LBB0_27
LBB0_28:
	movl	$0, 12(%r13)
LBB0_27:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POWERNOW_MAX_STATES,4,2        ## @POWERNOW_MAX_STATES
	.comm	_CPUFREQ_VAL_UNKNOWN,8,3        ## @CPUFREQ_VAL_UNKNOWN
	.comm	_pn7_fid_to_mult,8,3            ## @pn7_fid_to_mult
	.comm	_A0_ERRATA,4,2                  ## @A0_ERRATA
	.comm	_pn8_fid_to_mult,8,3            ## @pn8_fid_to_mult
	.comm	_bootverbose,8,3                ## @bootverbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"powernow: %2i %8dkHz FID %02x VID %02x\n"

	.no_dead_strip	_decode_pst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_pst
_decode_pst:                            ; @decode_pst
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _POWERNOW_MAX_STATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POWERNOW_MAX_STATES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x22, _CPUFREQ_VAL_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CPUFREQ_VAL_UNKNOWN@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x8, [x22]
	ldr	x10, [x19, #16]
	cmp	w9, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	and	x11, x9, #0xfffffffc
	add	x12, x10, #64
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stur	x8, [x12, #-64]
	stur	x8, [x12, #-32]
	str	x8, [x12]
	str	x8, [x12, #32]
	add	x12, x12, #128
	subs	x13, x13, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x9
	b.eq	LBB0_8
LBB0_6:
	add	x10, x10, x11, lsl #5
	sub	x9, x9, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x10], #32
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	cmp	w20, #1
	b.lt	LBB0_26
; %bb.9:
	mov	w24, #0
	mov	w23, #0
	mov	w26, #100
Lloh5:
	adrp	x28, _A0_ERRATA@GOTPAGE
Lloh6:
	ldr	x28, [x28, _A0_ERRATA@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x19, #16]
	sxtw	x8, w8
	add	x0, x9, x8, lsl #5
	mov	x1, sp
	mov	w2, #32
	bl	_memcpy
	add	w23, w23, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x21, #8
	add	w24, w24, #1
	cmp	w24, w20
	b.eq	LBB0_23
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldp	w8, w9, [x21]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	str	x8, [sp, #8]
	str	w9, [sp, #16]
	ldr	x9, [x22]
	str	x9, [sp, #24]
	ldr	w9, [x19]
	cmp	w9, #128
	b.eq	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w9, #129
	b.ne	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh7:
	adrp	x9, _pn7_fid_to_mult@GOTPAGE
Lloh8:
	ldr	x9, [x9, _pn7_fid_to_mult@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldrsw	x8, [x9, x8, lsl #2]
	ldp	w9, w10, [x19, #4]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	mul	x9, x8, x9
	mul	x9, x9, x26
	str	x9, [sp]
	ldr	w9, [x28]
	tst	w9, w10
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x9, x8, x9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	mov	w10, #10
	msub	w8, w9, w10, w8
	cmp	w8, #5
	b.eq	LBB0_12
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
Lloh10:
	adrp	x9, _pn8_fid_to_mult@GOTPAGE
Lloh11:
	ldr	x9, [x9, _pn8_fid_to_mult@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldrsw	x8, [x9, x8, lsl #2]
	ldrsw	x9, [x19, #4]
	mul	x8, x8, x9
	mul	x8, x8, x26
	str	x8, [sp]
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x8, x23
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w8, w23
	lsl	x25, x8, #5
LBB0_20:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #16]
	sub	x27, x8, #1
	and	x10, x27, #0xffffffff
	add	x1, x9, x10, lsl #5
	ldr	x10, [x1]
	ldr	x11, [sp]
	cmp	x10, x11
	b.ge	LBB0_10
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	add	x0, x9, x25
	mov	w2, #32
	bl	_memcpy
	add	x9, x27, #1
	sub	x25, x25, #32
	mov	x8, x27
	cmp	x9, #1
	b.hi	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w8, #0
	b	LBB0_11
LBB0_23:
	str	w23, [x19, #12]
Lloh13:
	adrp	x8, _bootverbose@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w23, #1, #8, ne
	b.lt	LBB0_27
; %bb.24:
	mov	x22, #0
	mov	x20, #0
Lloh16:
	adrp	x21, l_.str@PAGE
Lloh17:
	add	x21, x21, l_.str@PAGEOFF
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x22
	ldr	w3, [x8, #8]
	ldr	w4, [x8, #16]
	ldr	x2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_printf
	add	x20, x20, #1
	ldrsw	x8, [x19, #12]
	add	x22, x22, #32
	cmp	x20, x8
	b.lt	LBB0_25
	b	LBB0_27
LBB0_26:
	str	wzr, [x19, #12]
LBB0_27:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_POWERNOW_MAX_STATES,4,2        ; @POWERNOW_MAX_STATES
	.comm	_CPUFREQ_VAL_UNKNOWN,8,3        ; @CPUFREQ_VAL_UNKNOWN
	.comm	_pn7_fid_to_mult,8,3            ; @pn7_fid_to_mult
	.comm	_A0_ERRATA,4,2                  ; @A0_ERRATA
	.comm	_pn8_fid_to_mult,8,3            ; @pn8_fid_to_mult
	.comm	_bootverbose,8,3                ; @bootverbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"powernow: %2i %8dkHz FID %02x VID %02x\n"

	.no_dead_strip	_decode_pst
.subsections_via_symbols
