	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scpi_sensor_get_value
_scpi_sensor_get_value:                 ## @scpi_sensor_get_value
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_cpu_to_le16
	movl	%eax, -24(%rbp)
	movq	_CMD_SENSOR_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rcx
	movl	$4, %edx
	movl	$4, %r8d
	callq	_scpi_send_message
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	_scpi_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	-20(%rbp), %rdi
	callq	_le32_to_cpup
	jmp	LBB0_4
LBB0_3:
	movl	-20(%rbp), %edi
	callq	_le64_to_cpu
LBB0_4:
	movl	%eax, (%r14)
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_SENSOR_VALUE,4,2           ## @CMD_SENSOR_VALUE
	.comm	_scpi_info,8,3                  ## @scpi_info
	.no_dead_strip	_scpi_sensor_get_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scpi_sensor_get_value
_scpi_sensor_get_value:                 ; @scpi_sensor_get_value
	.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, x1
	bl	_cpu_to_le16
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _CMD_SENSOR_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SENSOR_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #12
	add	x3, sp, #8
	mov	w2, #4
	mov	w4, #4
	bl	_scpi_send_message
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _scpi_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _scpi_info@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, sp, #8
	bl	_le32_to_cpup
	b	LBB0_4
LBB0_3:
	ldr	w0, [sp, #8]
	bl	_le64_to_cpu
LBB0_4:
	str	w0, [x19]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_SENSOR_VALUE,4,2           ; @CMD_SENSOR_VALUE
	.comm	_scpi_info,8,3                  ; @scpi_info
	.no_dead_strip	_scpi_sensor_get_value
.subsections_via_symbols
