	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_read_acn
_pcap_read_acn:                         ## @pcap_read_acn
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	40(%rdi), %edi
	movl	36(%rbx), %esi
	movl	32(%rbx), %edx
	movl	24(%rbx), %r8d
	movl	28(%rbx), %ecx
	callq	_acn_start_monitor
	leaq	-64(%rbp), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_acn_read_n_bytes_with_timeout
	xorl	%r12d, %r12d
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	movl	-64(%rbp), %edi
	callq	_ntohl
	movq	%rax, -72(%rbp)
	movl	-60(%rbp), %edi
	callq	_ntohl
	movq	%rax, -80(%rbp)
	movl	-56(%rbp), %edi
	callq	_ntohl
	movq	%rax, %r13
	movl	%r13d, -96(%rbp)
	movl	-52(%rbp), %edi
	callq	_ntohl
	movq	%rax, -88(%rbp)
	movslq	8(%rbx), %rax
	addq	16(%rbx), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_acn_read_n_bytes_with_timeout
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rdx
	leaq	-96(%rbp), %rsi
	movq	%r15, %rdi
	callq	*%r14
	movl	$1, %r12d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HEADER_SIZE,4,2                ## @HEADER_SIZE
	.no_dead_strip	_pcap_read_acn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_read_acn
_pcap_read_acn:                         ; @pcap_read_acn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x3
	mov	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w0, [x0, #40]
	ldp	w2, w1, [x21, #32]
	ldp	w4, w3, [x21, #24]
	bl	_acn_start_monitor
	add	x8, sp, #40
	str	x8, [x21]
	mov	x0, x21
	mov	w1, #16
	bl	_acn_read_n_bytes_with_timeout
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [sp, #40]
	bl	_ntohl
	str	x0, [sp, #32]
	ldr	w0, [sp, #44]
	bl	_ntohl
	str	x0, [sp, #24]
	ldr	w0, [sp, #48]
	bl	_ntohl
	mov	x22, x0
	str	w22, [sp, #8]
	ldr	w0, [sp, #52]
	bl	_ntohl
	str	x0, [sp, #16]
	ldr	x8, [x21, #16]
	ldrsw	x9, [x21, #8]
	add	x8, x8, x9
	str	x8, [x21]
	mov	x0, x21
	mov	x1, x22
	bl	_acn_read_n_bytes_with_timeout
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	ldr	x2, [x21]
	add	x1, sp, #8
	mov	x0, x20
	blr	x19
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HEADER_SIZE,4,2                ; @HEADER_SIZE
	.no_dead_strip	_pcap_read_acn
.subsections_via_symbols
