	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7418_probe
_ad7418_probe:                          ## @ad7418_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, %rbx
	movq	8(%rdi), %rdi
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	16(%rbx), %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.5:
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	%rbx, 8(%r15)
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	jmp	LBB0_8
LBB0_1:
	movq	_EOPNOTSUPP@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
LBB0_7:
	movl	(%r12), %eax
LBB0_8:
	movl	%eax, (%r15)
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_9
## %bb.10:
	cltq
	leaq	l_switch.table.ad7418_probe(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	leaq	l_switch.table.ad7418_probe.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	%ecx, 4(%r15)
	movq	(%rax), %r12
	jmp	LBB0_11
LBB0_9:
	xorl	%r12d, %r12d
LBB0_11:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movq	%rbx, %rdi
	callq	_ad7418_init_client
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	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
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ad7416_groups,8,3              ## @ad7416_groups
	.comm	_ad7417_groups,8,3              ## @ad7417_groups
	.comm	_ad7418_groups,8,3              ## @ad7418_groups
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s chip found\n"

	.no_dead_strip	_ad7418_probe
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.ad7418_probe
l_switch.table.ad7418_probe:
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.long	0                               ## 0x0

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ad7418_probe.1
l_switch.table.ad7418_probe.1:
	.quad	_ad7418_groups
	.quad	_ad7417_groups
	.quad	_ad7416_groups

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad7418_probe
_ad7418_probe:                          ; @ad7418_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
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
	ldr	x0, [x0, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_4
; %bb.1:
	add	x20, x19, #16
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	add	x0, x21, #16
	bl	_mutex_init
	str	x19, [x21, #8]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_of_device_get_match_data
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	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
LBB0_7:
	ldr	w0, [x22]
LBB0_8:
	str	w0, [x21]
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_10
; %bb.9:
Lloh13:
	adrp	x9, l_switch.table.ad7418_probe@PAGE
Lloh14:
	add	x9, x9, l_switch.table.ad7418_probe@PAGEOFF
	ldr	w9, [x9, w8, sxtw #2]
Lloh15:
	adrp	x10, l_switch.table.ad7418_probe.1@PAGE
Lloh16:
	add	x10, x10, l_switch.table.ad7418_probe.1@PAGEOFF
	ldr	x8, [x10, w8, sxtw #3]
	str	w9, [x21, #4]
	ldr	x22, [x8]
	b	LBB0_11
LBB0_10:
	mov	x22, #0
LBB0_11:
	ldr	w2, [x19]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	x0, x19
	bl	_ad7418_init_client
	ldr	w1, [x19]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ad7416_groups,8,3              ; @ad7416_groups
	.comm	_ad7417_groups,8,3              ; @ad7417_groups
	.comm	_ad7418_groups,8,3              ; @ad7418_groups
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s chip found\n"

	.no_dead_strip	_ad7418_probe
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.ad7418_probe
l_switch.table.ad7418_probe:
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.long	0                               ; 0x0

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ad7418_probe.1
l_switch.table.ad7418_probe.1:
	.quad	_ad7418_groups
	.quad	_ad7417_groups
	.quad	_ad7416_groups

.subsections_via_symbols
