	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_read_pf
_pcap_read_pf:                          ## @pcap_read_pf
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	72(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	je	LBB0_1
LBB0_11:
	movq	24(%r13), %r14
	testl	%ebx, %ebx
	jle	LBB0_13
LBB0_14:
	movq	48(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_28:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_30
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 40(%r13)
	jne	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$31, %ebx
	jbe	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r14), %ecx
	cmpl	$32, %ecx
	jne	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	4(%r14), %eax
	movl	16(%r13), %r15d
	cmpl	%r15d, %eax
	cmovll	%eax, %r15d
	leal	32(%r15), %edi
	callq	_ENALIGN
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	incl	36(%rdx)
	movl	24(%r14), %ecx
	addl	%ecx, 32(%rdx)
	movq	8(%r14), %rcx
	movq	%rcx, (%rdx)
	cmpq	$0, 8(%rdx)
	jns	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rcx, 8(%rdx)
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	128(%r14), %r12
	subl	%eax, %ebx
	cltq
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, 24(%rdx)
	jne	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	32(%r13), %edi
	movl	4(%r14), %edx
	movq	%r12, %rsi
	movl	%r15d, %ecx
	callq	_bpf_filter
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_28
LBB0_31:                                ##   in Loop: Header=BB0_15 Depth=1
	incl	16(%rdx)
	movl	16(%r14), %eax
	movl	%eax, -96(%rbp)
	movslq	4(%r14), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	subq	%rcx, %rax
	movq	%rax, -104(%rbp)
	leaq	(%r12,%rcx,4), %rdx
	subl	%ecx, %r15d
	movl	%r15d, -112(%rbp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	-112(%rbp), %rsi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	incl	%r15d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	cmpl	%edi, %r15d
	jl	LBB0_29
## %bb.32:                              ##   in Loop: Header=BB0_15 Depth=1
	callq	_PACKET_COUNT_IS_UNLIMITED
	testl	%eax, %eax
	jne	LBB0_29
## %bb.33:
	movl	%ebx, (%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%r13)
	jmp	LBB0_34
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %r15
	movq	_EINVAL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	64(%r13), %edi
	movslq	4(%r13), %rsi
	addq	56(%r13), %rsi
	movq	8(%r13), %rdx
	callq	_read
	testl	%eax, %eax
	jns	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdx
	cmpq	(%r15), %rdx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r12), %rdx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	64(%r13), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	addq	8(%r13), %rax
	jns	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	64(%r13), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	movl	(%r13), %ebx
	testl	%ebx, %ebx
	je	LBB0_2
	jmp	LBB0_11
LBB0_16:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.18:
	movl	%ebx, (%r13)
	movq	%r14, 24(%r13)
	jmp	LBB0_34
LBB0_20:
	movl	36(%r13), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	movl	%ebx, %ecx
	jmp	LBB0_23
LBB0_22:
	movl	36(%r13), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	$4, %esi
LBB0_23:
	callq	_pcap_snprintf
	movl	$-1, %r15d
	jmp	LBB0_34
LBB0_30:
	movl	$0, (%r13)
	jmp	LBB0_34
LBB0_9:
	movl	%eax, %ebx
	movslq	4(%r13), %r14
	shlq	$2, %r14
	addq	56(%r13), %r14
	testl	%ebx, %ebx
	jg	LBB0_14
LBB0_13:
	xorl	%r15d, %r15d
	movl	$0, (%r13)
	jmp	LBB0_34
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_34
LBB0_7:
	movq	(%r14), %rdx
LBB0_8:
	movl	36(%r13), %edi
	leaq	L_.str(%rip), %rcx
	movl	$4, %esi
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %r15d
	jmp	LBB0_34
LBB0_17:
	movq	$0, 40(%r13)
	movl	$-2, %r15d
LBB0_34:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pf read"

L_.str.1:                               ## @.str.1
	.asciz	"pf short read (%d)"

L_.str.2:                               ## @.str.2
	.asciz	"pf short stamplen (%d)"

	.no_dead_strip	_pcap_read_pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_read_pf
_pcap_read_pf:                          ; @pcap_read_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	stp	x2, x3, [sp, #8]                ; 16-byte Folded Spill
	mov	x22, x1
	mov	x19, x0
	ldr	x27, [x0, #72]
	ldr	w23, [x0]
	cbz	w23, LBB0_14
LBB0_1:
	ldr	x20, [x19, #24]
	cmp	w23, #1
	b.lt	LBB0_26
LBB0_2:
	mov	w24, #0
	ldr	x28, [x19, #48]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x21
	cmp	w23, #0
	b.le	LBB0_27
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #31
	b.ls	LBB0_22
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x20]
	cmp	w3, #32
	b.ne	LBB0_23
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #4]
	ldr	w9, [x19, #16]
	cmp	w8, w9
	csel	w25, w8, w9, lt
	add	w0, w25, #32
	bl	_ENALIGN
	sub	w23, w23, w0
	add	x8, x20, #24
	movi.2s	v0, #1
	ld1.s	{ v0 }[0], [x8]
	ldr	d1, [x27, #32]
	add.2s	v0, v1, v0
	str	d0, [x27, #32]
	ldr	x8, [x20, #8]
	str	x8, [x27]
	ldr	x9, [x27, #8]
	tbz	x9, #63, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x27, #8]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x20, #128
	add	x21, x20, w0, sxtw #2
	ldr	x8, [x27, #24]
	cbnz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #32]
	ldr	w2, [x20, #4]
	mov	x1, x26
	mov	x3, x25
	bl	_bpf_filter
	cbz	x0, LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27, #16]
	add	w8, w8, #1
	str	w8, [x27, #16]
	ldr	w8, [x20, #16]
	str	w8, [sp, #40]
	ldrsw	x8, [x20, #4]
	sub	x8, x8, x28
	str	x8, [sp, #32]
	add	x2, x26, x28, lsl #2
	sub	w8, w25, w28
	str	w8, [sp, #24]
	add	x1, sp, #24
	ldp	x8, x0, [sp, #8]                ; 16-byte Folded Reload
	blr	x8
	add	w24, w24, #1
	cmp	w24, w22
	b.lt	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_PACKET_COUNT_IS_UNLIMITED
	cbnz	w0, LBB0_3
; %bb.13:
	str	w23, [x19]
	str	x21, [x19, #24]
	b	LBB0_32
LBB0_14:
Lloh0:
	adrp	x20, _errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
Lloh2:
	adrp	x21, _EWOULDBLOCK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _EWOULDBLOCK@GOTPAGEOFF]
Lloh4:
	adrp	x24, _EINVAL@GOTPAGE
Lloh5:
	ldr	x24, [x24, _EINVAL@GOTPAGEOFF]
Lloh6:
	adrp	x25, _SEEK_CUR@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SEEK_CUR@GOTPAGEOFF]
Lloh8:
	adrp	x26, _SEEK_SET@GOTPAGE
Lloh9:
	ldr	x26, [x26, _SEEK_SET@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #64]
	ldr	x8, [x19, #56]
	ldrsw	x9, [x19, #4]
	add	x1, x8, x9
	ldr	x2, [x19, #8]
	bl	_read
	tbz	w0, #31, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x2, [x20]
	ldr	x8, [x21]
	cmp	x2, x8
	b.eq	LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x24]
	cmp	x2, x8
	b.ne	LBB0_30
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x19, #64]
	ldr	w2, [x25]
	mov	x1, #0
	bl	_lseek
	ldr	x8, [x19, #8]
	cmn	x8, x0
	b.pl	LBB0_29
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x19, #64]
	ldr	w2, [x26]
	mov	x1, #0
	bl	_lseek
	ldr	w23, [x19]
	cbz	w23, LBB0_15
	b	LBB0_1
LBB0_20:
	cbz	w24, LBB0_31
; %bb.21:
	str	w23, [x19]
	str	x20, [x19, #24]
	b	LBB0_32
LBB0_22:
	ldr	w0, [x19, #36]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	mov	x3, x23
	b	LBB0_24
LBB0_23:
	ldr	w0, [x19, #36]
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #4
LBB0_24:
	bl	_pcap_snprintf
	mov	w24, #-1
	b	LBB0_32
LBB0_25:
	mov	x23, x0
	ldr	x8, [x19, #56]
	ldrsw	x9, [x19, #4]
	add	x20, x8, x9, lsl #2
	cmp	w23, #1
	b.ge	LBB0_2
LBB0_26:
	mov	w24, #0
LBB0_27:
	str	wzr, [x19]
	b	LBB0_32
LBB0_28:
	mov	w24, #0
	b	LBB0_32
LBB0_29:
	ldr	x2, [x20]
LBB0_30:
	ldr	w0, [x19, #36]
Lloh14:
	adrp	x3, l_.str@PAGE
Lloh15:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #4
	bl	_pcap_fmt_errmsg_for_errno
	mov	w24, #-1
	b	LBB0_32
LBB0_31:
	str	xzr, [x19, #40]
	mov	w24, #-2
LBB0_32:
	mov	x0, x24
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pf read"

l_.str.1:                               ; @.str.1
	.asciz	"pf short read (%d)"

l_.str.2:                               ; @.str.2
	.asciz	"pf short stamplen (%d)"

	.no_dead_strip	_pcap_read_pf
.subsections_via_symbols
