	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmsgpack_dom_write             ## -- Begin function rmsgpack_dom_write
	.p2align	4, 0x90
_rmsgpack_dom_write:                    ## @rmsgpack_dom_write
	.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
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	56(%rsi), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rmsgpack_write_uint            ## TAILCALL
LBB0_3:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_4:
	movl	48(%rsi), %edx
	movl	52(%rsi), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rmsgpack_write_string          ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rmsgpack_write_nil             ## TAILCALL
LBB0_6:
	movq	%rsi, %r14
	movl	24(%rsi), %esi
	movq	%rbx, %rdi
	callq	_rmsgpack_write_map_header
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_23
## %bb.7:
	cmpl	$0, 24(%r14)
	je	LBB0_23
## %bb.8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$72, %r13d
	xorl	%ecx, %ecx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	32(%r14), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	callq	_rmsgpack_dom_write
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	32(%r14), %rax
	leaq	(%rax,%r13), %rsi
	addq	$-72, %rsi
	movq	%r15, %rdi
	callq	_rmsgpack_dom_write
	testl	%eax, %eax
	js	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	addl	%ebx, %r12d
	addl	%eax, %r12d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movl	24(%r14), %eax
	addq	$144, %r13
	cmpq	%rax, %rcx
	jb	LBB0_9
	jmp	LBB0_23
LBB0_12:
	movl	60(%rsi), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rmsgpack_write_int             ## TAILCALL
LBB0_13:
	movl	64(%rsi), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rmsgpack_write_bool            ## TAILCALL
LBB0_14:
	movl	40(%rsi), %edx
	movl	44(%rsi), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rmsgpack_write_bin             ## TAILCALL
LBB0_15:
	movq	%rsi, %r14
	movl	8(%rsi), %esi
	movq	%rbx, %rdi
	callq	_rmsgpack_write_array_header
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_23
## %bb.16:
	cmpl	$0, 8(%r14)
	je	LBB0_23
## %bb.17:
	movq	%r14, %rax
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	16(%rax), %rsi
	addq	%r14, %rsi
	movq	%r15, %rdi
	callq	_rmsgpack_dom_write
	testl	%eax, %eax
	js	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	addl	%eax, %r12d
	incq	%r13
	movl	8(%rbx), %eax
	addq	$72, %r14
	cmpq	%rax, %r13
	movq	%rbx, %rax
	jb	LBB0_18
	jmp	LBB0_23
LBB0_22:
	movl	%eax, %r12d
	jmp	LBB0_23
LBB0_21:
	movl	%ebx, %r12d
LBB0_23:
	movl	%r12d, %eax
	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_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rmsgpack_dom_write             ; -- Begin function rmsgpack_dom_write
	.p2align	2
_rmsgpack_dom_write:                    ; @rmsgpack_dom_write
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w1, [x20, #56]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rmsgpack_write_uint
LBB0_3:
	mov	w21, #0
	b	LBB0_22
LBB0_4:
	ldp	w2, w1, [x20, #48]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rmsgpack_write_string
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rmsgpack_write_nil
LBB0_6:
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_rmsgpack_write_map_header
	mov	x21, x0
	tbnz	w0, #31, LBB0_22
; %bb.7:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_22
; %bb.8:
	mov	x23, #0
	mov	w24, #72
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	add	x1, x8, x24
	mov	x0, x19
	bl	_rmsgpack_dom_write
	mov	x22, x0
	tbnz	w0, #31, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #32]
	add	x8, x8, x24
	sub	x1, x8, #72
	mov	x0, x19
	bl	_rmsgpack_dom_write
	tbnz	w0, #31, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w8, w22, w21
	add	w21, w8, w0
	add	x23, x23, #1
	ldr	w8, [x20, #24]
	add	x24, x24, #144
	cmp	x23, x8
	b.lo	LBB0_9
	b	LBB0_22
LBB0_12:
	ldr	w1, [x20, #60]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rmsgpack_write_int
LBB0_13:
	ldr	w1, [x20, #64]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rmsgpack_write_bool
LBB0_14:
	ldp	w2, w1, [x20, #40]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rmsgpack_write_bin
LBB0_15:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_rmsgpack_write_array_header
	mov	x21, x0
	tbnz	w0, #31, LBB0_22
; %bb.16:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_22
; %bb.17:
	mov	x22, #0
	mov	x23, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x1, x8, x22
	mov	x0, x19
	bl	_rmsgpack_dom_write
	tbnz	w0, #31, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	w21, w0, w21
	add	x23, x23, #1
	ldr	w8, [x20, #8]
	add	x22, x22, #72
	cmp	x23, x8
	b.lo	LBB0_18
	b	LBB0_22
LBB0_20:
	mov	x21, x0
	b	LBB0_22
LBB0_21:
	mov	x21, x22
LBB0_22:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
