	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_next_ex                   ## -- Begin function pcap_next_ex
	.p2align	4, 0x90
_pcap_next_ex:                          ## @pcap_next_ex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	leaq	24(%rdi), %rax
	movq	%rax, -8(%rbp)
	movq	%rdx, -16(%rbp)
	movq	%rdi, -24(%rbp)
	movq	%rax, (%rsi)
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movl	8(%rdi), %edx
	leaq	-24(%rbp), %rcx
	movl	$1, %esi
	callq	_pcap_offline_read
	movl	%eax, %ecx
	testl	%eax, %eax
	movl	$-2, %eax
	cmovnel	%ecx, %eax
	jmp	LBB0_3
LBB0_2:
	movl	8(%rdi), %edx
	leaq	-24(%rbp), %rcx
	movl	$1, %esi
	callq	*(%rdi)
LBB0_3:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_next_ex                   ; -- Begin function pcap_next_ex
	.p2align	2
_pcap_next_ex:                          ; @pcap_next_ex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	add	x8, x0, #24
	stp	x2, x8, [sp, #16]
	str	x0, [sp, #8]
	str	x8, [x1]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w2, [x0, #8]
	add	x3, sp, #8
	mov	w1, #1
	bl	_pcap_offline_read
	mov	w8, #-2
	cmp	w0, #0
	csel	w0, w8, w0, eq
	b	LBB0_3
LBB0_2:
	ldr	x8, [x0]
	ldr	w2, [x0, #8]
	add	x3, sp, #8
	mov	w1, #1
	blr	x8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
