	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ts_probe
_ts_probe:                              ## @ts_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_ofw_bus_status_okay
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	callq	_ofw_bus_is_compatible
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	-12(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_soc_id
	movl	-12(%rbp), %edx
	cmpl	$128, %edx
	jne	LBB0_4
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	callq	_device_set_desc
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	callq	_device_printf
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mrvl,ts"

L_.str.1:                               ## @.str.1
	.asciz	"unsupported SoC (ID: 0x%08X)!\n"

L_.str.2:                               ## @.str.2
	.asciz	"Marvell Thermal Sensor"

	.no_dead_strip	_ts_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ts_probe
_ts_probe:                              ; @ts_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_ofw_bus_status_okay
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ofw_bus_is_compatible
	cbz	w0, LBB0_5
; %bb.2:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_soc_id
	ldr	w2, [sp, #12]
	cmp	w2, #128
	b.ne	LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_device_set_desc
	mov	w0, #0
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_device_printf
LBB0_5:
Lloh6:
	adrp	x8, _ENXIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mrvl,ts"

l_.str.1:                               ; @.str.1
	.asciz	"unsupported SoC (ID: 0x%08X)!\n"

l_.str.2:                               ; @.str.2
	.asciz	"Marvell Thermal Sensor"

	.no_dead_strip	_ts_probe
.subsections_via_symbols
