	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	addq	$20, %rdi
	callq	_mutex_init
	movl	(%r15), %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_3
## %bb.4:
	movq	_adm1027_freq_map@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_3:
	movq	_lm85_freq_map@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	xorl	%eax, %eax
	callq	_vid_which_vrm
	movl	%eax, 12(%r15)
	movq	%r14, %rdi
	callq	_lm85_init_client
	movq	_lm85_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
LBB0_17:
	movq	%r15, %rdi
	callq	_kfree
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_LM85_REG_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_lm85_read_value
	movl	%eax, 4(%r15)
	movl	(%r15), %ecx
	cmpl	$130, %ecx
	setne	%dl
	movq	_adt7468@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	setne	%bl
	testb	%bl, %dl
	jne	LBB0_8
## %bb.7:
	andl	$128, %eax
	je	LBB0_8
## %bb.10:
	cmpl	$129, %ecx
	je	LBB0_11
	jmp	LBB0_12
LBB0_8:
	movq	_lm85_group_in4@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.9:
	movl	(%r15), %ecx
	cmpl	$129, %ecx
	jne	LBB0_12
LBB0_11:
	movq	_lm85_group_in567@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
LBB0_12:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movl	8(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_15:
	movq	_lm85_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	movq	_lm85_group_in4@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	cmpl	$129, (%r15)
	jne	LBB0_17
## %bb.16:
	movq	_lm85_group_in567@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	jmp	LBB0_17
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adm1027_freq_map,4,2           ## @adm1027_freq_map
	.comm	_lm85_freq_map,4,2              ## @lm85_freq_map
	.comm	_lm85_group,4,2                 ## @lm85_group
	.comm	_LM85_REG_VID,4,2               ## @LM85_REG_VID
	.comm	_adt7468,4,2                    ## @adt7468
	.comm	_lm85_group_in4,4,2             ## @lm85_group_in4
	.comm	_lm85_group_in567,4,2           ## @lm85_group_in567
	.no_dead_strip	_lm85_probe
.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_i2c_set_clientdata
	ldr	w8, [x21]
	str	w8, [x19]
	add	x0, x19, #20
	bl	_mutex_init
	ldr	w8, [x19]
	and	w8, w8, #0xfffffffc
Lloh3:
	adrp	x9, _adm1027_freq_map@GOTPAGE
Lloh4:
	ldr	x9, [x9, _adm1027_freq_map@GOTPAGEOFF]
Lloh5:
	adrp	x10, _lm85_freq_map@GOTPAGE
Lloh6:
	ldr	x10, [x10, _lm85_freq_map@GOTPAGEOFF]
	cmp	w8, #128
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #16]
	bl	_vid_which_vrm
	str	w0, [x19, #12]
	mov	x0, x20
	bl	_lm85_init_client
Lloh7:
	adrp	x1, _lm85_group@GOTPAGE
Lloh8:
	ldr	x1, [x1, _lm85_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_create_group
	mov	x21, x0
	cbz	w0, LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_kfree
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	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
	ret
LBB0_5:
Lloh12:
	adrp	x8, _LM85_REG_VID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LM85_REG_VID@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_lm85_read_value
	str	w0, [x19, #4]
	ldr	w8, [x19]
Lloh15:
	adrp	x9, _adt7468@GOTPAGE
Lloh16:
	ldr	x9, [x9, _adt7468@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w9, #130
	ccmp	w8, w9, #4, ne
	and	w9, w0, #0x80
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_8
; %bb.6:
Lloh18:
	adrp	x1, _lm85_group_in4@GOTPAGE
Lloh19:
	ldr	x1, [x1, _lm85_group_in4@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.7:
	ldr	w8, [x19]
LBB0_8:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.9:
Lloh20:
	adrp	x1, _lm85_group_in567@GOTPAGE
Lloh21:
	ldr	x1, [x1, _lm85_group_in567@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_12
LBB0_10:
	mov	x0, x20
	bl	_hwmon_device_register
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.11:
	ldr	w0, [x19, #8]
	bl	_PTR_ERR
	mov	x21, x0
LBB0_12:
Lloh22:
	adrp	x1, _lm85_group@GOTPAGE
Lloh23:
	ldr	x1, [x1, _lm85_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_remove_group
Lloh24:
	adrp	x1, _lm85_group_in4@GOTPAGE
Lloh25:
	ldr	x1, [x1, _lm85_group_in4@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_remove_group
	ldr	w8, [x19]
	cmp	w8, #129
	b.ne	LBB0_2
; %bb.13:
Lloh26:
	adrp	x1, _lm85_group_in567@GOTPAGE
Lloh27:
	ldr	x1, [x1, _lm85_group_in567@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_remove_group
	b	LBB0_2
LBB0_14:
	mov	w21, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adm1027_freq_map,4,2           ; @adm1027_freq_map
	.comm	_lm85_freq_map,4,2              ; @lm85_freq_map
	.comm	_lm85_group,4,2                 ; @lm85_group
	.comm	_LM85_REG_VID,4,2               ; @LM85_REG_VID
	.comm	_adt7468,4,2                    ; @adt7468
	.comm	_lm85_group_in4,4,2             ; @lm85_group_in4
	.comm	_lm85_group_in567,4,2           ; @lm85_group_in567
	.no_dead_strip	_lm85_probe
.subsections_via_symbols
