	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_ack
_recv_ack:                              ## @recv_ack
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r14d
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -152(%rbp)                ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	$0, (%r15)
LBB0_2:
	movq	_MAXDLBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movl	$0, -176(%rbp)
	movq	%rbx, -168(%rbp)
	movl	$0, -140(%rbp)
	leaq	-176(%rbp), %rsi
	leaq	-140(%rbp), %rcx
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_getmsg
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	-168(%rbp), %rdi
	callq	_MAKE_DL_PRIMITIVES
	movq	%rax, %r14
	movl	(%rax), %edx
	leal	-129(%rdx), %eax
	cmpl	$3, %eax
	jb	LBB0_19
## %bb.5:
	cmpl	$133, %edx
	je	LBB0_19
## %bb.6:
	cmpl	$132, %edx
	jne	LBB0_18
## %bb.7:
	movl	4(%r14), %edx
	cmpl	$128, %edx
	jne	LBB0_15
## %bb.8:
	testq	%r15, %r15
	je	LBB0_9
## %bb.10:
	movl	$132, (%r15)
	movl	(%r14), %edx
	jmp	LBB0_11
LBB0_19:
	movl	-176(%rbp), %eax
	cmpl	%r12d, %eax
	jge	LBB0_23
## %bb.20:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_pcap_snprintf
	jmp	LBB0_21
LBB0_3:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_21
LBB0_18:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dlprim
	leaq	L_.str.3(%rip), %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_pcap_snprintf
	jmp	LBB0_21
LBB0_15:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_dlstrerror
	leaq	L_.str.2(%rip), %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_pcap_snprintf
	movl	4(%r14), %eax
	movq	_DL_BADPPA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movq	_PCAP_ERROR_NO_SUCH_DEVICE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_17:
	movq	_DL_ACCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
	jmp	LBB0_14
LBB0_9:
	movl	$132, %edx
LBB0_11:
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	callq	_pcap_fmt_errmsg_for_errno
	movl	(%r14), %eax
	movq	_EPERM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
## %bb.12:
	movq	_EACCES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
LBB0_21:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
LBB0_23:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_25
## %bb.24:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_PCAP_ERROR_PERM_DENIED@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_MAXDLBUF,4,2                   ## @MAXDLBUF
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recv_ack: %s getmsg"

	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"recv_ack: %s: UNIX error"

	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_PCAP_ERROR_PERM_DENIED,4,2     ## @PCAP_ERROR_PERM_DENIED
L_.str.2:                               ## @.str.2
	.asciz	"recv_ack: %s: %s"

	.comm	_DL_BADPPA,4,2                  ## @DL_BADPPA
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ## @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_DL_ACCESS,4,2                  ## @DL_ACCESS
L_.str.3:                               ## @.str.3
	.asciz	"recv_ack: %s: Unexpected primitive ack %s"

L_.str.4:                               ## @.str.4
	.asciz	"recv_ack: %s: Ack too small (%d < %d)"

	.no_dead_strip	_recv_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_ack
_recv_ack:                              ; @recv_ack
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #112
	mov	x21, x5
	mov	x20, x4
	mov	x19, x2
	mov	x23, x1
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
	ldr	w22, [x27]
	mov	x9, x22
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	cbz	x5, LBB0_2
; %bb.1:
	str	wzr, [x21]
LBB0_2:
Lloh7:
	adrp	x8, _MAXDLBUF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAXDLBUF@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	stur	w8, [x29, #-160]
	stur	xzr, [x29, #-180]
	stur	x3, [x29, #-168]
	sub	x1, x29, #176
	sub	x3, x29, #180
	mov	x2, #0
	bl	_getmsg
	tbnz	x0, #63, LBB0_13
; %bb.3:
	ldur	x0, [x29, #-168]
	bl	_MAKE_DL_PRIMITIVES
	ldr	w2, [x0]
	sub	w8, w2, #129
	cmp	w8, #3
	b.lo	LBB0_11
; %bb.4:
	cmp	w2, #133
	b.eq	LBB0_11
; %bb.5:
	cmp	w2, #132
	b.ne	LBB0_14
; %bb.6:
	mov	x24, x0
	ldr	w2, [x0, #4]
	cmp	w2, #128
	b.ne	LBB0_15
; %bb.7:
	mov	w2, #132
	cbz	x21, LBB0_9
; %bb.8:
	str	w2, [x21]
	ldr	w2, [x24]
LBB0_9:
	ldr	w1, [x27]
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_pcap_fmt_errmsg_for_errno
	ldr	w8, [x24]
Lloh12:
	adrp	x9, _EPERM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EPERM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.10:
Lloh15:
	adrp	x9, _EACCES@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
	ldur	w4, [x29, #-176]
	cmp	w4, w23
	b.ge	LBB0_21
; %bb.12:
	ldr	w1, [x27]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	str	x23, [sp, #-16]!
	mov	x0, x20
	mov	x3, x19
	bl	_pcap_snprintf
	add	sp, sp, #16
	b	LBB0_19
LBB0_13:
	ldr	w1, [x27]
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x3, l_.str@PAGE
Lloh23:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_19
LBB0_14:
	ldr	w21, [x27]
	sub	x0, x29, #152
	mov	w1, #64
	bl	_dlprim
	mov	x4, x0
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_pcap_snprintf
	b	LBB0_19
LBB0_15:
	ldr	w21, [x27]
	mov	x0, x25
	mov	x1, x22
	bl	_dlstrerror
	mov	x4, x0
Lloh26:
	adrp	x2, l_.str.2@PAGE
Lloh27:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_pcap_snprintf
	ldr	w8, [x24, #4]
Lloh28:
	adrp	x9, _DL_BADPPA@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DL_BADPPA@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.16:
Lloh31:
	adrp	x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
Lloh33:
	adrp	x9, _DL_ACCESS@GOTPAGE
Lloh34:
	ldr	x9, [x9, _DL_ACCESS@GOTPAGEOFF]
LBB0_18:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_23
LBB0_19:
Lloh35:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
LBB0_20:
	ldr	w4, [x8]
LBB0_21:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.22:
	mov	x0, x4
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
Lloh40:
	adrp	x8, _PCAP_ERROR_PERM_DENIED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PCAP_ERROR_PERM_DENIED@GOTPAGEOFF]
	b	LBB0_20
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_MAXDLBUF,4,2                   ; @MAXDLBUF
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recv_ack: %s getmsg"

	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"recv_ack: %s: UNIX error"

	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_PCAP_ERROR_PERM_DENIED,4,2     ; @PCAP_ERROR_PERM_DENIED
l_.str.2:                               ; @.str.2
	.asciz	"recv_ack: %s: %s"

	.comm	_DL_BADPPA,4,2                  ; @DL_BADPPA
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ; @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_DL_ACCESS,4,2                  ; @DL_ACCESS
l_.str.3:                               ; @.str.3
	.asciz	"recv_ack: %s: Unexpected primitive ack %s"

l_.str.4:                               ; @.str.4
	.asciz	"recv_ack: %s: Ack too small (%d < %d)"

	.no_dead_strip	_recv_ack
.subsections_via_symbols
