	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm1031_probe
_adm1031_probe:                         ## @adm1031_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	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	addq	$24, %rdi
	callq	_mutex_init
	movq	(%r15), %rax
	movq	_adm1030@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_auto_channel_select_table_adm1030@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_3:
	movq	_auto_channel_select_table_adm1031@GOTPCREL(%rip), %rax
LBB0_5:
	movq	%rax, 16(%r15)
	movq	%r14, %rdi
	callq	_adm1031_init_client
	movq	_adm1031_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	movq	(%r15), %rax
	movq	_adm1031@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_adm1031_group_opt@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
LBB0_8:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	8(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_11:
	movq	_adm1031_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	movq	_adm1031_group_opt@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
LBB0_12:
	movq	%r15, %rdi
	callq	_kfree
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adm1030,8,3                    ## @adm1030
	.comm	_auto_channel_select_table_adm1030,4,2 ## @auto_channel_select_table_adm1030
	.comm	_auto_channel_select_table_adm1031,4,2 ## @auto_channel_select_table_adm1031
	.comm	_adm1031_group,4,2              ## @adm1031_group
	.comm	_adm1031,8,3                    ## @adm1031
	.comm	_adm1031_group_opt,4,2          ## @adm1031_group_opt
	.no_dead_strip	_adm1031_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm1031_probe
_adm1031_probe:                         ; @adm1031_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	ldr	x8, [x21]
	str	x8, [x20]
	add	x0, x20, #24
	bl	_mutex_init
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _adm1030@GOTPAGE
Lloh4:
	ldr	x9, [x9, _adm1030@GOTPAGEOFF]
Lloh5:
	adrp	x10, _auto_channel_select_table_adm1031@GOTPAGE
Lloh6:
	ldr	x10, [x10, _auto_channel_select_table_adm1031@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x11, _auto_channel_select_table_adm1030@GOTPAGE
Lloh9:
	ldr	x11, [x11, _auto_channel_select_table_adm1030@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x10, eq
	str	x8, [x20, #16]
	mov	x0, x19
	bl	_adm1031_init_client
Lloh10:
	adrp	x1, _adm1031_group@GOTPAGE
Lloh11:
	ldr	x1, [x1, _adm1031_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _adm1031@GOTPAGE
Lloh13:
	ldr	x9, [x9, _adm1031@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x1, _adm1031_group_opt@GOTPAGE
Lloh16:
	ldr	x1, [x1, _adm1031_group_opt@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x21, x0
LBB0_6:
Lloh17:
	adrp	x1, _adm1031_group@GOTPAGE
Lloh18:
	ldr	x1, [x1, _adm1031_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
Lloh19:
	adrp	x1, _adm1031_group_opt@GOTPAGE
Lloh20:
	ldr	x1, [x1, _adm1031_group_opt@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
LBB0_7:
	mov	x0, x20
	bl	_kfree
	b	LBB0_9
LBB0_8:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_9:
	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_10:
	mov	w21, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adm1030,8,3                    ; @adm1030
	.comm	_auto_channel_select_table_adm1030,4,2 ; @auto_channel_select_table_adm1030
	.comm	_auto_channel_select_table_adm1031,4,2 ; @auto_channel_select_table_adm1031
	.comm	_adm1031_group,4,2              ; @adm1031_group
	.comm	_adm1031,8,3                    ; @adm1031
	.comm	_adm1031_group_opt,4,2          ; @adm1031_group_opt
	.no_dead_strip	_adm1031_probe
.subsections_via_symbols
