	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltq_cputemp_probe
_ltq_cputemp_probe:                     ## @ltq_cputemp_probe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ltq_soc_type
	movq	_SOC_TYPE_VR9_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_ltq_cputemp_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devm_add_action
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_ltq_cputemp_enable
	leaq	L_.str(%rip), %rsi
	movq	_ltq_chip_info@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_devm_hwmon_device_register_with_info
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOC_TYPE_VR9_2,8,3             ## @SOC_TYPE_VR9_2
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ltq_cputemp_disable,4,2        ## @ltq_cputemp_disable
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ltq_cputemp"

	.comm	_ltq_chip_info,4,2              ## @ltq_chip_info
L_.str.1:                               ## @.str.1
	.asciz	"Failed to register as hwmon device"

	.no_dead_strip	_ltq_cputemp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltq_cputemp_probe
_ltq_cputemp_probe:                     ; @ltq_cputemp_probe
	.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, x0
	bl	_ltq_soc_type
Lloh0:
	adrp	x8, _SOC_TYPE_VR9_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOC_TYPE_VR9_2@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _ltq_cputemp_disable@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ltq_cputemp_disable@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_devm_add_action
	cbnz	w0, LBB0_5
; %bb.2:
	bl	_ltq_cputemp_enable
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
Lloh8:
	adrp	x3, _ltq_chip_info@GOTPAGE
Lloh9:
	ldr	x3, [x3, _ltq_chip_info@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, #0
	mov	x4, #0
	bl	_devm_hwmon_device_register_with_info
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SOC_TYPE_VR9_2,8,3             ; @SOC_TYPE_VR9_2
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ltq_cputemp_disable,4,2        ; @ltq_cputemp_disable
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ltq_cputemp"

	.comm	_ltq_chip_info,4,2              ; @ltq_chip_info
l_.str.1:                               ; @.str.1
	.asciz	"Failed to register as hwmon device"

	.no_dead_strip	_ltq_cputemp_probe
.subsections_via_symbols
