	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_generic_error_packet   ## -- Begin function process_generic_error_packet
	.p2align	4, 0x90
_process_generic_error_packet:          ## @process_generic_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_errors_received@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_bad_error_packet
	movl	%eax, %r13d
	movl	4(%rbx), %r14d
	movl	8(%rbx), %r15d
	movq	%r12, %rdi
	callq	_show_remote_ip
	movl	(%r12), %r9d
	movl	(%rbx), %r10d
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	12(%rbx), %ebx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	pushq	%rbx
LBB0_3:
	pushq	%r10
	callq	_vkprintf
	addq	$16, %rsp
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errors_received,4,2            ## @errors_received
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received error packet in session %d:%d from %s:%d, error code %d: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Received malformed error packet in session %d:%d from %s:%d, error code %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_generic_error_packet   ; -- Begin function process_generic_error_packet
	.p2align	2
_process_generic_error_packet:          ; @process_generic_error_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _errors_received@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errors_received@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x1
	mov	x1, x2
	bl	_bad_error_packet
	mov	x23, x0
	ldp	w20, w19, [x21, #4]
	mov	x0, x22
	bl	_show_remote_ip
	mov	x4, x0
	ldr	w5, [x22]
	ldr	w6, [x21]
	cbz	w23, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	ldr	w8, [x21, #12]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	mov	w0, #0
	mov	x2, x19
	mov	x3, x20
	bl	_vkprintf
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_errors_received,4,2            ; @errors_received
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received error packet in session %d:%d from %s:%d, error code %d: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Received malformed error packet in session %d:%d from %s:%d, error code %d\n"

.subsections_via_symbols
