	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io
_io:                                    ## @io
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_TXT_ADDNEWLINE@GOTPCREL(%rip), %rax
	movq	_TXT_APPENDEOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_set_txt_std
	movl	%eax, %r15d
	movq	_SM_INSERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	cmpl	$1, (%rbx)
	jne	LBB0_4
## %bb.1:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_db_last
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_15
## %bb.2:
	cmpq	$0, -72(%rbp)
	je	LBB0_3
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_L
	movq	%rax, -48(%rbp)
	movq	$0, 8(%rbx)
	movq	_O_cmd@GOTPCREL(%rip), %rcx
	movl	(%rbx), %edx
	cmpl	%r13d, (%rcx)
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	movl	%edx, %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_db_insert
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_15
## %bb.6:
	movl	(%rbx), %esi
	movq	_DBG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	callq	_db_get
	testq	%rax, %rax
	jne	LBB0_15
## %bb.7:
	movslq	(%rbx), %r12
	incq	%r12
	jmp	LBB0_11
LBB0_8:
	movl	$1, %r12d
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	callq	_db_append
	testq	%rax, %rax
	jne	LBB0_15
## %bb.9:
	movl	(%rbx), %esi
	incl	%esi
	movl	%esi, (%rbx)
	movq	_DBG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	callq	_db_get
	testq	%rax, %rax
	jne	LBB0_15
## %bb.10:
	movslq	(%rbx), %r12
	decq	%r12
	jmp	LBB0_11
LBB0_3:
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_OOBLNO@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_11:
	movq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r13
	movq	_VC_C1SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movl	(%r14), %eax
	jmp	LBB0_14
LBB0_12:
	movl	$1, %eax
LBB0_14:
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rax
	pushq	%r12
	callq	_v_txt
	addq	$32, %rsp
	movl	%eax, %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXT_ADDNEWLINE,4,2             ## @TXT_ADDNEWLINE
	.comm	_TXT_APPENDEOL,4,2              ## @TXT_APPENDEOL
	.comm	_SM_INSERT,4,2                  ## @SM_INSERT
	.comm	_OOBLNO,8,3                     ## @OOBLNO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_LOG_CORRECT,4,2                ## @LOG_CORRECT
	.comm	_O_cmd,4,2                      ## @O_cmd
	.comm	_DBG_FATAL,4,2                  ## @DBG_FATAL
	.comm	_VC_C1SET,4,2                   ## @VC_C1SET
	.no_dead_strip	_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io
_io:                                    ; @io
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TXT_ADDNEWLINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXT_ADDNEWLINE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TXT_APPENDEOL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TXT_APPENDEOL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_set_txt_std
	mov	x21, x0
Lloh6:
	adrp	x8, _SM_INSERT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SM_INSERT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	add	x1, sp, #24
	mov	x0, x20
	bl	_db_last
	cbnz	x0, LBB0_9
; %bb.2:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_11
LBB0_3:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_L
	mov	x3, x0
	str	x0, [sp, #8]
	str	xzr, [x20, #8]
Lloh11:
	adrp	x8, _O_cmd@GOTPAGE
Lloh12:
	ldr	x8, [x8, _O_cmd@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w2, [x20]
	cmp	w8, w22
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, x2
	mov	x2, x3
	mov	w3, #0
	bl	_db_insert
	cbnz	x0, LBB0_9
; %bb.5:
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _DBG_FATAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBG_FATAL@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x3, sp, #8
	add	x4, sp, #16
	mov	x0, x20
	bl	_db_get
	cbnz	x0, LBB0_9
; %bb.6:
	ldrsw	x8, [x20]
	add	x22, x8, #1
	b	LBB0_13
LBB0_7:
	mov	w22, #1
	mov	x0, x20
	mov	w1, #1
	mov	w4, #0
	bl	_db_append
	cbnz	x0, LBB0_10
; %bb.8:
	ldr	w8, [x20]
	add	w1, w8, #1
	str	w1, [x20]
Lloh17:
	adrp	x8, _DBG_FATAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DBG_FATAL@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x3, sp, #8
	add	x4, sp, #16
	mov	x0, x20
	bl	_db_get
	cbz	x0, LBB0_12
LBB0_9:
	mov	w22, #1
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	stp	xzr, xzr, [sp, #8]
Lloh20:
	adrp	x8, _OOBLNO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OOBLNO@GOTPAGEOFF]
Lloh22:
	ldr	x22, [x8]
	b	LBB0_13
LBB0_12:
	ldrsw	x8, [x20]
	sub	x22, x8, #1
LBB0_13:
	ldp	x23, x24, [sp, #8]
Lloh23:
	adrp	x8, _VC_C1SET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VC_C1SET@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w7, [x19]
	b	LBB0_16
LBB0_15:
	mov	w7, #1
LBB0_16:
	str	w21, [sp]
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, x23
	mov	x4, x24
	mov	w5, #0
	mov	x6, x22
	bl	_v_txt
	mov	x22, x0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TXT_ADDNEWLINE,4,2             ; @TXT_ADDNEWLINE
	.comm	_TXT_APPENDEOL,4,2              ; @TXT_APPENDEOL
	.comm	_SM_INSERT,4,2                  ; @SM_INSERT
	.comm	_OOBLNO,8,3                     ; @OOBLNO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_LOG_CORRECT,4,2                ; @LOG_CORRECT
	.comm	_O_cmd,4,2                      ; @O_cmd
	.comm	_DBG_FATAL,4,2                  ; @DBG_FATAL
	.comm	_VC_C1SET,4,2                   ; @VC_C1SET
	.no_dead_strip	_io
.subsections_via_symbols
