	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_add_members                ## -- Begin function bms_add_members
	.p2align	4, 0x90
_bms_add_members:                       ## @bms_add_members
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.2:
	movq	(%rsi), %rdi
	cmpq	%rdi, (%r15)
	jge	LBB0_6
## %bb.3:
	movq	%rsi, %rdi
	callq	_bms_copy
	movq	%rax, %r14
	movq	(%r15), %rdi
	movq	%r15, %rsi
	testl	%edi, %edi
	jg	LBB0_7
	jmp	LBB0_19
LBB0_4:
	movq	%rsi, %rdi
	jmp	_bms_copy                       ## TAILCALL
LBB0_6:
	movq	%r15, %r14
	testl	%edi, %edi
	jle	LBB0_19
LBB0_7:
	movq	8(%rsi), %rax
	movq	8(%r14), %rcx
	movl	%edi, %edx
	cmpq	$8, %rdx
	jb	LBB0_8
## %bb.9:
	leaq	(%rax,%rdx,4), %rsi
	cmpq	%rsi, %rcx
	jae	LBB0_12
## %bb.10:
	leaq	(%rcx,%rdx,4), %rsi
	cmpq	%rsi, %rax
	jae	LBB0_12
LBB0_8:
	xorl	%esi, %esi
LBB0_15:
	subl	%esi, %edi
	movq	%rsi, %r8
	notq	%r8
	addq	%rdx, %r8
	andq	$3, %rdi
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rsi,4), %ebx
	orl	%ebx, (%rcx,%rsi,4)
	incq	%rsi
	decq	%rdi
	jne	LBB0_16
LBB0_17:
	cmpq	$3, %r8
	jb	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rsi,4), %edi
	orl	%edi, (%rcx,%rsi,4)
	movl	4(%rax,%rsi,4), %edi
	orl	%edi, 4(%rcx,%rsi,4)
	movl	8(%rax,%rsi,4), %edi
	orl	%edi, 8(%rcx,%rsi,4)
	movl	12(%rax,%rsi,4), %edi
	orl	%edi, 12(%rcx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_18
	jmp	LBB0_19
LBB0_12:
	movl	%edi, %r8d
	andl	$7, %r8d
	movq	%rdx, %rsi
	subq	%r8, %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rbx,4), %xmm0
	movups	16(%rax,%rbx,4), %xmm1
	movups	(%rcx,%rbx,4), %xmm2
	orps	%xmm0, %xmm2
	movups	16(%rcx,%rbx,4), %xmm0
	orps	%xmm1, %xmm0
	movups	%xmm2, (%rcx,%rbx,4)
	movups	%xmm0, 16(%rcx,%rbx,4)
	addq	$8, %rbx
	cmpq	%rbx, %rsi
	jne	LBB0_13
## %bb.14:
	testq	%r8, %r8
	jne	LBB0_15
LBB0_19:
	cmpq	%r15, %r14
	je	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	_pfree
	jmp	LBB0_22
LBB0_21:
	movq	%r15, %r14
LBB0_22:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	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	_bms_add_members                ; -- Begin function bms_add_members
	.p2align	2
_bms_add_members:                       ; @bms_add_members
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_remember_state
	mov	x19, x0
	cbz	x1, LBB0_16
; %bb.2:
	ldr	x8, [x19]
	ldr	x11, [x1]
	cmp	x8, x11
	b.ge	LBB0_5
; %bb.3:
	mov	x0, x1
	bl	_bms_copy
	mov	x20, x0
	ldr	w11, [x19]
	mov	x1, x19
	cmp	w11, #1
	b.ge	LBB0_6
	b	LBB0_14
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	x0, x1
	b	_bms_copy
LBB0_5:
	.cfi_restore_state
	mov	x20, x19
	cmp	w11, #1
	b.lt	LBB0_14
LBB0_6:
	ldr	x8, [x1, #8]
	ldr	x10, [x20, #8]
	and	x9, x11, #0xffffffff
	cmp	x9, #16
	b.lo	LBB0_11
; %bb.7:
	lsl	x12, x9, #2
	add	x13, x10, x12
	add	x12, x8, x12
	cmp	x10, x12
	ccmp	x8, x13, #2, lo
	b.lo	LBB0_11
; %bb.8:
	and	x12, x11, #0xf
	sub	x11, x9, x12
	add	x13, x10, #32
	add	x14, x8, #32
	mov	x15, x11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14], #64
	ldp	q4, q5, [x13, #-32]
	ldp	q6, q7, [x13]
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x15, x15, #16
	b.ne	LBB0_9
; %bb.10:
	cbnz	x12, LBB0_12
	b	LBB0_14
LBB0_11:
	mov	x11, #0
LBB0_12:
	lsl	x12, x11, #2
	add	x10, x10, x12
	add	x8, x8, x12
	sub	x9, x9, x11
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8], #4
	ldr	w12, [x10]
	orr	w11, w12, w11
	str	w11, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_13
LBB0_14:
	cmp	x20, x19
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_pfree
	b	LBB0_17
LBB0_16:
	mov	x20, x19
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
