	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_received_occ_msg       ## -- Begin function process_received_occ_msg
	.p2align	4, 0x90
_process_received_occ_msg:              ## @process_received_occ_msg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	_OCC_STRING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_buf_advance
	movl	%eax, %edi
	callq	_ASSERT
	movq	%r14, %rdi
	callq	_buf_read_u8
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_23
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dmsg
	movl	$129, (%rbx)
	jmp	LBB0_23
LBB0_5:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dmsg
	cmpl	$0, 92(%rbx)
	je	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_TLS_MODE
	testl	%eax, %eax
	je	LBB0_7
LBB0_10:
	addq	$56, %rbx
	jmp	LBB0_11
LBB0_3:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dmsg
	movl	$131, (%rbx)
	jmp	LBB0_23
LBB0_12:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_dmsg
	movq	%r14, %rdi
	callq	_buf_read_u16
	movq	%rax, 48(%rbx)
	movq	%r14, %rdi
	callq	_buf_read_u16
	movq	%rax, 32(%rbx)
	cmpl	$0, 88(%rbx)
	je	LBB0_21
## %bb.13:
	movq	48(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.14:
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	_M_INFO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	24(%rbx), %rdx
	movq	40(%rbx), %r9
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_msg
	cmpl	$0, 84(%rbx)
	je	LBB0_16
LBB0_21:
	addq	$16, %rbx
LBB0_11:
	movq	%rbx, %rdi
	callq	_event_timeout_clear
	jmp	LBB0_23
LBB0_4:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dmsg
	movq	%r14, %rdi
	callq	_buf_read_u16
	movq	%rax, 64(%rbx)
	movq	_OCC_MTU_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_23
LBB0_22:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_dmsg
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	72(%rbx), %rcx
	movl	%eax, 8(%rcx)
	leaq	L_.str.8(%rip), %rax
	movq	%rax, (%rcx)
LBB0_23:
	movq	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpl	$0, 60(%rbx)
	je	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_BPTR
	movl	60(%rbx), %esi
	movq	8(%rbx), %rdx
	movq	%rax, %rdi
	callq	_options_cmp_equal_safe
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_BPTR
	movl	60(%rbx), %esi
	movq	8(%rbx), %rdx
	movq	%rax, %rdi
	callq	_options_warning_safe
	jmp	LBB0_10
LBB0_16:
	movl	80(%rbx), %edi
	callq	_proto_is_dgram
	testl	%eax, %eax
	je	LBB0_21
## %bb.17:
	movq	24(%rbx), %rdx
	movq	_TUN_MTU_MIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jbe	LBB0_21
## %bb.18:
	cmpq	%rdx, 48(%rbx)
	jb	LBB0_20
## %bb.19:
	movq	40(%rbx), %rax
	cmpq	32(%rbx), %rax
	jae	LBB0_21
LBB0_20:
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_msg
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_OCC_STRING_SIZE,4,2            ## @OCC_STRING_SIZE
	.comm	_D_PACKET_CONTENT,4,2           ## @D_PACKET_CONTENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RECEIVED OCC_REQUEST"

L_.str.1:                               ## @.str.1
	.asciz	"RECEIVED OCC_MTU_REQUEST"

L_.str.2:                               ## @.str.2
	.asciz	"RECEIVED OCC_MTU_LOAD_REQUEST"

	.comm	_OCC_MTU_LOAD,4,2               ## @OCC_MTU_LOAD
L_.str.3:                               ## @.str.3
	.asciz	"RECEIVED OCC_REPLY"

L_.str.4:                               ## @.str.4
	.asciz	"RECEIVED OCC_MTU_REPLY"

	.comm	_M_INFO,4,2                     ## @M_INFO
L_.str.5:                               ## @.str.5
	.asciz	"NOTE: Empirical MTU test completed [Tried,Actual] local->remote=[%d,%d] remote->local=[%d,%d]"

	.comm	_TUN_MTU_MIN,8,3                ## @TUN_MTU_MIN
L_.str.6:                               ## @.str.6
	.asciz	"NOTE: This connection is unable to accommodate a UDP packet size of %d. Consider using --fragment or --mssfix options as a workaround."

L_.str.7:                               ## @.str.7
	.asciz	"RECEIVED OCC_EXIT"

	.comm	_SIGTERM,4,2                    ## @SIGTERM
L_.str.8:                               ## @.str.8
	.asciz	"remote-exit"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_received_occ_msg       ; -- Begin function process_received_occ_msg
	.p2align	2
_process_received_occ_msg:              ; @process_received_occ_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	add	x19, x0, #8
Lloh0:
	adrp	x8, _OCC_STRING_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCC_STRING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_buf_advance
	bl	_ASSERT
	mov	x0, x19
	bl	_buf_read_u8
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_14
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dmsg
	mov	w8, #129
	str	w8, [x20]
	b	LBB0_14
LBB0_3:
Lloh10:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dmsg
	ldr	w8, [x20, #92]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_TLS_MODE
	cbz	w0, LBB0_15
LBB0_5:
	add	x0, x20, #56
	bl	_event_timeout_clear
	b	LBB0_14
LBB0_6:
Lloh15:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dmsg
	mov	w8, #131
	str	w8, [x20]
	b	LBB0_14
LBB0_7:
Lloh20:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dmsg
	mov	x0, x19
	bl	_buf_read_u16
	str	x0, [x20, #48]
	mov	x0, x19
	bl	_buf_read_u16
	str	x0, [x20, #32]
	ldr	w8, [x20, #88]
	cbz	w8, LBB0_11
; %bb.8:
	ldr	x9, [x20, #48]
	cbz	x9, LBB0_11
; %bb.9:
	cbz	x0, LBB0_11
; %bb.10:
Lloh25:
	adrp	x21, _M_INFO@GOTPAGE
Lloh26:
	ldr	x21, [x21, _M_INFO@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	x2, [x20, #24]
	ldr	x10, [x20, #40]
	stp	x0, x10, [sp, #8]
	str	x9, [sp]
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x8
	bl	_msg
	ldr	w8, [x20, #84]
	cbz	w8, LBB0_18
LBB0_11:
	add	x0, x20, #16
	bl	_event_timeout_clear
	b	LBB0_14
LBB0_12:
Lloh29:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dmsg
	mov	x0, x19
	bl	_buf_read_u16
	str	x0, [x20, #64]
Lloh34:
	adrp	x8, _OCC_MTU_LOAD@GOTPAGE
Lloh35:
	ldr	x8, [x8, _OCC_MTU_LOAD@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_14
LBB0_13:
Lloh37:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dmsg
Lloh42:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldr	x9, [x20, #72]
	str	w8, [x9, #8]
Lloh45:
	adrp	x8, l_.str.8@PAGE
Lloh46:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [x9]
LBB0_14:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	ldr	w8, [x20, #60]
	cbz	w8, LBB0_5
; %bb.16:
	mov	x0, x19
	bl	_BPTR
	ldr	w1, [x20, #60]
	ldr	x2, [x20, #8]
	bl	_options_cmp_equal_safe
	cbnz	w0, LBB0_5
; %bb.17:
	mov	x0, x19
	bl	_BPTR
	ldr	w1, [x20, #60]
	ldr	x2, [x20, #8]
	bl	_options_warning_safe
	b	LBB0_5
LBB0_18:
	ldr	w0, [x20, #80]
	bl	_proto_is_dgram
	cbz	w0, LBB0_11
; %bb.19:
	ldr	x2, [x20, #24]
Lloh47:
	adrp	x8, _TUN_MTU_MIN@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TUN_MTU_MIN@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ls	LBB0_11
; %bb.20:
	ldr	x8, [x20, #48]
	cmp	x8, x2
	b.lo	LBB0_22
; %bb.21:
	ldp	x9, x8, [x20, #32]
	cmp	x8, x9
	b.hs	LBB0_11
LBB0_22:
	ldr	w0, [x21]
Lloh50:
	adrp	x1, l_.str.6@PAGE
Lloh51:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_msg
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_OCC_STRING_SIZE,4,2            ; @OCC_STRING_SIZE
	.comm	_D_PACKET_CONTENT,4,2           ; @D_PACKET_CONTENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RECEIVED OCC_REQUEST"

l_.str.1:                               ; @.str.1
	.asciz	"RECEIVED OCC_MTU_REQUEST"

l_.str.2:                               ; @.str.2
	.asciz	"RECEIVED OCC_MTU_LOAD_REQUEST"

	.comm	_OCC_MTU_LOAD,4,2               ; @OCC_MTU_LOAD
l_.str.3:                               ; @.str.3
	.asciz	"RECEIVED OCC_REPLY"

l_.str.4:                               ; @.str.4
	.asciz	"RECEIVED OCC_MTU_REPLY"

	.comm	_M_INFO,4,2                     ; @M_INFO
l_.str.5:                               ; @.str.5
	.asciz	"NOTE: Empirical MTU test completed [Tried,Actual] local->remote=[%d,%d] remote->local=[%d,%d]"

	.comm	_TUN_MTU_MIN,8,3                ; @TUN_MTU_MIN
l_.str.6:                               ; @.str.6
	.asciz	"NOTE: This connection is unable to accommodate a UDP packet size of %d. Consider using --fragment or --mssfix options as a workaround."

l_.str.7:                               ; @.str.7
	.asciz	"RECEIVED OCC_EXIT"

	.comm	_SIGTERM,4,2                    ; @SIGTERM
l_.str.8:                               ; @.str.8
	.asciz	"remote-exit"

.subsections_via_symbols
