	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_check_header              ## -- Begin function pcap_check_header
	.p2align	4, 0x90
_pcap_check_header:                     ## @pcap_check_header
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	$0, (%r8)
	movq	_TCPDUMP_MAGIC@GOTPCREL(%rip), %rbx
	movq	_KUZNETZOV_TCPDUMP_MAGIC@GOTPCREL(%rip), %r15
	movq	_NSEC_TCPDUMP_MAGIC@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rbx)
	je	LBB0_7
## %bb.1:
	cmpq	%r12, (%r15)
	je	LBB0_7
## %bb.2:
	cmpq	%r12, (%rax)
	je	LBB0_7
## %bb.3:
	movq	%r12, %rdi
	callq	_SWAPLONG
	movq	%rax, %r12
	cmpq	(%rbx), %rax
	je	LBB0_9
## %bb.4:
	movq	%r15, %rcx
	cmpq	(%r15), %r12
	je	LBB0_9
## %bb.5:
	movq	_NSEC_TCPDUMP_MAGIC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_49
LBB0_9:
	movq	%r12, -80(%rbp)
	leaq	-112(%rbp), %rdi
	movl	$1, %esi
	movl	$40, %edx
	movq	%r14, %rcx
	callq	_fread
	movq	%rax, %rbx
	cmpq	$40, %rax
	jne	LBB0_14
## %bb.10:
	movl	-120(%rbp), %edi
	callq	_SWAPSHORT
	movq	%rax, %r14
	movl	%r14d, -120(%rbp)
	movl	-116(%rbp), %edi
	callq	_SWAPSHORT
	movl	%eax, -116(%rbp)
	movq	-112(%rbp), %rdi
	callq	_SWAPLONG
	movq	%rax, -112(%rbp)
	movq	-104(%rbp), %rdi
	callq	_SWAPLONG
	movq	%rax, -104(%rbp)
	movq	-96(%rbp), %rdi
	callq	_SWAPLONG
	movq	%rax, -96(%rbp)
	movq	-88(%rbp), %rdi
	callq	_SWAPLONG
	movq	%rax, -88(%rbp)
	movl	$1, %ebx
	jmp	LBB0_11
LBB0_7:
	movq	%r12, -80(%rbp)
	leaq	-112(%rbp), %rdi
	movl	$1, %esi
	movl	$40, %edx
	movq	%r14, %rcx
	callq	_fread
	movq	%rax, %rbx
	cmpq	$40, %rax
	jne	LBB0_14
## %bb.8:
	xorl	%ebx, %ebx
	movl	-120(%rbp), %r14d
LBB0_11:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_PCAP_VERSION_MAJOR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_16
## %bb.12:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_pcap_snprintf
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_50
LBB0_14:
	movq	%r14, %rdi
	callq	_ferror
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_48
LBB0_16:
	movl	-116(%rbp), %r8d
	jne	LBB0_20
## %bb.17:
	movq	_PCAP_VERSION_MINOR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r8d
	jg	LBB0_20
## %bb.18:
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_22
LBB0_19:
	leaq	L_.str.1(%rip), %rdx
	movl	$48, %ecx
	movq	%r13, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_pcap_snprintf
	jmp	LBB0_48
LBB0_20:
	cmpl	$543, %r14d                     ## imm = 0x21F
	jne	LBB0_29
## %bb.21:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	testl	%r8d, %r8d
	jne	LBB0_29
LBB0_22:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$24, %esi
	callq	_pcap_open_offline_common
	testq	%rax, %rax
	je	LBB0_48
## %bb.23:
	movq	%rax, %r13
	movl	%ebx, (%rax)
	movl	%r14d, 4(%rax)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movq	-112(%rbp), %rax
	movq	%rax, 16(%r13)
	movq	-96(%rbp), %rax
	movq	%rax, 24(%r13)
	movq	-88(%rbp), %rbx
	testq	%rax, %rax
	jg	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	callq	_max_snaplen_for_dlt
	movq	%rax, 24(%r13)
LBB0_25:
	movq	%rbx, %rdi
	callq	_LT_LINKTYPE
	movl	%eax, %edi
	callq	_linktype_to_dlt
	movq	%rax, 32(%r13)
	movq	%rbx, %rdi
	callq	_LT_LINKTYPE_EXT
	movl	%eax, 76(%r13)
	movq	_pcap_next_packet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r13)
	movq	64(%r13), %rax
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 56(%r13)
	cmpl	$128, %ecx
	je	LBB0_30
## %bb.26:
	cmpl	$129, %ecx
	jne	LBB0_32
## %bb.27:
	movq	_NSEC_TCPDUMP_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_33
## %bb.28:
	movq	_SCALE_DOWN@GOTPCREL(%rip), %rcx
	jmp	LBB0_35
LBB0_29:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_pcap_snprintf
	jmp	LBB0_13
LBB0_30:
	movq	_NSEC_TCPDUMP_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_34
LBB0_33:
	movq	_PASS_THROUGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_35
LBB0_32:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_pcap_snprintf
	jmp	LBB0_47
LBB0_34:
	movq	_SCALE_UP@GOTPCREL(%rip), %rcx
LBB0_35:
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movq	_SWAPPED@GOTPCREL(%rip), %rcx
	cmpl	$543, %r14d                     ## imm = 0x21F
	je	LBB0_41
## %bb.36:
	cmpl	$2, %r14d
	jne	LBB0_40
## %bb.37:
	cmpl	$3, -52(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_41
## %bb.38:
	jne	LBB0_40
## %bb.39:
	movq	_MAYBE_SWAPPED@GOTPCREL(%rip), %rcx
	jmp	LBB0_41
LBB0_40:
	movq	_NOT_SWAPPED@GOTPCREL(%rip), %rcx
LBB0_41:
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	cmpq	(%r15), %r12
	movl	$4, (%rax)
	jne	LBB0_44
## %bb.42:
	movq	32(%r13), %rax
	movq	_DLT_EN10MB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_44
## %bb.43:
	addq	$14, 24(%r13)
LBB0_44:
	movl	24(%r13), %eax
	cmpl	$2048, %eax                     ## imm = 0x800
	movl	$2048, %edi                     ## imm = 0x800
	cmovll	%eax, %edi
	movl	%edi, 40(%r13)
	callq	_malloc
	movq	%rax, 48(%r13)
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:
	movq	_sf_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r13)
	jmp	LBB0_50
LBB0_46:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_pcap_snprintf
LBB0_47:
	movq	%r13, %rdi
	callq	_free
LBB0_48:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_49:
	xorl	%r13d, %r13d
LBB0_50:
	movq	%r13, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPDUMP_MAGIC,8,3              ## @TCPDUMP_MAGIC
	.comm	_KUZNETZOV_TCPDUMP_MAGIC,8,3    ## @KUZNETZOV_TCPDUMP_MAGIC
	.comm	_NSEC_TCPDUMP_MAGIC,8,3         ## @NSEC_TCPDUMP_MAGIC
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error reading dump file"

L_.str.1:                               ## @.str.1
	.asciz	"truncated dump file; tried to read %lu file header bytes, only got %lu"

	.comm	_PCAP_VERSION_MAJOR,4,2         ## @PCAP_VERSION_MAJOR
L_.str.2:                               ## @.str.2
	.asciz	"archaic pcap savefile format"

	.comm	_PCAP_VERSION_MINOR,4,2         ## @PCAP_VERSION_MINOR
L_.str.3:                               ## @.str.3
	.asciz	"unsupported pcap savefile version %u.%u"

	.comm	_pcap_next_packet,4,2           ## @pcap_next_packet
	.comm	_SCALE_DOWN,8,3                 ## @SCALE_DOWN
	.comm	_PASS_THROUGH,8,3               ## @PASS_THROUGH
	.comm	_SCALE_UP,8,3                   ## @SCALE_UP
L_.str.4:                               ## @.str.4
	.asciz	"unknown time stamp resolution %u"

	.comm	_SWAPPED,8,3                    ## @SWAPPED
	.comm	_MAYBE_SWAPPED,8,3              ## @MAYBE_SWAPPED
	.comm	_NOT_SWAPPED,8,3                ## @NOT_SWAPPED
	.comm	_DLT_EN10MB,8,3                 ## @DLT_EN10MB
L_.str.5:                               ## @.str.5
	.asciz	"out of memory"

	.comm	_sf_cleanup,4,2                 ## @sf_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_check_header              ; -- Begin function pcap_check_header
	.p2align	2
_pcap_check_header:                     ; @pcap_check_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	str	wzr, [x4]
Lloh0:
	adrp	x24, _TCPDUMP_MAGIC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TCPDUMP_MAGIC@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x25, _KUZNETZOV_TCPDUMP_MAGIC@GOTPAGE
Lloh3:
	ldr	x25, [x25, _KUZNETZOV_TCPDUMP_MAGIC@GOTPAGEOFF]
	ldr	x9, [x25]
Lloh4:
	adrp	x26, _NSEC_TCPDUMP_MAGIC@GOTPAGE
Lloh5:
	ldr	x26, [x26, _NSEC_TCPDUMP_MAGIC@GOTPAGEOFF]
	ldr	x10, [x26]
	cmp	x8, x0
	ccmp	x9, x0, #4, ne
	ccmp	x10, x0, #4, ne
	b.ne	LBB0_3
; %bb.1:
	str	x21, [sp, #56]
	add	x8, sp, #16
	add	x0, x8, #8
	mov	w1, #1
	mov	w2, #40
	mov	x3, x23
	bl	_fread
	mov	x24, x0
	cmp	x0, #40
	b.ne	LBB0_8
; %bb.2:
	mov	w24, #0
	ldr	w27, [sp, #16]
	b	LBB0_6
LBB0_3:
	mov	x0, x21
	bl	_SWAPLONG
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	x10, [x26]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	ccmp	x0, x10, #4, ne
	b.ne	LBB0_10
; %bb.4:
	mov	x21, x0
	str	x0, [sp, #56]
	add	x8, sp, #16
	add	x0, x8, #8
	mov	w1, #1
	mov	w2, #40
	mov	x3, x23
	bl	_fread
	mov	x24, x0
	cmp	x0, #40
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [sp, #16]
	bl	_SWAPSHORT
	mov	x23, x0
	str	w23, [sp, #16]
	ldr	w0, [sp, #20]
	bl	_SWAPSHORT
	str	w0, [sp, #20]
	ldr	x0, [sp, #24]
	bl	_SWAPLONG
	str	x0, [sp, #24]
	ldr	x0, [sp, #32]
	bl	_SWAPLONG
	str	x0, [sp, #32]
	ldr	x0, [sp, #40]
	bl	_SWAPLONG
	str	x0, [sp, #40]
	ldr	x0, [sp, #48]
	bl	_SWAPLONG
	str	x0, [sp, #48]
	mov	w24, #1
	mov	x27, x23
LBB0_6:
Lloh6:
	adrp	x8, _PCAP_VERSION_MAJOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCAP_VERSION_MAJOR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ge	LBB0_11
; %bb.7:
Lloh9:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_22
LBB0_8:
	mov	x0, x23
	bl	_ferror
Lloh14:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	cbz	x0, LBB0_20
; %bb.9:
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x3, l_.str@PAGE
Lloh21:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_23
LBB0_10:
	mov	x23, #0
	b	LBB0_25
LBB0_11:
	ldr	w28, [sp, #20]
Lloh22:
	adrp	x9, _PCAP_VERSION_MINOR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PCAP_VERSION_MINOR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w27, w8
	ccmp	w28, w9, #0, eq
	b.le	LBB0_14
; %bb.12:
	cmp	w27, #543
	b.ne	LBB0_21
; %bb.13:
	cbnz	w28, LBB0_21
LBB0_14:
	mov	x0, x20
	mov	w1, #24
	bl	_pcap_open_offline_common
	mov	x23, x0
	cbz	x0, LBB0_24
; %bb.15:
	stp	w24, w27, [x23]
	str	w28, [x23, #8]
	ldr	x8, [sp, #24]
	ldp	x9, x24, [sp, #40]
	stp	x8, x9, [x23, #16]
	cmp	x9, #0
	b.gt	LBB0_17
; %bb.16:
	mov	x0, x24
	bl	_max_snaplen_for_dlt
	str	x0, [x23, #24]
LBB0_17:
	mov	x0, x24
	bl	_LT_LINKTYPE
	bl	_linktype_to_dlt
	str	x0, [x23, #32]
	mov	x0, x24
	bl	_LT_LINKTYPE_EXT
Lloh25:
	adrp	x8, _pcap_next_packet@GOTPAGE
Lloh26:
	ldr	x8, [x8, _pcap_next_packet@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	stp	w8, w0, [x23, #72]
	ldr	x8, [x23, #64]
	str	w22, [x23, #56]
	cmp	w22, #128
	b.eq	LBB0_26
; %bb.18:
	cmp	w22, #129
	b.ne	LBB0_31
; %bb.19:
	ldr	x9, [x26]
Lloh28:
	adrp	x10, _PASS_THROUGH@GOTPAGE
Lloh29:
	ldr	x10, [x10, _PASS_THROUGH@GOTPAGEOFF]
Lloh30:
	adrp	x11, _SCALE_DOWN@GOTPAGE
Lloh31:
	ldr	x11, [x11, _SCALE_DOWN@GOTPAGEOFF]
	b	LBB0_27
LBB0_20:
	mov	w8, #48
	stp	x8, x24, [sp]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh34:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	stp	x27, x28, [sp]
Lloh37:
	adrp	x2, l_.str.3@PAGE
Lloh38:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_22:
	mov	x0, x20
	bl	_pcap_snprintf
LBB0_23:
	mov	x23, #0
LBB0_24:
	mov	w8, #1
	str	w8, [x19]
LBB0_25:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_26:
	ldr	x9, [x26]
Lloh39:
	adrp	x10, _SCALE_UP@GOTPAGE
Lloh40:
	ldr	x10, [x10, _SCALE_UP@GOTPAGEOFF]
Lloh41:
	adrp	x11, _PASS_THROUGH@GOTPAGE
Lloh42:
	ldr	x11, [x11, _PASS_THROUGH@GOTPAGEOFF]
LBB0_27:
	cmp	x21, x9
	csel	x9, x11, x10, eq
	ldr	x9, [x9]
	str	x9, [x8, #16]
	cmp	w27, #543
	b.eq	LBB0_30
; %bb.28:
	cmp	w27, #2
	b.ne	LBB0_32
; %bb.29:
	cmp	w28, #3
	b.ge	LBB0_33
LBB0_30:
Lloh43:
	adrp	x9, _SWAPPED@GOTPAGE
Lloh44:
	ldr	x9, [x9, _SWAPPED@GOTPAGEOFF]
	b	LBB0_34
LBB0_31:
Lloh45:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh48:
	adrp	x2, l_.str.4@PAGE
Lloh49:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_40
LBB0_32:
Lloh50:
	adrp	x9, _NOT_SWAPPED@GOTPAGE
Lloh51:
	ldr	x9, [x9, _NOT_SWAPPED@GOTPAGEOFF]
	b	LBB0_34
LBB0_33:
Lloh52:
	adrp	x9, _NOT_SWAPPED@GOTPAGE
Lloh53:
	ldr	x9, [x9, _NOT_SWAPPED@GOTPAGEOFF]
Lloh54:
	adrp	x10, _MAYBE_SWAPPED@GOTPAGE
Lloh55:
	ldr	x10, [x10, _MAYBE_SWAPPED@GOTPAGEOFF]
	csel	x9, x10, x9, eq
LBB0_34:
	ldr	x9, [x9]
	str	x9, [x8, #8]
	ldr	x9, [x25]
	mov	w10, #4
	str	w10, [x8]
	cmp	x21, x9
	b.ne	LBB0_37
; %bb.35:
	ldr	x8, [x23, #32]
Lloh56:
	adrp	x9, _DLT_EN10MB@GOTPAGE
Lloh57:
	ldr	x9, [x9, _DLT_EN10MB@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.36:
	ldr	x8, [x23, #24]
	add	x8, x8, #14
	str	x8, [x23, #24]
LBB0_37:
	ldr	w8, [x23, #24]
	mov	w9, #2048
	cmp	w8, #2048
	csel	w0, w8, w9, lt
	str	w0, [x23, #40]
	bl	_malloc
	str	x0, [x23, #48]
	cbz	x0, LBB0_39
; %bb.38:
Lloh59:
	adrp	x8, _sf_cleanup@GOTPAGE
Lloh60:
	ldr	x8, [x8, _sf_cleanup@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	str	w8, [x23, #44]
	b	LBB0_25
LBB0_39:
Lloh62:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x2, l_.str.5@PAGE
Lloh66:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_40:
	mov	x0, x20
	bl	_pcap_snprintf
	mov	x0, x23
	bl	_free
	b	LBB0_23
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPDUMP_MAGIC,8,3              ; @TCPDUMP_MAGIC
	.comm	_KUZNETZOV_TCPDUMP_MAGIC,8,3    ; @KUZNETZOV_TCPDUMP_MAGIC
	.comm	_NSEC_TCPDUMP_MAGIC,8,3         ; @NSEC_TCPDUMP_MAGIC
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error reading dump file"

l_.str.1:                               ; @.str.1
	.asciz	"truncated dump file; tried to read %lu file header bytes, only got %lu"

	.comm	_PCAP_VERSION_MAJOR,4,2         ; @PCAP_VERSION_MAJOR
l_.str.2:                               ; @.str.2
	.asciz	"archaic pcap savefile format"

	.comm	_PCAP_VERSION_MINOR,4,2         ; @PCAP_VERSION_MINOR
l_.str.3:                               ; @.str.3
	.asciz	"unsupported pcap savefile version %u.%u"

	.comm	_pcap_next_packet,4,2           ; @pcap_next_packet
	.comm	_SCALE_DOWN,8,3                 ; @SCALE_DOWN
	.comm	_PASS_THROUGH,8,3               ; @PASS_THROUGH
	.comm	_SCALE_UP,8,3                   ; @SCALE_UP
l_.str.4:                               ; @.str.4
	.asciz	"unknown time stamp resolution %u"

	.comm	_SWAPPED,8,3                    ; @SWAPPED
	.comm	_MAYBE_SWAPPED,8,3              ; @MAYBE_SWAPPED
	.comm	_NOT_SWAPPED,8,3                ; @NOT_SWAPPED
	.comm	_DLT_EN10MB,8,3                 ; @DLT_EN10MB
l_.str.5:                               ; @.str.5
	.asciz	"out of memory"

	.comm	_sf_cleanup,4,2                 ; @sf_cleanup
.subsections_via_symbols
