	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ubik_reply_print
_ubik_reply_print:                      ## @ubik_reply_print
	.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
	cmpl	$8, %edx
	jge	LBB0_1
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	%ecx, %ebx
	movq	%rsi, %r14
	movq	_ubik_req@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ecx, %edx
	callq	_tok2str
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movq	(%r14), %rax
	movq	_RX_PACKET_TYPE_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	cmpl	$20004, %ebx                    ## imm = 0x4E24
	je	LBB0_5
## %bb.3:
	cmpl	$10000, %ebx                    ## imm = 0x2710
	jne	LBB0_8
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
LBB0_6:
	cmpl	$10000, %ebx                    ## imm = 0x2710
	jne	LBB0_7
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	callq	_ND_PRINT
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DATEOUT                        ## TAILCALL
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
	callq	_ND_PRINT
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_INTOUT                         ## TAILCALL
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	callq	_ND_PRINT
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_UBIK_VERSIONOUT                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ubik_req,4,2                   ## @ubik_req
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"op#%d"

	.comm	_RX_PACKET_TYPE_DATA,8,3        ## @RX_PACKET_TYPE_DATA
L_.str.2:                               ## @.str.2
	.asciz	" vote no"

L_.str.3:                               ## @.str.3
	.asciz	" dbversion"

L_.str.4:                               ## @.str.4
	.asciz	" vote yes until"

L_.str.5:                               ## @.str.5
	.asciz	" errcode"

	.no_dead_strip	_ubik_reply_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ubik_reply_print
_ubik_reply_print:                      ; @ubik_reply_print
	.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
	cmp	w2, #8
	b.ge	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x3
	mov	x20, x1
Lloh0:
	adrp	x8, _ubik_req@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ubik_req@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x3
	bl	_tok2str
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _RX_PACKET_TYPE_DATA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RX_PACKET_TYPE_DATA@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	w8, #20004
	cmp	w19, w8
	b.eq	LBB0_9
; %bb.4:
	mov	w8, #10000
	cmp	w19, w8
	b.ne	LBB0_1
; %bb.5:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ND_PRINT
LBB0_6:
	mov	w8, #10000
	cmp	w19, w8
	b.ne	LBB0_8
; %bb.7:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_ND_PRINT
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DATEOUT
LBB0_8:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_ND_PRINT
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_INTOUT
LBB0_9:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_ND_PRINT
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_UBIK_VERSIONOUT
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ubik_req,4,2                   ; @ubik_req
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"op#%d"

	.comm	_RX_PACKET_TYPE_DATA,8,3        ; @RX_PACKET_TYPE_DATA
l_.str.2:                               ; @.str.2
	.asciz	" vote no"

l_.str.3:                               ; @.str.3
	.asciz	" dbversion"

l_.str.4:                               ; @.str.4
	.asciz	" vote yes until"

l_.str.5:                               ; @.str.5
	.asciz	" errcode"

	.no_dead_strip	_ubik_reply_print
.subsections_via_symbols
