	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imsg_composev                  ## -- Begin function imsg_composev
	.p2align	4, 0x90
_imsg_composev:                         ## @imsg_composev
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rdi, %r13
	movl	16(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.1:
	movq	%r9, %r15
	movl	%eax, %r14d
	cmpl	$5, %eax
	jae	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	xorl	%r8d, %r8d
	jmp	LBB0_6
LBB0_14:
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	callq	_imsg_create
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_13
## %bb.15:
	movl	$-1, %r13d
	jmp	LBB0_16
LBB0_3:
	movl	%ebx, %r9d
	movl	%r14d, %eax
	andl	$3, %eax
	testq	%rax, %rax
	movl	$4, %edi
	cmovneq	%rax, %rdi
	movq	%r14, %rax
	subq	%rdi, %rax
	leaq	32(%r15), %rdi
	pxor	%xmm0, %xmm0
	movq	%rax, %rbx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-32(%rdi), %xmm2
	movdqu	-16(%rdi), %xmm3
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	paddd	%xmm2, %xmm0
	movdqu	(%rdi), %xmm2
	movdqu	16(%rdi), %xmm3
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	paddd	%xmm2, %xmm1
	addq	$64, %rdi
	addq	$-4, %rbx
	jne	LBB0_4
## %bb.5:
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %r8d
	movl	%r9d, %ebx
LBB0_6:
	movq	%r14, %rdi
	subq	%rax, %rdi
	shlq	$4, %rax
	addq	%r15, %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%rax), %r8d
	addq	$16, %rax
	decq	%rdi
	jne	LBB0_7
## %bb.8:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_imsg_create
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	movq	%rax, %r12
	addq	$8, %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	-8(%r15), %rdx
	movq	%r12, %rdi
	callq	_imsg_add
	cmpl	$-1, %eax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$16, %r15
	decq	%r14
	jne	LBB0_10
## %bb.12:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_13:
	movl	%ebx, (%r12)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_imsg_close
	movl	$1, %r13d
LBB0_16:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imsg_composev                  ; -- Begin function imsg_composev
	.p2align	2
_imsg_composev:                         ; @imsg_composev
	.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
	mov	x19, x4
	mov	x20, x0
	cmp	w6, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x5
	mov	w23, w6
	cmp	w6, #9
	b.hs	LBB0_4
; %bb.2:
	mov	x8, #0
	mov	w4, #0
	b	LBB0_7
LBB0_3:
	mov	x0, x20
	mov	w4, #0
	bl	_imsg_create
	mov	x22, x0
	cbnz	x0, LBB0_13
	b	LBB0_14
LBB0_4:
	ands	x8, x23, #0x7
	mov	w9, #8
	csel	x8, x9, x8, eq
	sub	x8, x23, x8
	movi.2d	v0, #0000000000000000
	add	x9, x21, #64
	mov	x10, x8
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x11, x9, #64
	ld2.2d	{ v4, v5 }, [x11]
	sub	x11, x9, #32
	ld2.2d	{ v6, v7 }, [x11]
	mov	x11, x9
	ld2.2d	{ v16, v17 }, [x11], #32
	ld2.2d	{ v18, v19 }, [x11]
	xtn.2s	v4, v4
	xtn.2s	v5, v6
	xtn.2s	v6, v16
	xtn.2s	v7, v18
	add.2s	v0, v0, v4
	add.2s	v1, v1, v5
	add.2s	v2, v2, v6
	add.2s	v3, v3, v7
	add	x9, x9, #128
	subs	x10, x10, #8
	b.ne	LBB0_5
; %bb.6:
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w4, s0
LBB0_7:
	add	x9, x21, x8, lsl #4
	sub	x8, x23, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #16
	add	w4, w4, w10
	subs	x8, x8, #1
	b.ne	LBB0_8
; %bb.9:
	mov	x0, x20
	bl	_imsg_create
	cbz	x0, LBB0_14
; %bb.10:
	mov	x22, x0
	add	x21, x21, #8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	ldur	x2, [x21, #-8]
	mov	x0, x22
	bl	_imsg_add
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #16
	subs	x23, x23, #1
	b.ne	LBB0_11
LBB0_13:
	str	w19, [x22]
	mov	x0, x20
	mov	x1, x22
	bl	_imsg_close
	mov	w0, #1
	b	LBB0_15
LBB0_14:
	mov	w0, #-1
LBB0_15:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
