	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7470_probe
_adt7470_probe:                         ## @adt7470_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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$28, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	$-1, (%rax)
	movq	_AUTO_UPDATE_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	leaq	20(%r12), %rdi
	callq	_mutex_init
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movq	%r14, %rdi
	callq	_adt7470_init_client
	movq	_adt7470_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	4(%r12), %r15
	movl	%eax, 4(%r12)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 8(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	8(%r12), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_5:
	movq	%r12, %rdi
	addq	$16, %rdi
	callq	_init_completion
	movq	_adt7470_update_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r12), %edi
	callq	_dev_name
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_kthread_run
	movl	%eax, 12(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	8(%r12), %edi
	callq	_hwmon_device_unregister
	xorl	%ebx, %ebx
LBB0_8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sysfs_remove_group
LBB0_9:
	movq	%r12, %rdi
	callq	_kfree
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AUTO_UPDATE_INTERVAL,4,2       ## @AUTO_UPDATE_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s chip found\n"

	.comm	_adt7470_attr,4,2               ## @adt7470_attr
	.comm	_adt7470_update_thread,4,2      ## @adt7470_update_thread
	.no_dead_strip	_adt7470_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7470_probe
_adt7470_probe:                         ; @adt7470_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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #28
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	w8, #-1
	str	w8, [x0]
Lloh3:
	adrp	x8, _AUTO_UPDATE_INTERVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUTO_UPDATE_INTERVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	add	x0, x20, #20
	bl	_mutex_init
	ldr	w2, [x19, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	x0, x19
	bl	_adt7470_init_client
Lloh8:
	adrp	x8, _adt7470_attr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _adt7470_attr@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	x21, x20
	str	w8, [x21, #4]!
	mov	x0, x19
	mov	x1, x21
	bl	_sysfs_create_group
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_7
LBB0_4:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_9
LBB0_5:
	add	x0, x20, #16
	bl	_init_completion
Lloh14:
	adrp	x8, _adt7470_update_thread@GOTPAGE
Lloh15:
	ldr	x8, [x8, _adt7470_update_thread@GOTPAGEOFF]
Lloh16:
	ldr	w22, [x8]
	ldr	w0, [x20, #8]
	bl	_dev_name
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_kthread_run
	str	w0, [x20, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w0, [x20, #8]
	bl	_hwmon_device_unregister
	mov	w22, #0
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_sysfs_remove_group
LBB0_8:
	mov	x0, x20
	bl	_kfree
LBB0_9:
	mov	x0, x22
	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_10:
	mov	w22, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AUTO_UPDATE_INTERVAL,4,2       ; @AUTO_UPDATE_INTERVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s chip found\n"

	.comm	_adt7470_attr,4,2               ; @adt7470_attr
	.comm	_adt7470_update_thread,4,2      ; @adt7470_update_thread
	.no_dead_strip	_adt7470_probe
.subsections_via_symbols
