	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_status_get_hwmon_dev           ## -- Begin function status_get_hwmon_dev
	.p2align	4, 0x90
_status_get_hwmon_dev:                  ## @status_get_hwmon_dev
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movslq	%esi, %rbx
	movq	_HCBUFSIZ_TINY@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_hcmalloc
	movq	(%r14), %rsi
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	$1, (%r15,%rbx,8)
	je	LBB0_19
## %bb.1:
	cmpl	$1, 4(%r15,%rbx,8)
	je	LBB0_19
## %bb.2:
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_hc_thread_mutex_lock
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_hm_get_temperature_with_devices_idx
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_hm_get_fanspeed_with_devices_idx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_hm_get_utilization_with_devices_idx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_hm_get_corespeed_with_devices_idx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_hm_get_memoryspeed_with_devices_idx
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_hm_get_buslanes_with_devices_idx
	movl	%eax, %r13d
	testl	%r15d, %r15d
	js	LBB0_3
## %bb.4:
	movq	_HCBUFSIZ_TINY@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rax, %rbx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
	movq	_HCBUFSIZ_TINY@GOTPCREL(%rip), %r12
LBB0_5:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	js	LBB0_7
## %bb.6:
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movq	(%r12), %rsi
	subq	%rbx, %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%eax, %ebx
LBB0_7:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	js	LBB0_9
## %bb.8:
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movq	(%r12), %rsi
	subq	%rbx, %rsi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%eax, %ebx
LBB0_9:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	js	LBB0_11
## %bb.10:
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movq	(%r12), %rsi
	subq	%rbx, %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%eax, %ebx
LBB0_11:
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	js	LBB0_13
## %bb.12:
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movq	(%r12), %rsi
	subq	%rbx, %rsi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%eax, %ebx
LBB0_13:
	testl	%r13d, %r13d
	js	LBB0_15
## %bb.14:
	movslq	%ebx, %rbx
	movq	%r14, %rdi
	addq	%rbx, %rdi
	movq	(%r12), %rsi
	subq	%rbx, %rsi
	leaq	L_.str.6(%rip), %rdx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	addl	%eax, %ebx
LBB0_15:
	testl	%ebx, %ebx
	jle	LBB0_17
## %bb.16:
	decl	%ebx
	movb	$0, (%r14,%rbx)
	jmp	LBB0_18
LBB0_17:
	movq	(%r12), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_hc_thread_mutex_unlock
LBB0_19:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCBUFSIZ_TINY,8,3              ## @HCBUFSIZ_TINY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"N/A"

L_.str.1:                               ## @.str.1
	.asciz	"Temp:%3dc "

L_.str.2:                               ## @.str.2
	.asciz	"Fan:%3d%% "

L_.str.3:                               ## @.str.3
	.asciz	"Util:%3d%% "

L_.str.4:                               ## @.str.4
	.asciz	"Core:%4dMHz "

L_.str.5:                               ## @.str.5
	.asciz	"Mem:%4dMHz "

L_.str.6:                               ## @.str.6
	.asciz	"Bus:%d "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_status_get_hwmon_dev           ; -- Begin function status_get_hwmon_dev
	.p2align	2
_status_get_hwmon_dev:                  ; @status_get_hwmon_dev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
Lloh0:
	adrp	x27, _HCBUFSIZ_TINY@GOTPAGE
Lloh1:
	ldr	x27, [x27, _HCBUFSIZ_TINY@GOTPAGEOFF]
	ldr	x0, [x27]
	bl	_hcmalloc
	mov	x19, x0
	ldr	x1, [x27]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	sbfiz	x8, x20, #3, #32
	ldr	w8, [x22, x8]
	cmp	w8, #1
	b.eq	LBB0_18
; %bb.1:
	sxtw	x8, w20
	add	x8, x22, x8, lsl #3
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.eq	LBB0_18
; %bb.2:
	ldr	x28, [x21]
	ldr	w0, [x28]
	bl	_hc_thread_mutex_lock
	mov	x0, x21
	mov	x1, x20
	bl	_hm_get_temperature_with_devices_idx
	mov	x26, x0
	mov	x0, x21
	mov	x1, x20
	bl	_hm_get_fanspeed_with_devices_idx
	mov	x25, x0
	mov	x0, x21
	mov	x1, x20
	bl	_hm_get_utilization_with_devices_idx
	mov	x24, x0
	mov	x0, x21
	mov	x1, x20
	bl	_hm_get_corespeed_with_devices_idx
	mov	x23, x0
	mov	x0, x21
	mov	x1, x20
	bl	_hm_get_memoryspeed_with_devices_idx
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_hm_get_buslanes_with_devices_idx
	mov	x21, x0
	tbnz	w26, #31, LBB0_15
; %bb.3:
	ldr	x1, [x27]
	str	x26, [sp]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_snprintf
	mov	x20, x0
	tbnz	w25, #31, LBB0_5
LBB0_4:
	mov	x8, x20
	sxtw	x8, w8
	add	x0, x19, x8
	ldr	x9, [x27]
	sub	x1, x9, x8
	str	x25, [sp]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
	add	w20, w20, w0
LBB0_5:
	tbnz	w24, #31, LBB0_7
; %bb.6:
	mov	x8, x20
	sxtw	x8, w8
	add	x0, x19, x8
	ldr	x9, [x27]
	sub	x1, x9, x8
	str	x24, [sp]
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_snprintf
	add	w20, w20, w0
LBB0_7:
	tbnz	w23, #31, LBB0_9
; %bb.8:
	mov	x8, x20
	sxtw	x8, w8
	add	x0, x19, x8
	ldr	x9, [x27]
	sub	x1, x9, x8
	str	x23, [sp]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_snprintf
	add	w20, w20, w0
LBB0_9:
	tbnz	w22, #31, LBB0_11
; %bb.10:
	mov	x8, x20
	sxtw	x8, w8
	add	x0, x19, x8
	ldr	x9, [x27]
	sub	x1, x9, x8
	str	x22, [sp]
Lloh12:
	adrp	x2, l_.str.5@PAGE
Lloh13:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_snprintf
	add	w20, w20, w0
LBB0_11:
	tbnz	w21, #31, LBB0_13
; %bb.12:
	mov	x8, x20
	sxtw	x8, w8
	add	x0, x19, x8
	ldr	x9, [x27]
	sub	x1, x9, x8
	str	x21, [sp]
Lloh14:
	adrp	x2, l_.str.6@PAGE
Lloh15:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_snprintf
	add	w20, w20, w0
LBB0_13:
	subs	w8, w20, #1
	b.lt	LBB0_16
; %bb.14:
	strb	wzr, [x19, w8, uxtw]
	b	LBB0_17
LBB0_15:
	mov	w20, #0
	tbz	w25, #31, LBB0_4
	b	LBB0_5
LBB0_16:
	ldr	x1, [x27]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snprintf
LBB0_17:
	ldr	w0, [x28]
	bl	_hc_thread_mutex_unlock
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HCBUFSIZ_TINY,8,3              ; @HCBUFSIZ_TINY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"N/A"

l_.str.1:                               ; @.str.1
	.asciz	"Temp:%3dc "

l_.str.2:                               ; @.str.2
	.asciz	"Fan:%3d%% "

l_.str.3:                               ; @.str.3
	.asciz	"Util:%3d%% "

l_.str.4:                               ; @.str.4
	.asciz	"Core:%4dMHz "

l_.str.5:                               ; @.str.5
	.asciz	"Mem:%4dMHz "

l_.str.6:                               ; @.str.6
	.asciz	"Bus:%d "

.subsections_via_symbols
