	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_ad7417_probe
_wf_ad7417_probe:                       ## @wf_ad7417_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	%rdi, %r12
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pr_err
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
	jmp	LBB0_2
LBB0_6:
	movl	$1, %r15d
LBB0_7:
	movl	%r15d, %edi
	callq	_wf_get_mpu
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r14
	leaq	28(%rax), %rdi
	callq	_kref_init
	movq	%r14, %rdi
	addq	$24, %rdi
	callq	_mutex_init
	movq	%r12, 16(%r14)
	movl	%r15d, (%r14)
	movq	%rbx, 8(%r14)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movq	%r14, %rdi
	callq	_wf_ad7417_init_chip
	leaq	L_.str.6(%rip), %rdx
	movq	_wf_ad7417_temp_ops@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_wf_ad7417_add_sensor
	leaq	L_.str.7(%rip), %rdx
	movq	_wf_ad7417_adc_ops@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r15, %rcx
	callq	_wf_ad7417_add_sensor
	leaq	L_.str.8(%rip), %rdx
	movq	%r14, %rdi
	movl	$2, %esi
	movq	%r15, %rcx
	callq	_wf_ad7417_add_sensor
	leaq	L_.str.9(%rip), %rdx
	movq	%r14, %rdi
	movl	$3, %esi
	movq	%r15, %rcx
	callq	_wf_ad7417_add_sensor
	leaq	L_.str.10(%rip), %rdx
	movq	%r14, %rdi
	movl	$4, %esi
	movq	%r15, %rcx
	callq	_wf_ad7417_add_sensor
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
LBB0_2:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hwsensor-location"

L_.str.1:                               ## @.str.1
	.asciz	"Missing hwsensor-location property!\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.2:                               ## @.str.2
	.asciz	"CPU A"

L_.str.3:                               ## @.str.3
	.asciz	"CPU B"

L_.str.4:                               ## @.str.4
	.asciz	"wf_ad7417: Can't identify location %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to retrieve MPU data\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.6:                               ## @.str.6
	.asciz	"cpu-amb-temp"

	.comm	_wf_ad7417_temp_ops,4,2         ## @wf_ad7417_temp_ops
L_.str.7:                               ## @.str.7
	.asciz	"cpu-diode-temp"

	.comm	_wf_ad7417_adc_ops,4,2          ## @wf_ad7417_adc_ops
L_.str.8:                               ## @.str.8
	.asciz	"cpu-12v-current"

L_.str.9:                               ## @.str.9
	.asciz	"cpu-voltage"

L_.str.10:                              ## @.str.10
	.asciz	"cpu-current"

	.no_dead_strip	_wf_ad7417_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wf_ad7417_probe
_wf_ad7417_probe:                       ; @wf_ad7417_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	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_of_get_property
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_pr_err
	b	LBB0_11
LBB0_4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	b	LBB0_11
LBB0_5:
	mov	w21, #0
	b	LBB0_7
LBB0_6:
	mov	w21, #1
LBB0_7:
	mov	x0, x21
	bl	_wf_get_mpu
	cbz	x0, LBB0_10
; %bb.8:
	mov	x22, x0
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_14
; %bb.9:
	mov	x20, x0
	add	x0, x0, #28
	bl	_kref_init
	add	x0, x20, #24
	bl	_mutex_init
	str	w21, [x20]
	stp	x22, x19, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	mov	x0, x20
	bl	_wf_ad7417_init_chip
Lloh13:
	adrp	x2, l_.str.6@PAGE
Lloh14:
	add	x2, x2, l_.str.6@PAGEOFF
Lloh15:
	adrp	x3, _wf_ad7417_temp_ops@GOTPAGE
Lloh16:
	ldr	x3, [x3, _wf_ad7417_temp_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w1, #0
	bl	_wf_ad7417_add_sensor
Lloh17:
	adrp	x2, l_.str.7@PAGE
Lloh18:
	add	x2, x2, l_.str.7@PAGEOFF
Lloh19:
	adrp	x19, _wf_ad7417_adc_ops@GOTPAGE
Lloh20:
	ldr	x19, [x19, _wf_ad7417_adc_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w1, #1
	mov	x3, x19
	bl	_wf_ad7417_add_sensor
Lloh21:
	adrp	x2, l_.str.8@PAGE
Lloh22:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	w1, #2
	mov	x3, x19
	bl	_wf_ad7417_add_sensor
Lloh23:
	adrp	x2, l_.str.9@PAGE
Lloh24:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	w1, #3
	mov	x3, x19
	bl	_wf_ad7417_add_sensor
Lloh25:
	adrp	x2, l_.str.10@PAGE
Lloh26:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	x3, x19
	bl	_wf_ad7417_add_sensor
	mov	w0, #0
	b	LBB0_13
LBB0_10:
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_11:
Lloh29:
	adrp	x8, _ENXIO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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_14:
Lloh31:
	adrp	x8, _ENODEV@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hwsensor-location"

l_.str.1:                               ; @.str.1
	.asciz	"Missing hwsensor-location property!\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.2:                               ; @.str.2
	.asciz	"CPU A"

l_.str.3:                               ; @.str.3
	.asciz	"CPU B"

l_.str.4:                               ; @.str.4
	.asciz	"wf_ad7417: Can't identify location %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to retrieve MPU data\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.6:                               ; @.str.6
	.asciz	"cpu-amb-temp"

	.comm	_wf_ad7417_temp_ops,4,2         ; @wf_ad7417_temp_ops
l_.str.7:                               ; @.str.7
	.asciz	"cpu-diode-temp"

	.comm	_wf_ad7417_adc_ops,4,2          ; @wf_ad7417_adc_ops
l_.str.8:                               ; @.str.8
	.asciz	"cpu-12v-current"

l_.str.9:                               ; @.str.9
	.asciz	"cpu-voltage"

l_.str.10:                              ; @.str.10
	.asciz	"cpu-current"

	.no_dead_strip	_wf_ad7417_probe
.subsections_via_symbols
