	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpcap_check_msg_ver
_rpcap_check_msg_ver:                   ## @rpcap_check_msg_ver
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	cmpq	%rsi, (%rdx)
	je	LBB0_4
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	8(%rdx), %esi
	movq	%rcx, %rdx
	callq	_rpcap_discard
	movl	$-1, %r12d
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %r8
	callq	_pcap_snprintf
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Server sent us a message with version %u when we were expecting %u"

	.no_dead_strip	_rpcap_check_msg_ver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpcap_check_msg_ver
_rpcap_check_msg_ver:                   ; @rpcap_check_msg_ver
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x2]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	ldr	w1, [x2, #8]
	mov	x2, x3
	bl	_rpcap_discard
	mov	x8, x0
	mov	w0, #-1
	cbz	x20, LBB0_5
; %bb.3:
	cmn	w8, #1
	b.eq	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x3, [x21]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_pcap_snprintf
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Server sent us a message with version %u when we were expecting %u"

	.no_dead_strip	_rpcap_check_msg_ver
.subsections_via_symbols
