	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm85_probe
_lm85_probe:                            ## @lm85_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	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, 48(%rax)
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	jmp	LBB0_4
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r12), %eax
LBB0_4:
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	addq	$40, %rdi
	callq	_mutex_init
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_5
## %bb.6:
	cltq
	leaq	l_switch.table.lm85_probe(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_lm85_freq_map@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rdi
	movq	%rdi, 32(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_vid_which_vrm
	movl	%eax, 16(%rbx)
	movq	%r15, %rdi
	callq	_lm85_init_client
	movq	8(%rbx), %rax
	movq	_lm85_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	(%rbx), %eax
	movl	$1, %r12d
	cmpl	$129, %eax
	je	LBB0_11
## %bb.8:
	movq	8(%rbx), %rcx
	movq	_lm85_group_minctl@GOTPCREL(%rip), %rdx
	movq	%rdx, 8(%rcx)
	movq	8(%rbx), %rcx
	movq	_lm85_group_temp_off@GOTPCREL(%rip), %rdx
	movq	%rdx, 16(%rcx)
	addl	$-133, %eax
	movl	$3, %r12d
	cmpl	$1, %eax
	ja	LBB0_11
## %bb.9:
	movq	_LM85_REG_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_lm85_read_value
	testb	$-128, %al
	je	LBB0_11
## %bb.10:
	movl	$1, 4(%rbx)
LBB0_11:
	cmpl	$0, 4(%rbx)
	je	LBB0_12
## %bb.13:
	cmpl	$132, (%rbx)
	jne	LBB0_15
LBB0_14:
	movq	8(%rbx), %rax
	movl	%r12d, %ecx
	movq	_lm85_group_in567@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
LBB0_15:
	movl	(%r15), %esi
	movq	8(%rbx), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devm_hwmon_device_register_with_groups
	movq	%rax, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_12:
	movq	8(%rbx), %rax
	movl	%r12d, %ecx
	incl	%r12d
	movq	_lm85_group_in4@GOTPCREL(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
	cmpl	$132, (%rbx)
	je	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adm1027_freq_map,8,3           ## @adm1027_freq_map
	.comm	_lm96000_freq_map,8,3           ## @lm96000_freq_map
	.comm	_lm85_freq_map,8,3              ## @lm85_freq_map
	.comm	_lm85_group,4,2                 ## @lm85_group
	.comm	_lm85_group_minctl,4,2          ## @lm85_group_minctl
	.comm	_lm85_group_temp_off,4,2        ## @lm85_group_temp_off
	.comm	_LM85_REG_VID,4,2               ## @LM85_REG_VID
	.comm	_lm85_group_in4,4,2             ## @lm85_group_in4
	.comm	_lm85_group_in567,4,2           ## @lm85_group_in567
	.no_dead_strip	_lm85_probe
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.lm85_probe
l_switch.table.lm85_probe:
	.quad	_lm96000_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm85_probe
_lm85_probe:                            ; @lm85_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	x20, x0
	add	x19, x0, #8
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	str	x20, [x0, #48]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_of_device_get_match_data
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	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
LBB0_4:
	ldr	w0, [x22]
LBB0_5:
	str	w0, [x21]
	add	x0, x21, #40
	bl	_mutex_init
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_7
; %bb.6:
Lloh6:
	adrp	x9, l_switch.table.lm85_probe@PAGE
Lloh7:
	add	x9, x9, l_switch.table.lm85_probe@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _lm85_freq_map@GOTPAGE
Lloh9:
	ldr	x8, [x8, _lm85_freq_map@GOTPAGEOFF]
LBB0_8:
	ldr	x0, [x8]
	str	x0, [x21, #32]
	bl	_ARRAY_SIZE
	str	x0, [x21, #24]
	bl	_vid_which_vrm
	str	w0, [x21, #16]
	mov	x0, x20
	bl	_lm85_init_client
	ldr	x8, [x21, #8]
Lloh10:
	adrp	x9, _lm85_group@GOTPAGE
Lloh11:
	ldr	x9, [x9, _lm85_group@GOTPAGEOFF]
	str	x9, [x8]
	ldr	w8, [x21]
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.9:
	mov	w8, #1
	ldr	w9, [x21, #4]
	cbnz	w9, LBB0_15
	b	LBB0_14
LBB0_10:
	ldr	x9, [x21, #8]
Lloh12:
	adrp	x10, _lm85_group_minctl@GOTPAGE
Lloh13:
	ldr	x10, [x10, _lm85_group_minctl@GOTPAGEOFF]
	str	x10, [x9, #8]
	ldr	x9, [x21, #8]
Lloh14:
	adrp	x10, _lm85_group_temp_off@GOTPAGE
Lloh15:
	ldr	x10, [x10, _lm85_group_temp_off@GOTPAGEOFF]
	str	x10, [x9, #16]
	sub	w8, w8, #133
	cmp	w8, #1
	b.hi	LBB0_13
; %bb.11:
Lloh16:
	adrp	x8, _LM85_REG_VID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LM85_REG_VID@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_lm85_read_value
	tbz	w0, #7, LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x21, #4]
LBB0_13:
	mov	w8, #3
	ldr	w9, [x21, #4]
	cbnz	w9, LBB0_15
LBB0_14:
	ldr	x9, [x21, #8]
Lloh19:
	adrp	x10, _lm85_group_in4@GOTPAGE
Lloh20:
	ldr	x10, [x10, _lm85_group_in4@GOTPAGEOFF]
	str	x10, [x9, w8, uxtw #3]
	add	w8, w8, #1
LBB0_15:
	ldr	w9, [x21]
	cmp	w9, #132
	b.ne	LBB0_17
; %bb.16:
	ldr	x9, [x21, #8]
Lloh21:
	adrp	x10, _lm85_group_in567@GOTPAGE
Lloh22:
	ldr	x10, [x10, _lm85_group_in567@GOTPAGEOFF]
	str	x10, [x9, w8, uxtw #3]
LBB0_17:
	ldr	w1, [x20]
	ldr	x3, [x21, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_hwmon_device_register_with_groups
	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_OR_ZERO
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adm1027_freq_map,8,3           ; @adm1027_freq_map
	.comm	_lm96000_freq_map,8,3           ; @lm96000_freq_map
	.comm	_lm85_freq_map,8,3              ; @lm85_freq_map
	.comm	_lm85_group,4,2                 ; @lm85_group
	.comm	_lm85_group_minctl,4,2          ; @lm85_group_minctl
	.comm	_lm85_group_temp_off,4,2        ; @lm85_group_temp_off
	.comm	_LM85_REG_VID,4,2               ; @LM85_REG_VID
	.comm	_lm85_group_in4,4,2             ; @lm85_group_in4
	.comm	_lm85_group_in567,4,2           ; @lm85_group_in567
	.no_dead_strip	_lm85_probe
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.lm85_probe
l_switch.table.lm85_probe:
	.quad	_lm96000_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map
	.quad	_adm1027_freq_map

.subsections_via_symbols
