	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_error_packet              ## -- Begin function send_error_packet
	.p2align	4, 0x90
_send_error_packet:                     ## @send_error_packet
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, -84(%rbp)
	leaq	4(%rdi), %r14
	leaq	-76(%rbp), %rdi
	movq	%r14, %rsi
	callq	_nbit_setw
	shll	$24, %r15d
	movl	%r15d, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_write_out
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_write_out
	movq	%rax, %r15
	leaq	-84(%rbp), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_write_out
	movq	%rax, %r12
	addl	%r15d, %r12d
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_sprintf
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$6, %edx
	xorl	%eax, %eax
	callq	_write_out
	movq	%rax, %rbx
	addl	%r12d, %ebx
	movq	%r14, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_write_out
	addl	%ebx, %eax
	movl	%eax, -68(%rbp)
	leaq	-68(%rbp), %rsi
	leaq	-76(%rbp), %rdi
	movl	$3, %edx
	callq	_nbit_write_out
	movl	-68(%rbp), %esi
	movq	%r13, %rdi
	callq	_sqls_flush_packet
	movq	_C_WANTWR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	movl	-68(%rbp), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addl	$4, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\377"

L_.str.1:                               ## @.str.1
	.asciz	"#%05d"

	.comm	_C_WANTWR,4,2                   ## @C_WANTWR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_error_packet              ; -- Begin function send_error_packet
	.p2align	2
_send_error_packet:                     ; @send_error_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x5
	mov	x21, x4
	mov	x20, x3
	mov	x24, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	w1, [sp, #36]
	add	x22, x0, #4
	add	x0, sp, #28
	mov	x1, x22
	bl	_nbit_setw
	lsl	w8, w23, #24
	str	w8, [sp, #32]
	mov	w8, #4
	add	x9, sp, #32
	stp	x9, x8, [sp]
	mov	x0, x22
	bl	_write_out
	mov	w8, #1
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
	stp	x9, x8, [sp]
	mov	x0, x22
	bl	_write_out
	mov	x23, x0
	mov	w8, #2
	add	x9, sp, #36
	stp	x9, x8, [sp]
	mov	x0, x22
	bl	_write_out
	add	w23, w23, w0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x25, sp, #40
	add	x0, sp, #40
	mov	x2, x24
	bl	_sprintf
	mov	w8, #6
	stp	x25, x8, [sp]
	mov	x0, x22
	bl	_write_out
	add	w23, w23, w0
	stp	x20, x21, [sp]
	mov	x0, x22
	bl	_write_out
	add	w8, w23, w0
	str	w8, [sp, #24]
	add	x0, sp, #28
	add	x1, sp, #24
	mov	w2, #3
	bl	_nbit_write_out
	ldr	w1, [sp, #24]
	mov	x0, x19
	bl	_sqls_flush_packet
Lloh7:
	adrp	x8, _C_WANTWR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _C_WANTWR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [sp, #24]
	ldr	x9, [sp, #56]
Lloh10:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.1:
	add	w0, w8, #4
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\377"

l_.str.1:                               ; @.str.1
	.asciz	"#%05d"

	.comm	_C_WANTWR,4,2                   ; @C_WANTWR
.subsections_via_symbols
