	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max1668_probe
_max1668_probe:                         ## @max1668_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
	movq	8(%rdi), %rdi
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	4(%r15), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r15, 24(%rax)
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	8(%rbx), %rax
	movq	_max1668_group_common@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	(%rbx), %rax
	movq	_max1668@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_max1989@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_7:
	movq	8(%rbx), %rax
	movq	_max1668_group_unique@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
LBB0_8:
	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_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_max1668_group_common,4,2       ## @max1668_group_common
	.comm	_max1668,8,3                    ## @max1668
	.comm	_max1989,8,3                    ## @max1989
	.comm	_max1668_group_unique,4,2       ## @max1668_group_unique
	.no_dead_strip	_max1668_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max1668_probe
_max1668_probe:                         ; @max1668_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	x19, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_5
; %bb.1:
	add	x20, x19, #4
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	str	x19, [x0, #24]
	ldr	x8, [x22]
	str	x8, [x0], #16
	bl	_mutex_init
Lloh6:
	adrp	x8, _max1668_group_common@GOTPAGE
Lloh7:
	ldr	x8, [x8, _max1668_group_common@GOTPAGEOFF]
	ldp	x10, x9, [x21]
	str	x8, [x9]
Lloh8:
	adrp	x8, _max1668@GOTPAGE
Lloh9:
	ldr	x8, [x8, _max1668@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _max1989@GOTPAGE
Lloh12:
	ldr	x9, [x9, _max1989@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x10, x8
	ccmp	x10, x9, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x21, #8]
Lloh14:
	adrp	x9, _max1668_group_unique@GOTPAGE
Lloh15:
	ldr	x9, [x9, _max1668_group_unique@GOTPAGEOFF]
	str	x9, [x8, #8]
LBB0_4:
	ldr	w1, [x19]
	ldr	x3, [x21, #8]
	mov	x0, x20
	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_5:
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_max1668_group_common,4,2       ; @max1668_group_common
	.comm	_max1668,8,3                    ; @max1668
	.comm	_max1989,8,3                    ; @max1989
	.comm	_max1668_group_unique,4,2       ; @max1668_group_unique
	.no_dead_strip	_max1668_probe
.subsections_via_symbols
