	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_open_offline_with_tstamp_precision ## -- Begin function pcap_open_offline_with_tstamp_precision
	.p2align	4, 0x90
_pcap_open_offline_with_tstamp_precision: ## @pcap_open_offline_with_tstamp_precision
	.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
	movq	%rdx, %r14
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	cmpb	$45, (%rdi)
	jne	LBB0_8
## %bb.3:
	cmpb	$0, 1(%rbx)
	je	LBB0_4
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.9:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %r8
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_10
LBB0_1:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_pcap_snprintf
	jmp	LBB0_10
LBB0_4:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_5:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_pcap_fopen_offline_with_tstamp_precision
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movq	_stdin@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	je	LBB0_11
## %bb.7:
	movq	%r12, %rdi
	callq	_fclose
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	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	"A null pointer was supplied as the file name"

	.comm	_stdin,8,3                      ## @stdin
L_.str.1:                               ## @.str.1
	.asciz	"rb"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_open_offline_with_tstamp_precision ; -- Begin function pcap_open_offline_with_tstamp_precision
	.p2align	2
_pcap_open_offline_with_tstamp_precision: ; @pcap_open_offline_with_tstamp_precision
	.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
	mov	x19, x2
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_3
; %bb.2:
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_6
LBB0_3:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fopen
	mov	x22, x0
	cbnz	x0, LBB0_7
; %bb.4:
Lloh2:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x3, l_.str.2@PAGE
Lloh9:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_10
LBB0_5:
Lloh10:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_pcap_snprintf
	b	LBB0_10
LBB0_6:
Lloh15:
	adrp	x8, _stdin@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh17:
	ldr	x22, [x8]
LBB0_7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_pcap_fopen_offline_with_tstamp_precision
	cbnz	x0, LBB0_11
; %bb.8:
Lloh18:
	adrp	x8, _stdin@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x22
	bl	_fclose
LBB0_10:
	mov	x0, #0
LBB0_11:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"A null pointer was supplied as the file name"

	.comm	_stdin,8,3                      ; @stdin
l_.str.1:                               ; @.str.1
	.asciz	"rb"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"%s"

.subsections_via_symbols
