	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm1025_probe
_adm1025_probe:                         ## @adm1025_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	%rdi, %r15
	leaq	4(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, 16(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	callq	_adm1025_init_client
	movq	(%rbx), %rax
	movq	_adm1025_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_ADM1025_REG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	testb	$32, %al
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movq	_adm1025_group_in4@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
LBB0_3:
	movl	(%r15), %esi
	movq	(%rbx), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devm_hwmon_device_register_with_groups
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adm1025_group,4,2              ## @adm1025_group
	.comm	_ADM1025_REG_CONFIG,4,2         ## @ADM1025_REG_CONFIG
	.comm	_adm1025_group_in4,4,2          ## @adm1025_group_in4
	.no_dead_strip	_adm1025_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm1025_probe
_adm1025_probe:                         ; @adm1025_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	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, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_i2c_set_clientdata
	str	x20, [x21, #16]
	add	x0, x21, #8
	bl	_mutex_init
	mov	x0, x20
	bl	_adm1025_init_client
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _adm1025_group@GOTPAGE
Lloh4:
	ldr	x9, [x9, _adm1025_group@GOTPAGEOFF]
	str	x9, [x8]
Lloh5:
	adrp	x8, _ADM1025_REG_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADM1025_REG_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #5, LBB0_3
; %bb.2:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _adm1025_group_in4@GOTPAGE
Lloh9:
	ldr	x9, [x9, _adm1025_group_in4@GOTPAGEOFF]
	str	x9, [x8, #8]
LBB0_3:
	ldr	w1, [x20]
	ldr	x3, [x21]
	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_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adm1025_group,4,2              ; @adm1025_group
	.comm	_ADM1025_REG_CONFIG,4,2         ; @ADM1025_REG_CONFIG
	.comm	_adm1025_group_in4,4,2          ; @adm1025_group_in4
	.no_dead_strip	_adm1025_probe
.subsections_via_symbols
