	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_tree
_send_tree:                             ## @send_tree
	.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
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	js	LBB0_20
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rsi), %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	movl	$138, %r8d
	movl	$7, %ecx
	cmovnel	%ecx, %r8d
	movl	$4, %ecx
	subl	%edi, %ecx
	incl	%edx
	movl	$-1, %edi
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r13d
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r14d
	movl	%r13d, %edi
	cmpq	%rdx, %r15
	je	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%eax, %r13d
	movl	4(%rsi,%r15,4), %eax
	incq	%r15
	leal	1(%r14), %r12d
	cmpl	%r8d, %r12d
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %r13d
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %r12d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jge	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_send_code
	decl	%r12d
	jne	LBB0_6
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, %r13d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_send_code
	movl	%r14d, %r12d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	$-3, %r12d
	xorl	%edi, %edi
	cmpl	$4, %r12d
	setb	%dil
	leaq	L_.str(%rip), %rsi
	callq	_Assert
	movq	_REP_3_6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_send_code
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$2, %edx
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$9, %r14d
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_REPZ_3_10@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_send_code
	addl	$-2, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$3, %edx
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_REPZ_11_138@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_send_code
	addl	$-10, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$7, %edx
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_send_bits
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r8d, %r8d
	cmpl	%eax, %r13d
	sete	%r8b
	movl	$4, %ecx
	subl	%r8d, %ecx
	xorl	$7, %r8d
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$3, %ecx
	movl	$138, %r8d
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" 3_6?"

	.comm	_REP_3_6,4,2                    ## @REP_3_6
	.comm	_REPZ_3_10,4,2                  ## @REPZ_3_10
	.comm	_REPZ_11_138,4,2                ## @REPZ_11_138
	.no_dead_strip	_send_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_tree
_send_tree:                             ; @send_tree
	.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
	tbnz	w2, #31, LBB0_16
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x24, #0
	mov	w28, #0
	ldr	w22, [x1]
	mov	w25, #3
	mov	w8, #7
	mov	w26, #138
	cmp	w22, #0
	csel	w9, w26, w8, eq
	cinc	w10, w25, ne
	add	w27, w2, #1
	mov	w8, #-1
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w23, w23, #3
	cmp	w23, #4
	cset	w0, lo
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Assert
Lloh2:
	adrp	x8, _REP_3_6@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REP_3_6@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x20
	bl	_send_code
	mov	x0, x20
	mov	x1, x23
	mov	w2, #2
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_send_bits
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, w21
	mov	w8, #6
	cinc	w8, w8, ne
	cinc	w10, w25, ne
	cmp	w21, #0
	csel	w23, wzr, wzr, eq
	csel	w9, w26, w8, eq
	csel	w10, w25, w10, eq
	mov	x8, x22
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x23
	mov	x22, x21
	cmp	x24, x27
	b.eq	LBB0_16
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x24, x24, #1
	ldr	w21, [x19, x24, lsl #2]
	add	w23, w28, #1
	cmp	w23, w9
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, w21
	b.eq	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w23, w10
	b.ge	LBB0_10
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x20]
	mov	x0, x20
	mov	x1, x22
	bl	_send_code
	subs	w23, w23, #1
	b.ne	LBB0_9
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w22, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, w8
	b.eq	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x20]
	mov	x0, x20
	mov	x1, x22
	bl	_send_code
	mov	x23, x28
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w28, #9
	b.gt	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh5:
	adrp	x8, _REPZ_3_10@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REPZ_3_10@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x20
	bl	_send_code
	sub	w1, w28, #2
	mov	x0, x20
	mov	w2, #3
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh8:
	adrp	x8, _REPZ_11_138@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REPZ_11_138@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x20
	bl	_send_code
	sub	w1, w28, #10
	mov	x0, x20
	mov	w2, #7
	b	LBB0_3
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" 3_6?"

	.comm	_REP_3_6,4,2                    ; @REP_3_6
	.comm	_REPZ_3_10,4,2                  ; @REPZ_3_10
	.comm	_REPZ_11_138,4,2                ; @REPZ_11_138
	.no_dead_strip	_send_tree
.subsections_via_symbols
