	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MCWriteCat                     ## -- Begin function MCWriteCat
	.p2align	4, 0x90
_MCWriteCat:                            ## @MCWriteCat
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	movq	_sethead@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	movq	16(%r12), %r12
	testq	%r12, %r12
	je	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%r13d
	movl	4(%rbx), %edi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r15d
	incl	%r15d
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rax), %r13d
	leal	(%r15,%r13), %ebx
	addl	$40, %ebx
	movl	%ebx, %edi
	callq	_xmalloc
	movq	%rax, %r12
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_memset
	movq	__NLS_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movq	%rax, 32(%r12)
	movl	%r14d, %edi
	callq	_htonl
	movq	%rax, 24(%r12)
	addl	%r13d, %r15d
	movl	%r15d, %edi
	callq	_htonl
	movq	%rax, 16(%r12)
	movl	%ebx, %edi
	callq	_htonl
	movq	%rax, 8(%r12)
	movl	%r13d, %edi
	callq	_htonl
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r12)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	_sethead@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_14
## %bb.8:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %rbx
	addq	$40, %rbx
	movq	%rax, %r15
	addq	$40, %r15
	addq	%rbx, %r12
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edi
	callq	_htonl
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, 16(%r15)
	movl	%r14d, %edi
	callq	_htonl
	movq	%rax, 8(%r15)
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_htonl
	movq	%rax, (%r15)
	addl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	addq	$24, %r15
	movq	16(%r13), %r13
	testq	%r13, %r13
	je	LBB0_14
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %r15
	testq	%r15, %r15
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	4(%r15), %edi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	1(%rax), %r14d
	movl	(%r15), %edi
	callq	_htonl
	movq	%rax, 16(%rbx)
	movl	%r14d, %edi
	callq	_htonl
	movq	%rax, 8(%rbx)
	movl	%r13d, %edi
	callq	_htonl
	movq	%rax, (%rbx)
	movl	4(%r15), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	callq	_memcpy
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	addq	%rax, %r12
	incq	%r12
	addl	%eax, %r13d
	incl	%r13d
	incl	%r14d
	addq	$24, %rbx
	movq	8(%r15), %r15
	testq	%r15, %r15
	jne	LBB0_12
	jmp	LBB0_13
LBB0_14:
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sethead,8,3                    ## @sethead
	.comm	__NLS_MAGIC,4,2                 ## @_NLS_MAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MCWriteCat                     ; -- Begin function MCWriteCat
	.p2align	2
_MCWriteCat:                            ; @MCWriteCat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x19, _sethead@GOTPAGE
Lloh1:
	ldr	x19, [x19, _sethead@GOTPAGEOFF]
	ldr	x23, [x19]
	cbz	x23, LBB0_5
; %bb.1:
	mov	w22, #0
	mov	w21, #0
	mov	w20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x24, [x23, #8]
	cbz	x24, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w21, w21, #1
	ldr	w0, [x24, #4]
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
	ldr	x24, [x24, #8]
	cbnz	x24, LBB0_4
	b	LBB0_2
LBB0_5:
	mov	w20, #0
	mov	w21, #0
	mov	w22, #0
LBB0_6:
	mov	w8, #24
	umull	x24, w22, w8
	smull	x26, w21, w8
	add	w23, w24, w26
	add	w25, w20, w23
	add	w20, w25, #40
	mov	x0, x20
	bl	_xmalloc
	mov	x21, x0
	mov	w1, #0
	str	w20, [sp, #8]                   ; 4-byte Folded Spill
	mov	x2, x20
	bl	_memset
Lloh2:
	adrp	x8, __NLS_MAGIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, __NLS_MAGIC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htonl
	str	x0, [x21, #32]
	mov	x0, x22
	bl	_htonl
	str	x0, [x21, #24]
	mov	x0, x25
	bl	_htonl
	str	x0, [x21, #16]
	mov	x0, x24
	bl	_htonl
	str	x0, [x21, #8]
	mov	x0, x23
	bl	_htonl
	str	x0, [x21]
	ldr	x27, [x19]
	cbz	x27, LBB0_13
; %bb.7:
	mov	w22, #0
	mov	w23, #0
	add	x28, x21, #40
	add	x19, x28, x24
	add	x24, x19, x26
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w25, #0
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x27]
	bl	_htonl
	str	x0, [x28, #16]
	mov	x0, x25
	bl	_htonl
	str	x0, [x28, #8]
	mov	x0, x23
	bl	_htonl
	str	x0, [x28], #24
	add	w23, w25, w23
	ldr	x27, [x27, #16]
	cbz	x27, LBB0_13
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x20, [x27, #8]
	cbz	x20, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w25, #0
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x20, #4]
	bl	_strlen
	add	w26, w0, #1
	ldr	w0, [x20]
	bl	_htonl
	str	x0, [x19, #16]
	mov	x0, x26
	bl	_htonl
	str	x0, [x19, #8]
	mov	x0, x22
	bl	_htonl
	str	x0, [x19], #24
	ldr	w1, [x20, #4]
	mov	x0, x24
	mov	x2, x26
	bl	_memcpy
	add	w22, w26, w22
	add	w25, w25, #1
	ldr	x20, [x20, #8]
	add	x24, x24, w26, sxtw
	cbnz	x20, LBB0_12
	b	LBB0_9
LBB0_13:
	ldp	w2, w0, [sp, #8]                ; 8-byte Folded Reload
	mov	x1, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_sethead,8,3                    ; @sethead
	.comm	__NLS_MAGIC,4,2                 ; @_NLS_MAGIC
.subsections_via_symbols
