	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scpi_init_versions
_scpi_init_versions:                    ## @scpi_init_versions
	.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	%rdi, %r14
	movq	_CMD_SCPI_CAPABILITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$8, %r8d
	callq	_scpi_send_message
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-20(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%r14)
	movl	-24(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, (%r14)
LBB0_2:
	movq	_scpi_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	movl	(%rcx), %ecx
	addl	%ebx, %ecx
	je	LBB0_5
LBB0_4:
	movl	%ebx, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_SCPI_CAPABILITIES,4,2      ## @CMD_SCPI_CAPABILITIES
	.comm	_scpi_info,8,3                  ## @scpi_info
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_scpi_init_versions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scpi_init_versions
_scpi_init_versions:                    ; @scpi_init_versions
	.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	x20, x0
Lloh0:
	adrp	x8, _CMD_SCPI_CAPABILITIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SCPI_CAPABILITIES@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x3, sp, #8
	mov	x1, #0
	mov	w2, #0
	mov	w4, #8
	bl	_scpi_send_message
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_le32_to_cpu
	str	x0, [x20, #8]
	ldr	w0, [sp, #8]
	bl	_le32_to_cpu
	str	x0, [x20]
LBB0_2:
Lloh3:
	adrp	x8, _scpi_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _scpi_info@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w19, w8
	b.ne	LBB0_5
; %bb.4:
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_SCPI_CAPABILITIES,4,2      ; @CMD_SCPI_CAPABILITIES
	.comm	_scpi_info,8,3                  ; @scpi_info
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_scpi_init_versions
.subsections_via_symbols
