	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm90_probe
_lm90_probe:                            ## @lm90_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	8(%rdi), %edi
	callq	_to_i2c_adapter
	movq	%rax, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	4(%r12), %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, %rdi
	addq	$12, %rdi
	callq	_mutex_init
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	movq	_adm1032@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_I2C_FUNC_SMBUS_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_I2C_CLIENT_PEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
LBB0_5:
	movq	%r12, %rdi
	callq	_lm90_init_client
	movq	_lm90_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.6:
	movq	_I2C_CLIENT_PEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_8
## %bb.7:
	movq	_dev_attr_pec@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
LBB0_8:
	movq	(%r15), %rax
	movq	_max6657@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.9:
	movq	_max6646@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_sensor_dev_attr_temp2_offset@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
LBB0_11:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movl	8(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_14:
	movq	_lm90_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	movq	_dev_attr_pec@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_remove_file
LBB0_15:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_16
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adm1032,8,3                    ## @adm1032
	.comm	_I2C_FUNC_SMBUS_BYTE,4,2        ## @I2C_FUNC_SMBUS_BYTE
	.comm	_I2C_CLIENT_PEC,4,2             ## @I2C_CLIENT_PEC
	.comm	_lm90_group,4,2                 ## @lm90_group
	.comm	_dev_attr_pec,4,2               ## @dev_attr_pec
	.comm	_max6657,8,3                    ## @max6657
	.comm	_max6646,8,3                    ## @max6646
	.comm	_sensor_dev_attr_temp2_offset,4,2 ## @sensor_dev_attr_temp2_offset
	.no_dead_strip	_lm90_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm90_probe
_lm90_probe:                            ; @lm90_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x1
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_to_i2c_adapter
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	add	x20, x21, #4
	mov	x0, x21
	mov	x1, x19
	bl	_i2c_set_clientdata
	add	x0, x19, #12
	bl	_mutex_init
	ldr	x8, [x23]
	str	x8, [x19]
Lloh3:
	adrp	x9, _adm1032@GOTPAGE
Lloh4:
	ldr	x9, [x9, _adm1032@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_i2c_check_functionality
	cbnz	w0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _I2C_CLIENT_PEC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2C_CLIENT_PEC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_4:
	mov	x0, x21
	bl	_lm90_init_client
Lloh12:
	adrp	x1, _lm90_group@GOTPAGE
Lloh13:
	ldr	x1, [x1, _lm90_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_create_group
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	w8, [x21]
Lloh14:
	adrp	x9, _I2C_CLIENT_PEC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _I2C_CLIENT_PEC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh17:
	adrp	x1, _dev_attr_pec@GOTPAGE
Lloh18:
	ldr	x1, [x1, _dev_attr_pec@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_create_file
	mov	x22, x0
	cbnz	w0, LBB0_11
LBB0_7:
	ldr	x8, [x19]
Lloh19:
	adrp	x9, _max6657@GOTPAGE
Lloh20:
	ldr	x9, [x9, _max6657@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, _max6646@GOTPAGE
Lloh23:
	ldr	x10, [x10, _max6646@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_9
; %bb.8:
Lloh25:
	adrp	x1, _sensor_dev_attr_temp2_offset@GOTPAGE
Lloh26:
	ldr	x1, [x1, _sensor_dev_attr_temp2_offset@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_create_file
	mov	x22, x0
	cbnz	w0, LBB0_11
LBB0_9:
	mov	x0, x20
	bl	_hwmon_device_register
	str	w0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.10:
	ldr	w0, [x19, #8]
	bl	_PTR_ERR
	mov	x22, x0
LBB0_11:
Lloh27:
	adrp	x1, _lm90_group@GOTPAGE
Lloh28:
	ldr	x1, [x1, _lm90_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_remove_group
Lloh29:
	adrp	x1, _dev_attr_pec@GOTPAGE
Lloh30:
	ldr	x1, [x1, _dev_attr_pec@GOTPAGEOFF]
	mov	x0, x20
	bl	_device_remove_file
LBB0_12:
	mov	x0, x19
	bl	_kfree
	b	LBB0_14
LBB0_13:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	w22, #0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adm1032,8,3                    ; @adm1032
	.comm	_I2C_FUNC_SMBUS_BYTE,4,2        ; @I2C_FUNC_SMBUS_BYTE
	.comm	_I2C_CLIENT_PEC,4,2             ; @I2C_CLIENT_PEC
	.comm	_lm90_group,4,2                 ; @lm90_group
	.comm	_dev_attr_pec,4,2               ; @dev_attr_pec
	.comm	_max6657,8,3                    ; @max6657
	.comm	_max6646,8,3                    ; @max6646
	.comm	_sensor_dev_attr_temp2_offset,4,2 ; @sensor_dev_attr_temp2_offset
	.no_dead_strip	_lm90_probe
.subsections_via_symbols
