	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_send_occ_msg_dowork      ## -- Begin function check_send_occ_msg_dowork
	.p2align	4, 0x90
_check_send_occ_msg_dowork:             ## @check_send_occ_msg_dowork
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rax
	movl	(%rax), %eax
	leaq	4(%rdi), %r12
	movl	%eax, 4(%rdi)
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	_FRAME_HEADROOM
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_buf_init
	movl	%eax, %edi
	callq	_ASSERT
	movq	%r15, %rdi
	callq	_MAX_RW_SIZE_TUN
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_buf_safe
	movl	%eax, %edi
	callq	_ASSERT
	movq	_occ_magic@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OCC_STRING_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	%r12, %rdi
	callq	_buf_write
	movl	%eax, %edi
	callq	_ASSERT
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_26
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r12, %rdi
	movl	$128, %esi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_26
## %bb.3:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_24
LBB0_4:
	cmpl	$0, 24(%r14)
	je	LBB0_26
## %bb.5:
	movq	%r12, %rdi
	movl	$129, %esi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_26
## %bb.6:
	movl	24(%r14), %ebx
	movl	%ebx, %edi
	callq	_strlen
	incl	%eax
	movslq	%eax, %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_buf_write
	testl	%eax, %eax
	je	LBB0_26
## %bb.7:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_24
LBB0_8:
	movq	%r12, %rdi
	movl	$130, %esi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_26
## %bb.9:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_24
LBB0_10:
	movq	%r12, %rdi
	movl	$131, %esi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_26
## %bb.11:
	movl	20(%r14), %esi
	movq	%r12, %rdi
	callq	_buf_write_u16
	testl	%eax, %eax
	je	LBB0_26
## %bb.12:
	movl	16(%r14), %esi
	movq	%r12, %rdi
	callq	_buf_write_u16
	testl	%eax, %eax
	je	LBB0_26
## %bb.13:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_24
LBB0_14:
	movq	%r12, %rdi
	movl	$132, %esi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_26
## %bb.15:
	movl	12(%r14), %esi
	movq	%r12, %rdi
	callq	_buf_write_u16
	testl	%eax, %eax
	je	LBB0_26
## %bb.16:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_24
LBB0_17:
	movq	%r12, %rdi
	movl	$133, %esi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_26
## %bb.18:
	movl	12(%r14), %ebx
	movq	%r15, %rdi
	callq	_EXPANDED_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_min_int
	movq	%rax, %rbx
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_EXTRA_FRAME
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	subl	%eax, %ebx
	addl	$-4, %ebx
	testl	%ebx, %ebx
	jle	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_random
	movzbl	%al, %esi
	movq	%r12, %rdi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	leal	-1(%rbx), %eax
	cmpl	$1, %ebx
	movl	%eax, %ebx
	jg	LBB0_19
LBB0_21:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_EXTRA_FRAME
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_MAX_RW_SIZE_TUN
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_BLEN
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$4, %r8d
	movl	%r13d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r15
	callq	_dmsg
	addq	$16, %rsp
	jmp	LBB0_25
LBB0_22:
	movq	%r12, %rdi
	movl	$134, %esi
	callq	_buf_write_u8
	testl	%eax, %eax
	je	LBB0_26
## %bb.23:
	movq	_D_PACKET_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_24:
	xorl	%eax, %eax
	callq	_dmsg
LBB0_25:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_encrypt_sign
LBB0_26:
	movl	$-1, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_occ_magic,4,2                  ## @occ_magic
	.comm	_OCC_STRING_SIZE,8,3            ## @OCC_STRING_SIZE
	.comm	_D_PACKET_CONTENT,4,2           ## @D_PACKET_CONTENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SENT OCC_REQUEST"

L_.str.1:                               ## @.str.1
	.asciz	"SENT OCC_REPLY"

L_.str.2:                               ## @.str.2
	.asciz	"SENT OCC_MTU_REQUEST"

L_.str.3:                               ## @.str.3
	.asciz	"SENT OCC_MTU_REPLY"

L_.str.4:                               ## @.str.4
	.asciz	"SENT OCC_MTU_LOAD_REQUEST"

L_.str.5:                               ## @.str.5
	.asciz	"SENT OCC_MTU_LOAD min_int(%d-%d-%d-%d,%d) size=%d"

L_.str.6:                               ## @.str.6
	.asciz	"SENT OCC_EXIT"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_send_occ_msg_dowork      ; -- Begin function check_send_occ_msg_dowork
	.p2align	2
_check_send_occ_msg_dowork:             ; @check_send_occ_msg_dowork
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	w8, [x8]
	mov	x20, x0
	str	w8, [x20, #4]!
	add	x21, x0, #8
	mov	x0, x21
	bl	_FRAME_HEADROOM
	mov	x1, x0
	mov	x0, x20
	bl	_buf_init
	bl	_ASSERT
	mov	x0, x21
	bl	_MAX_RW_SIZE_TUN
	mov	x1, x0
	mov	x0, x20
	bl	_buf_safe
	bl	_ASSERT
Lloh0:
	adrp	x8, _occ_magic@GOTPAGE
Lloh1:
	ldr	x8, [x8, _occ_magic@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x23, _OCC_STRING_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _OCC_STRING_SIZE@GOTPAGEOFF]
	ldr	x2, [x23]
	mov	x0, x20
	bl	_buf_write
	bl	_ASSERT
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_24
; %bb.1:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	mov	w1, #128
	bl	_buf_write_u8
	cbz	w0, LBB0_24
; %bb.3:
Lloh7:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_23
LBB0_4:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_24
; %bb.5:
	mov	x0, x20
	mov	w1, #129
	bl	_buf_write_u8
	cbz	w0, LBB0_24
; %bb.6:
	ldr	w21, [x19, #24]
	mov	x0, x21
	bl	_strlen
	add	w8, w0, #1
	sxtw	x2, w8
	mov	x0, x20
	mov	x1, x21
	bl	_buf_write
	cbz	w0, LBB0_24
; %bb.7:
Lloh12:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_23
LBB0_8:
	mov	x0, x20
	mov	w1, #130
	bl	_buf_write_u8
	cbz	w0, LBB0_24
; %bb.9:
Lloh17:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_10:
	mov	x0, x20
	mov	w1, #131
	bl	_buf_write_u8
	cbz	w0, LBB0_24
; %bb.11:
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_buf_write_u16
	cbz	w0, LBB0_24
; %bb.12:
	ldr	w1, [x19, #16]
	mov	x0, x20
	bl	_buf_write_u16
	cbz	w0, LBB0_24
; %bb.13:
Lloh22:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_23
LBB0_14:
	mov	x0, x20
	mov	w1, #132
	bl	_buf_write_u8
	cbz	w0, LBB0_24
; %bb.15:
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_buf_write_u16
	cbz	w0, LBB0_24
; %bb.16:
Lloh27:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_23
LBB0_17:
	mov	x0, x20
	mov	w1, #133
	bl	_buf_write_u8
	cbz	w0, LBB0_24
; %bb.18:
	ldr	w22, [x19, #12]
	mov	x0, x21
	bl	_EXPANDED_SIZE
	mov	x1, x0
	mov	x0, x22
	bl	_min_int
	mov	x22, x0
	ldr	w24, [x23]
	mov	x0, x21
	bl	_EXTRA_FRAME
	add	w8, w24, w0
	sub	w8, w22, w8
	sub	w22, w8, #4
	cmp	w22, #1
	b.lt	LBB0_20
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	bl	_get_random
	and	w1, w0, #0xff
	mov	x0, x20
	bl	_buf_write_u8
	cmp	w0, #0
	ccmp	w22, #1, #4, ne
	sub	w22, w22, #1
	b.gt	LBB0_19
LBB0_20:
Lloh32:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh34:
	ldr	w22, [x8]
	ldr	x24, [x23]
	ldr	w25, [x19, #12]
	mov	x0, x21
	bl	_EXTRA_FRAME
	mov	x23, x0
	mov	x0, x21
	bl	_MAX_RW_SIZE_TUN
	mov	x21, x0
	mov	x0, x20
	bl	_BLEN
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #32]
	mov	w8, #4
	stp	x8, x23, [sp, #16]
	stp	x25, x24, [sp]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	b	LBB0_23
LBB0_21:
	mov	x0, x20
	mov	w1, #134
	bl	_buf_write_u8
	cbz	w0, LBB0_24
; %bb.22:
Lloh37:
	adrp	x8, _D_PACKET_CONTENT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _D_PACKET_CONTENT@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.6@PAGE
Lloh41:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_23:
	bl	_dmsg
	mov	x0, x19
	mov	w1, #1
	bl	_encrypt_sign
LBB0_24:
	mov	w8, #-1
	str	w8, [x19]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
                                        ; -- End function
	.comm	_occ_magic,4,2                  ; @occ_magic
	.comm	_OCC_STRING_SIZE,8,3            ; @OCC_STRING_SIZE
	.comm	_D_PACKET_CONTENT,4,2           ; @D_PACKET_CONTENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SENT OCC_REQUEST"

l_.str.1:                               ; @.str.1
	.asciz	"SENT OCC_REPLY"

l_.str.2:                               ; @.str.2
	.asciz	"SENT OCC_MTU_REQUEST"

l_.str.3:                               ; @.str.3
	.asciz	"SENT OCC_MTU_REPLY"

l_.str.4:                               ; @.str.4
	.asciz	"SENT OCC_MTU_LOAD_REQUEST"

l_.str.5:                               ; @.str.5
	.asciz	"SENT OCC_MTU_LOAD min_int(%d-%d-%d-%d,%d) size=%d"

l_.str.6:                               ; @.str.6
	.asciz	"SENT OCC_EXIT"

.subsections_via_symbols
