	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsc2007_probe_pdev
_tsc2007_probe_pdev:                    ## @tsc2007_probe_pdev
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	48(%rdx), %eax
	movl	%eax, 36(%rsi)
	movq	(%rdx), %rax
	movq	%rax, (%rsi)
	movq	40(%rdx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_MAX_12BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movl	%eax, 32(%r15)
	movq	32(%rbx), %rax
	testq	%rax, %rax
	movl	$1, %edi
	cmovnel	%eax, %edi
	callq	_msecs_to_jiffies
	movl	%eax, 28(%r15)
	movl	24(%rbx), %eax
	movl	%eax, 24(%r15)
	movups	8(%rbx), %xmm0
	movups	%xmm0, 8(%r15)
	xorl	%eax, %eax
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_12BIT,4,2                  ## @MAX_12BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x_plate_ohms is not set up in platform data"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tsc2007_probe_pdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsc2007_probe_pdev
_tsc2007_probe_pdev:                    ; @tsc2007_probe_pdev
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x2]
	str	x8, [x1]
Lloh0:
	adrp	x8, _MAX_12BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_12BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	x10, x9, [x2, #32]
	cmp	x9, #0
	csel	x8, x8, x9, eq
	ldr	w9, [x2, #48]
	stp	w8, w9, [x1, #32]
	cmp	x10, #0
	csinc	w0, w10, wzr, ne
	bl	_msecs_to_jiffies
	ldr	w8, [x20, #24]
	stp	w8, w0, [x21, #24]
	ldur	q0, [x20, #8]
	stur	q0, [x21, #8]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_12BIT,4,2                  ; @MAX_12BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x_plate_ohms is not set up in platform data"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tsc2007_probe_pdev
.subsections_via_symbols
