	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lm87_probe
LCPI0_0:
	.long	5000                            ## 0x1388
	.long	12000                           ## 0x2ee0
	.long	2700                            ## 0xa8c
	.long	1875                            ## 0x753
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lm87_probe:                            ## @lm87_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	%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.3:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, %rdi
	addq	$28, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	callq	_lm87_init_client
	testl	%eax, %eax
	jne	LBB0_2
## %bb.4:
	movq	(%rbx), %rax
	movabsq	$11596411701700, %rcx           ## imm = 0xA8C000009C4
	movq	%rcx, (%rax)
	movq	_CHAN_VCC_5V@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	8(%rbx), %ecx
	movl	$3300, %ecx                     ## imm = 0xCE4
	movl	$5000, %edx                     ## imm = 0x1388
	cmovel	%ecx, %edx
	movl	%edx, 8(%rax)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [5000,12000,2700,1875]
	movups	%xmm0, 12(%rax)
	movl	$1875, 28(%rax)                 ## imm = 0x753
	movq	16(%rbx), %rax
	movq	_lm87_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movl	8(%rbx), %r12d
	xorl	%edi, %edi
	callq	_CHAN_NO_FAN
	movq	16(%rbx), %rcx
	testl	%r12d, %eax
	jne	LBB0_5
## %bb.6:
	movq	_lm87_group_fan1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_lm87_group_in6@GOTPCREL(%rip), %rax
LBB0_7:
	movq	%rax, 8(%rcx)
	movl	8(%rbx), %r12d
	movl	$1, %edi
	callq	_CHAN_NO_FAN
	testl	%r12d, %eax
	jne	LBB0_8
## %bb.9:
	movq	_lm87_group_fan2@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_lm87_group_in7@GOTPCREL(%rip), %rax
LBB0_10:
	movq	16(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movl	8(%rbx), %eax
	movq	_CHAN_TEMP3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_11
## %bb.12:
	movq	_lm87_group_in0_5@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_11:
	movq	_lm87_group_temp3@GOTPCREL(%rip), %rcx
LBB0_13:
	movq	16(%rbx), %rdx
	movq	%rcx, 24(%rdx)
	movq	_CHAN_NO_VID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	callq	_vid_which_vrm
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rax
	movq	_lm87_group_vid@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rax)
LBB0_15:
	movl	(%r15), %esi
	movq	16(%rbx), %rcx
	movq	%r14, %rdi
	movq	%r15, %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
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CHAN_VCC_5V,4,2                ## @CHAN_VCC_5V
	.comm	_lm87_group,4,2                 ## @lm87_group
	.comm	_lm87_group_in6,4,2             ## @lm87_group_in6
	.comm	_lm87_group_fan1,4,2            ## @lm87_group_fan1
	.comm	_lm87_group_in7,4,2             ## @lm87_group_in7
	.comm	_lm87_group_fan2,4,2            ## @lm87_group_fan2
	.comm	_CHAN_TEMP3,4,2                 ## @CHAN_TEMP3
	.comm	_lm87_group_temp3,4,2           ## @lm87_group_temp3
	.comm	_lm87_group_in0_5,4,2           ## @lm87_group_in0_5
	.comm	_CHAN_NO_VID,4,2                ## @CHAN_NO_VID
	.comm	_lm87_group_vid,4,2             ## @lm87_group_vid
	.no_dead_strip	_lm87_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lm87_probe
lCPI0_0:
	.long	2500                            ; 0x9c4
	.long	2700                            ; 0xa8c
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	5000                            ; 0x1388
	.long	12000                           ; 0x2ee0
	.long	2700                            ; 0xa8c
	.long	1875                            ; 0x753
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lm87_probe:                            ; @lm87_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	x19, x0
	add	x20, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	add	x0, x21, #28
	bl	_mutex_init
	mov	x0, x19
	bl	_lm87_init_client
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	ldr	w9, [x21, #8]
Lloh5:
	adrp	x10, _CHAN_VCC_5V@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CHAN_VCC_5V@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	mov	w9, #5000
	mov	w10, #3300
	csel	w9, w10, w9, eq
	str	w9, [x8, #8]
Lloh8:
	adrp	x9, lCPI0_1@PAGE
Lloh9:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	stur	q0, [x8, #12]
	mov	w9, #1875
	str	w9, [x8, #28]
	ldr	x8, [x21, #16]
Lloh10:
	adrp	x9, _lm87_group@GOTPAGE
Lloh11:
	ldr	x9, [x9, _lm87_group@GOTPAGEOFF]
	str	x9, [x8]
	ldr	w22, [x21, #8]
	bl	_CHAN_NO_FAN
	ldr	x8, [x21, #16]
Lloh12:
	adrp	x9, _lm87_group_in6@GOTPAGE
Lloh13:
	ldr	x9, [x9, _lm87_group_in6@GOTPAGEOFF]
Lloh14:
	adrp	x10, _lm87_group_fan1@GOTPAGE
Lloh15:
	ldr	x10, [x10, _lm87_group_fan1@GOTPAGEOFF]
	tst	w0, w22
	csel	x9, x10, x9, eq
	str	x9, [x8, #8]
	ldr	w22, [x21, #8]
	mov	w0, #1
	bl	_CHAN_NO_FAN
Lloh16:
	adrp	x8, _lm87_group_in7@GOTPAGE
Lloh17:
	ldr	x8, [x8, _lm87_group_in7@GOTPAGEOFF]
Lloh18:
	adrp	x9, _lm87_group_fan2@GOTPAGE
Lloh19:
	ldr	x9, [x9, _lm87_group_fan2@GOTPAGEOFF]
	tst	w0, w22
	csel	x8, x9, x8, eq
	ldr	x9, [x21, #16]
	str	x8, [x9, #16]
	ldr	w8, [x21, #8]
Lloh20:
	adrp	x9, _CHAN_TEMP3@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CHAN_TEMP3@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _lm87_group_temp3@GOTPAGE
Lloh24:
	ldr	x10, [x10, _lm87_group_temp3@GOTPAGEOFF]
Lloh25:
	adrp	x11, _lm87_group_in0_5@GOTPAGE
Lloh26:
	ldr	x11, [x11, _lm87_group_in0_5@GOTPAGEOFF]
	tst	w9, w8
	csel	x9, x11, x10, eq
	ldr	x10, [x21, #16]
	str	x9, [x10, #24]
Lloh27:
	adrp	x9, _CHAN_NO_VID@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CHAN_NO_VID@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	bl	_vid_which_vrm
	str	w0, [x21, #24]
	ldr	x8, [x21, #16]
Lloh30:
	adrp	x9, _lm87_group_vid@GOTPAGE
Lloh31:
	ldr	x9, [x9, _lm87_group_vid@GOTPAGEOFF]
	str	x9, [x8, #32]
LBB0_4:
	ldr	w1, [x19]
	ldr	x3, [x21, #16]
	mov	x0, x20
	mov	x2, x19
	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
LBB0_5:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CHAN_VCC_5V,4,2                ; @CHAN_VCC_5V
	.comm	_lm87_group,4,2                 ; @lm87_group
	.comm	_lm87_group_in6,4,2             ; @lm87_group_in6
	.comm	_lm87_group_fan1,4,2            ; @lm87_group_fan1
	.comm	_lm87_group_in7,4,2             ; @lm87_group_in7
	.comm	_lm87_group_fan2,4,2            ; @lm87_group_fan2
	.comm	_CHAN_TEMP3,4,2                 ; @CHAN_TEMP3
	.comm	_lm87_group_temp3,4,2           ; @lm87_group_temp3
	.comm	_lm87_group_in0_5,4,2           ; @lm87_group_in0_5
	.comm	_CHAN_NO_VID,4,2                ; @CHAN_NO_VID
	.comm	_lm87_group_vid,4,2             ; @lm87_group_vid
	.no_dead_strip	_lm87_probe
.subsections_via_symbols
