	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_nc_thermal_profiles_show
_sony_nc_thermal_profiles_show:         ## @sony_nc_thermal_profiles_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	_THM_PROFILE_MAX@GOTPCREL(%rip), %r15
	cmpw	$0, (%r15)
	jle	LBB0_1
## %bb.2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_snc_thermal_profiles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rax, %rbx
	movzwl	(%r15), %eax
	cmpw	$2, %ax
	jl	LBB0_7
## %bb.3:
	movl	$1, %r13d
	movq	_th_handle@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movswq	%ax, %rcx
	cmpq	%rcx, %r13
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	testw	%r13w, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r14,%rbx), %rdi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%rbx, %rsi
	movq	_snc_thermal_profiles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rcx
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addq	%rax, %rbx
	movq	_THM_PROFILE_MAX@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
LBB0_7:
	addq	%rbx, %r14
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%rbx, %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	addq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THM_PROFILE_MAX,2,1            ## @THM_PROFILE_MAX
	.comm	_th_handle,8,3                  ## @th_handle
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s "

	.comm	_snc_thermal_profiles,8,3       ## @snc_thermal_profiles
L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.no_dead_strip	_sony_nc_thermal_profiles_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_nc_thermal_profiles_show
_sony_nc_thermal_profiles_show:         ; @sony_nc_thermal_profiles_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
Lloh0:
	adrp	x23, _THM_PROFILE_MAX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _THM_PROFILE_MAX@GOTPAGEOFF]
	ldrsh	w8, [x23]
Lloh2:
	adrp	x22, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PAGE_SIZE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x1, [x22]
Lloh4:
	adrp	x24, _snc_thermal_profiles@GOTPAGE
Lloh5:
	ldr	x24, [x24, _snc_thermal_profiles@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x8]
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snprintf
	mov	x20, x0
	ldrsh	w8, [x23]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.2:
	mov	w25, #1
Lloh8:
	adrp	x26, _th_handle@GOTPAGE
Lloh9:
	ldr	x26, [x26, _th_handle@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxth
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x26]
	ldrh	w9, [x9]
	tst	w25, w9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x19, x20
	ldr	x8, [x22]
	sub	x1, x8, x20
	ldr	x8, [x24]
	ldr	x8, [x8, x25, lsl #3]
	str	x8, [sp]
	mov	x2, x21
	bl	_snprintf
	add	x20, x0, x20
	ldrh	w8, [x23]
	b	LBB0_3
LBB0_6:
	mov	x20, #0
LBB0_7:
	add	x0, x19, x20
	ldr	x8, [x22]
	sub	x1, x8, x20
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	add	x0, x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_THM_PROFILE_MAX,2,1            ; @THM_PROFILE_MAX
	.comm	_th_handle,8,3                  ; @th_handle
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s "

	.comm	_snc_thermal_profiles,8,3       ; @snc_thermal_profiles
l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.no_dead_strip	_sony_nc_thermal_profiles_show
.subsections_via_symbols
