	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hl_read
_hl_read:                               ## @hl_read
	.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	%r8, %r14
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %ebx
	callq	_dev_get_drvdata
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_hl_device_disabled_or_in_reset
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_2:
	addl	$-133, %ebx
	cmpl	$15, %ebx
	ja	LBB0_15
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	leal	-128(%r12), %eax
	cmpl	$5, %eax
	jae	LBB0_15
## %bb.5:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_hl_get_temperature
	jmp	LBB0_6
LBB0_13:
	movl	%r12d, %eax
	andl	$-2, %eax
	cmpl	$134, %eax
	jne	LBB0_15
## %bb.14:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_hl_get_pwm_info
	jmp	LBB0_6
LBB0_7:
	leal	-137(%r12), %eax
	cmpl	$3, %eax
	jae	LBB0_15
## %bb.8:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_hl_get_voltage
	jmp	LBB0_6
LBB0_11:
	leal	-141(%r12), %eax
	cmpl	$3, %eax
	jae	LBB0_15
## %bb.12:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_hl_get_fan_speed
	jmp	LBB0_6
LBB0_9:
	leal	-145(%r12), %eax
	cmpl	$3, %eax
	jae	LBB0_15
## %bb.10:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_hl_get_current
LBB0_6:
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_16:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hl_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hl_read
_hl_read:                               ; @hl_read
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	bl	_dev_get_drvdata
	mov	x22, 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]
	b	LBB0_16
LBB0_2:
	sub	w8, w23, #133
	cmp	w8, #15
	b.hi	LBB0_15
; %bb.3:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	sub	w8, w20, #128
	cmp	w8, #5
	b.hs	LBB0_15
; %bb.5:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hl_get_temperature
	b	LBB0_14
LBB0_6:
	and	w8, w20, #0xfffffffe
	cmp	w8, #134
	b.ne	LBB0_15
; %bb.7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hl_get_pwm_info
	b	LBB0_14
LBB0_8:
	sub	w8, w20, #137
	cmp	w8, #3
	b.hs	LBB0_15
; %bb.9:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hl_get_voltage
	b	LBB0_14
LBB0_10:
	sub	w8, w20, #141
	cmp	w8, #3
	b.hs	LBB0_15
; %bb.11:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hl_get_fan_speed
	b	LBB0_14
LBB0_12:
	sub	w8, w20, #145
	cmp	w8, #3
	b.hs	LBB0_15
; %bb.13:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hl_get_current
LBB0_14:
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_17
LBB0_15:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hl_read
.subsections_via_symbols
