	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soctherm_get_temp
_soctherm_get_temp:                     ## @soctherm_get_temp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_device_get_softc
	cmpq	$255, %rbx
	jbe	LBB0_1
## %bb.4:
	addq	$-256, %rbx
	cmpq	(%rax), %rbx
	jae	LBB0_7
## %bb.5:
	shlq	$3, %rbx
	addq	8(%rax), %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_6
LBB0_1:
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	8(%rax), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_7
## %bb.3:
	leaq	(%rcx,%rbx,8), %rsi
	movq	%rax, %rdi
LBB0_6:
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_soctherm_read_temp             ## TAILCALL
LBB0_7:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_soctherm_get_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soctherm_get_temp
_soctherm_get_temp:                     ; @soctherm_get_temp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x2
	bl	_device_get_softc
	cmp	x20, #255
	b.ls	LBB0_3
; %bb.1:
	sub	x8, x20, #256
	ldr	x9, [x0]
	cmp	x8, x9
	b.hs	LBB0_7
; %bb.2:
	ldr	x9, [x0, #8]
	add	x1, x9, x8, lsl #3
	b	LBB0_6
LBB0_3:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	cmp	x9, x20
	b.ne	LBB0_7
; %bb.5:
	add	x1, x8, x20, lsl #3
LBB0_6:
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_soctherm_read_temp
LBB0_7:
Lloh0:
	adrp	x8, _ERANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_soctherm_get_temp
.subsections_via_symbols
