	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntc_thermistor_probe
_ntc_thermistor_probe:                  ## @ntc_thermistor_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ntc_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_ptr
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_of_match_device
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_ntc_thermistor_parse_dt
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_dev_get_platdata
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_21
LBB0_5:
	cmpq	$0, 32(%rbx)
	movq	40(%rbx), %rax
	je	LBB0_8
## %bb.6:
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_warn
	movq	$0, 32(%rbx)
	jmp	LBB0_9
LBB0_8:
	testq	%rax, %rax
	je	LBB0_27
LBB0_9:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_22
## %bb.11:
	movq	(%r15), %r15
	jmp	LBB0_23
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_30
LBB0_13:
	cmpq	$0, (%rbx)
	je	LBB0_20
## %bb.14:
	cmpq	$0, 8(%rbx)
	jne	LBB0_16
## %bb.15:
	movq	16(%rbx), %rax
	movq	_NTC_CONNECTED_GROUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_20
LBB0_16:
	cmpq	$0, 24(%rbx)
	movq	16(%rbx), %rax
	movq	_NTC_CONNECTED_POSITIVE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	jne	LBB0_18
## %bb.17:
	cmpq	%rcx, %rax
	je	LBB0_20
LBB0_18:
	cmpq	%rcx, %rax
	je	LBB0_9
## %bb.19:
	movq	_NTC_CONNECTED_GROUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
LBB0_20:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_28
LBB0_21:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_22:
	movq	%r14, %rdi
	callq	_platform_get_device_id
	movq	%rax, %r15
LBB0_23:
	movq	%rbx, 8(%r12)
	movq	(%r15), %rbx
	movq	_ntc_type@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_26
## %bb.24:
	movq	(%r13), %rax
	movq	(%r15), %rcx
	movl	4(%rax,%rcx,8), %edx
	movl	%edx, 4(%r12)
	movl	(%rax,%rcx,8), %eax
	movl	%eax, (%r12)
	movl	8(%r15), %esi
	movq	_ntc_chip_info@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%r8d, %r8d
	callq	_devm_hwmon_device_register_with_info
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_32
## %bb.25:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	jmp	LBB0_2
LBB0_26:
	movq	(%r15), %rdx
	movl	8(%r15), %ecx
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_29
LBB0_27:
	leaq	L_.str.1(%rip), %rsi
LBB0_28:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_29:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_30:
	subl	(%rax), %ebx
LBB0_31:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movl	8(%r15), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_ntc_match,4,2                  ## @ntc_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No platform init data supplied.\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"Both read_uv and read_ohm missing. Need either one of the two.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"Only one of read_uv and read_ohm is needed; ignoring read_uv.\n"

	.comm	_NTC_CONNECTED_GROUND,8,3       ## @NTC_CONNECTED_GROUND
	.comm	_NTC_CONNECTED_POSITIVE,8,3     ## @NTC_CONNECTED_POSITIVE
L_.str.3:                               ## @.str.3
	.asciz	"Required data to use read_uv not supplied.\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ntc_type,8,3                   ## @ntc_type
L_.str.4:                               ## @.str.4
	.asciz	"Unknown device type: %lu(%s)\n"

	.comm	_ntc_chip_info,4,2              ## @ntc_chip_info
L_.str.5:                               ## @.str.5
	.asciz	"unable to register as hwmon device.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Thermistor type: %s successfully probed.\n"

	.no_dead_strip	_ntc_thermistor_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ntc_thermistor_probe
_ntc_thermistor_probe:                  ; @ntc_thermistor_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _ntc_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ntc_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_of_match_ptr
	mov	x1, x19
	bl	_of_match_device
	mov	x21, x0
	mov	x0, x19
	bl	_ntc_thermistor_parse_dt
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_2:
	cbnz	x20, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_dev_get_platdata
	mov	x20, x0
	cbz	x0, LBB0_20
LBB0_4:
	ldp	x9, x8, [x20, #32]
	cbz	x9, LBB0_7
; %bb.5:
	cbz	x8, LBB0_12
; %bb.6:
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	str	xzr, [x20, #32]
	b	LBB0_8
LBB0_7:
	cbz	x8, LBB0_26
LBB0_8:
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_11
; %bb.9:
	mov	x22, x0
	cbz	x21, LBB0_21
; %bb.10:
	ldr	x21, [x21]
	b	LBB0_22
LBB0_11:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_28
LBB0_12:
	ldr	x8, [x20]
	cbz	x8, LBB0_19
; %bb.13:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_15
; %bb.14:
	ldr	x8, [x20, #16]
Lloh10:
	adrp	x9, _NTC_CONNECTED_GROUND@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NTC_CONNECTED_GROUND@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
LBB0_15:
	ldp	x8, x10, [x20, #16]
Lloh13:
	adrp	x9, _NTC_CONNECTED_POSITIVE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NTC_CONNECTED_POSITIVE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cbnz	x10, LBB0_17
; %bb.16:
	cmp	x8, x9
	b.eq	LBB0_19
LBB0_17:
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.18:
Lloh16:
	adrp	x9, _NTC_CONNECTED_GROUND@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NTC_CONNECTED_GROUND@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
LBB0_19:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_27
LBB0_20:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh23:
	adrp	x8, _ENODEV@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_28
LBB0_21:
	mov	x0, x19
	bl	_platform_get_device_id
	mov	x21, x0
LBB0_22:
	str	x20, [x22, #8]
	ldr	x23, [x21]
Lloh25:
	adrp	x20, _ntc_type@GOTPAGE
Lloh26:
	ldr	x20, [x20, _ntc_type@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x23, x0
	b.hs	LBB0_25
; %bb.23:
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	d0, [x8, x9, lsl #3]
	str	d0, [x22]
	ldr	w1, [x21, #8]
Lloh27:
	adrp	x3, _ntc_chip_info@GOTPAGE
Lloh28:
	ldr	x3, [x3, _ntc_chip_info@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x22
	mov	x4, #0
	bl	_devm_hwmon_device_register_with_info
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_30
; %bb.24:
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_1
LBB0_25:
	ldr	x8, [x21]
	ldr	w9, [x21, #8]
	stp	x8, x9, [sp]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_27
LBB0_26:
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_27:
	mov	x0, x19
	bl	_dev_err
Lloh35:
	adrp	x8, _EINVAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_28:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_29:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_30:
	ldr	w2, [x21, #8]
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ntc_match,4,2                  ; @ntc_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No platform init data supplied.\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"Both read_uv and read_ohm missing. Need either one of the two.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"Only one of read_uv and read_ohm is needed; ignoring read_uv.\n"

	.comm	_NTC_CONNECTED_GROUND,8,3       ; @NTC_CONNECTED_GROUND
	.comm	_NTC_CONNECTED_POSITIVE,8,3     ; @NTC_CONNECTED_POSITIVE
l_.str.3:                               ; @.str.3
	.asciz	"Required data to use read_uv not supplied.\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ntc_type,8,3                   ; @ntc_type
l_.str.4:                               ; @.str.4
	.asciz	"Unknown device type: %lu(%s)\n"

	.comm	_ntc_chip_info,4,2              ; @ntc_chip_info
l_.str.5:                               ; @.str.5
	.asciz	"unable to register as hwmon device.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Thermistor type: %s successfully probed.\n"

	.no_dead_strip	_ntc_thermistor_probe
.subsections_via_symbols
