	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp401_probe
_tmp401_probe:                          ## @tmp401_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	4(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, 24(%rax)
	movq	%rax, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tmp401_init_client
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	movq	8(%rbx), %rax
	movq	_tmp401_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	(%rbx), %rax
	movq	_tmp411@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.4:
	movq	8(%rbx), %rcx
	movq	_tmp411_group@GOTPCREL(%rip), %rdx
	movq	%rdx, 8(%rcx)
	movl	$2, %ecx
LBB0_5:
	movq	_tmp432@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_7
## %bb.6:
	movq	8(%rbx), %rdx
	movl	%ecx, %esi
	incl	%ecx
	movq	_tmp432_group@GOTPCREL(%rip), %rdi
	movq	%rdi, (%rdx,%rsi,8)
LBB0_7:
	movq	_tmp461@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_9
## %bb.8:
	movq	8(%rbx), %rax
	movl	%ecx, %ecx
	movq	_tmp461_group@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
LBB0_9:
	movl	(%r15), %esi
	movq	8(%rbx), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devm_hwmon_device_register_with_groups
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_10:
	movq	(%rbx), %rax
	leaq	_reltable.tmp401_probe(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.tmp401_probe
_reltable.tmp401_probe:
	.long	L_.str-_reltable.tmp401_probe
	.long	L_.str.1-_reltable.tmp401_probe
	.long	L_.str.2-_reltable.tmp401_probe
	.long	L_.str.3-_reltable.tmp401_probe
	.long	L_.str.4-_reltable.tmp401_probe
	.long	L_.str.5-_reltable.tmp401_probe

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TMP401"

L_.str.1:                               ## @.str.1
	.asciz	"TMP411"

L_.str.2:                               ## @.str.2
	.asciz	"TMP431"

L_.str.3:                               ## @.str.3
	.asciz	"TMP432"

L_.str.4:                               ## @.str.4
	.asciz	"TMP435"

L_.str.5:                               ## @.str.5
	.asciz	"TMP461"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tmp401_group,4,2               ## @tmp401_group
	.comm	_tmp411,8,3                     ## @tmp411
	.comm	_tmp411_group,4,2               ## @tmp411_group
	.comm	_tmp432,8,3                     ## @tmp432
	.comm	_tmp432_group,4,2               ## @tmp432_group
	.comm	_tmp461,8,3                     ## @tmp461
	.comm	_tmp461_group,4,2               ## @tmp461_group
L_.str.6:                               ## @.str.6
	.asciz	"Detected TI %s chip\n"

	.no_dead_strip	_tmp401_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp401_probe
_tmp401_probe:                          ; @tmp401_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x21, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	str	x21, [x0, #24]
	add	x0, x0, #16
	bl	_mutex_init
	ldr	x8, [x22]
	str	x8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_tmp401_init_client
	tbnz	w0, #31, LBB0_13
; %bb.2:
Lloh3:
	adrp	x9, _tmp401_group@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tmp401_group@GOTPAGEOFF]
	ldp	x8, x10, [x20]
	str	x9, [x10]
Lloh5:
	adrp	x9, _tmp411@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tmp411@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x9, [x20, #8]
Lloh8:
	adrp	x10, _tmp411_group@GOTPAGE
Lloh9:
	ldr	x10, [x10, _tmp411_group@GOTPAGEOFF]
	str	x10, [x9, #8]
	mov	w9, #2
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_5:
	mov	w9, #1
LBB0_6:
Lloh13:
	adrp	x10, _tmp432@GOTPAGE
Lloh14:
	ldr	x10, [x10, _tmp432@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_8
; %bb.7:
	ldr	x10, [x20, #8]
Lloh16:
	adrp	x11, _tmp432_group@GOTPAGE
Lloh17:
	ldr	x11, [x11, _tmp432_group@GOTPAGEOFF]
	str	x11, [x10, w9, uxtw #3]
	add	w9, w9, #1
LBB0_8:
Lloh18:
	adrp	x10, _tmp461@GOTPAGE
Lloh19:
	ldr	x10, [x10, _tmp461@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x20, #8]
Lloh21:
	adrp	x10, _tmp461_group@GOTPAGE
Lloh22:
	ldr	x10, [x10, _tmp461_group@GOTPAGEOFF]
	str	x10, [x8, w9, uxtw #3]
LBB0_10:
	ldr	w1, [x21]
	ldr	x3, [x20, #8]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_hwmon_device_register_with_groups
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_12:
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _tmp401_probe.names@PAGE
Lloh24:
	add	x9, x9, _tmp401_probe.names@PAGEOFF
	ldr	x2, [x9, x8, lsl #3]
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @tmp401_probe.names
_tmp401_probe.names:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TMP401"

l_.str.1:                               ; @.str.1
	.asciz	"TMP411"

l_.str.2:                               ; @.str.2
	.asciz	"TMP431"

l_.str.3:                               ; @.str.3
	.asciz	"TMP432"

l_.str.4:                               ; @.str.4
	.asciz	"TMP435"

l_.str.5:                               ; @.str.5
	.asciz	"TMP461"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tmp401_group,4,2               ; @tmp401_group
	.comm	_tmp411,8,3                     ; @tmp411
	.comm	_tmp411_group,4,2               ; @tmp411_group
	.comm	_tmp432,8,3                     ; @tmp432
	.comm	_tmp432_group,4,2               ; @tmp432_group
	.comm	_tmp461,8,3                     ; @tmp461
	.comm	_tmp461_group,4,2               ; @tmp461_group
l_.str.6:                               ; @.str.6
	.asciz	"Detected TI %s chip\n"

	.no_dead_strip	_tmp401_probe
.subsections_via_symbols
