	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcap_senderror                ## -- Begin function rpcap_senderror
	.p2align	4, 0x90
_rpcap_senderror:                       ## @rpcap_senderror
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_RPCAP_NETBUF_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	$0, -52(%rbp)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movq	_RPCAP_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rcx, %r13
	movl	%r15d, %esi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_rpcap_createhdr
	movl	(%r12), %r8d
	movq	_SOCKBUF_CHECKONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	(%r13), %eax
	leaq	-52(%rbp), %rcx
	xorl	%edi, %edi
	movl	$4, %esi
	xorl	%edx, %edx
	pushq	%rax
	pushq	%r15
	callq	_sock_bufferize
	addq	$16, %rsp
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movq	_RPCAP_NETBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SOCKBUF_BUFFERIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	(%r13), %eax
	leaq	-52(%rbp), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	pushq	%rax
	pushq	%r15
	callq	_sock_bufferize
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	-52(%rbp), %edx
	movl	(%r13), %r8d
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	callq	_sock_send
	movq	%rax, %r14
	sarq	$63, %r14
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r14d, %eax
	leaq	-40(%rbp), %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	_RPCAP_NETBUF_SIZE,4,2          ## @RPCAP_NETBUF_SIZE
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_RPCAP_MSG_ERROR,4,2            ## @RPCAP_MSG_ERROR
	.comm	_SOCKBUF_CHECKONLY,4,2          ## @SOCKBUF_CHECKONLY
	.comm	_SOCKBUF_BUFFERIZE,4,2          ## @SOCKBUF_BUFFERIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcap_senderror                ; -- Begin function rpcap_senderror
	.p2align	2
_rpcap_senderror:                       ; @rpcap_senderror
	.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, #16
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x25, x1
	mov	x20, x0
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	x26, _RPCAP_NETBUF_SIZE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _RPCAP_NETBUF_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	stur	wzr, [x29, #-92]
	mov	x0, x3
	bl	_strlen
Lloh7:
	adrp	x27, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, w0
	csel	w23, w8, w0, lt
Lloh9:
	adrp	x8, _RPCAP_MSG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RPCAP_MSG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x25
	mov	x3, x24
	mov	x4, x23
	bl	_rpcap_createhdr
	ldr	w4, [x26]
Lloh12:
	adrp	x8, _SOCKBUF_CHECKONLY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOCKBUF_CHECKONLY@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
	ldr	w7, [x27]
	sub	x3, x29, #92
	mov	x0, #0
	mov	w1, #4
	mov	x2, #0
	mov	x6, x19
	bl	_sock_bufferize
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w4, [x26]
Lloh15:
	adrp	x8, _SOCKBUF_BUFFERIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SOCKBUF_BUFFERIZE@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	ldr	w7, [x27]
	sub	x3, x29, #92
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x6, x19
	bl	_sock_bufferize
	cbz	x0, LBB0_5
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
                                        ; kill: def $w0 killed $w0 killed $x0
	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_5:
	ldur	w2, [x29, #-92]
	ldr	w4, [x27]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	bl	_sock_send
	asr	x0, x0, #63
	b	LBB0_3
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_RPCAP_NETBUF_SIZE,4,2          ; @RPCAP_NETBUF_SIZE
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_RPCAP_MSG_ERROR,4,2            ; @RPCAP_MSG_ERROR
	.comm	_SOCKBUF_CHECKONLY,4,2          ; @SOCKBUF_CHECKONLY
	.comm	_SOCKBUF_BUFFERIZE,4,2          ; @SOCKBUF_BUFFERIZE
.subsections_via_symbols
