	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm1021_probe
_adm1021_probe:                         ## @adm1021_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	%rsi, %r12
	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_7
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, 24(%rax)
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	(%rbx), %rax
	movq	_lm84@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.2:
	movq	_read_only@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_adm1021_init_client
	movq	(%rbx), %rax
	movq	(%r12), %rcx
LBB0_4:
	movq	8(%rbx), %rdx
	movq	_adm1021_group@GOTPCREL(%rip), %rsi
	movq	%rsi, (%rdx)
	cmpq	%rcx, %rax
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movq	_adm1021_min_group@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
LBB0_6:
	movl	(%r15), %esi
	movq	8(%rbx), %rcx
	movq	%r14, %rdi
	movq	%rbx, %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
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lm84,8,3                       ## @lm84
	.comm	_read_only,4,2                  ## @read_only
	.comm	_adm1021_group,4,2              ## @adm1021_group
	.comm	_adm1021_min_group,4,2          ## @adm1021_min_group
	.no_dead_strip	_adm1021_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm1021_probe
_adm1021_probe:                         ; @adm1021_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	x22, x1
	mov	x20, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	str	x20, [x0, #24]
	ldr	x8, [x22]
	str	x8, [x0], #16
	bl	_mutex_init
	ldr	x8, [x21]
Lloh3:
	adrp	x22, _lm84@GOTPAGE
Lloh4:
	ldr	x22, [x22, _lm84@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh5:
	adrp	x10, _read_only@GOTPAGE
Lloh6:
	ldr	x10, [x10, _read_only@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	x8, x9
	ccmp	w10, #0, #0, ne
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_adm1021_init_client
	ldr	x8, [x21]
	ldr	x9, [x22]
LBB0_3:
	ldr	x10, [x21, #8]
Lloh8:
	adrp	x11, _adm1021_group@GOTPAGE
Lloh9:
	ldr	x11, [x11, _adm1021_group@GOTPAGEOFF]
	str	x11, [x10]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x21, #8]
Lloh10:
	adrp	x9, _adm1021_min_group@GOTPAGE
Lloh11:
	ldr	x9, [x9, _adm1021_min_group@GOTPAGEOFF]
	str	x9, [x8, #8]
LBB0_5:
	ldr	w1, [x20]
	ldr	x3, [x21, #8]
	mov	x0, x19
	mov	x2, x21
	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_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lm84,8,3                       ; @lm84
	.comm	_read_only,4,2                  ; @read_only
	.comm	_adm1021_group,4,2              ; @adm1021_group
	.comm	_adm1021_min_group,4,2          ; @adm1021_min_group
	.no_dead_strip	_adm1021_probe
.subsections_via_symbols
