	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipaq_micro_get_version
_ipaq_micro_get_version:                ## @ipaq_micro_get_version
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	movq	_MSG_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	leaq	-24(%rbp), %rsi
	callq	_ipaq_micro_tx_msg_sync
	movl	-24(%rbp), %edx
	cmpl	$9, %edx
	je	LBB0_2
## %bb.1:
	cmpl	$4, %edx
	jne	LBB0_3
LBB0_2:
	movq	(%rbx), %rdi
	movl	-20(%rbp), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movb	$0, 4(%rax)
	jmp	LBB0_4
LBB0_3:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_VERSION,4,2                ## @MSG_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"illegal version message %d bytes\n"

	.no_dead_strip	_ipaq_micro_get_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipaq_micro_get_version
_ipaq_micro_get_version:                ; @ipaq_micro_get_version
	.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
	str	xzr, [sp]
Lloh0:
	adrp	x8, _MSG_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x1, sp
	bl	_ipaq_micro_tx_msg_sync
	ldr	w2, [sp]
	cmp	w2, #9
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #4
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [x19]
	ldr	w1, [sp, #4]
	b	LBB0_4
LBB0_3:
	ldr	x0, [x19]
	ldr	w1, [sp, #4]
	mov	w2, #4
LBB0_4:
	bl	_memcpy
	ldr	x8, [x19]
	strb	wzr, [x8, #4]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_VERSION,4,2                ; @MSG_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"illegal version message %d bytes\n"

	.no_dead_strip	_ipaq_micro_get_version
.subsections_via_symbols
