	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bdx_rxdb_create
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4294967291                      ## 0xfffffffb
	.long	4294967291                      ## 0xfffffffb
	.long	4294967291                      ## 0xfffffffb
	.long	4294967291                      ## 0xfffffffb
LCPI0_2:
	.long	4294967287                      ## 0xfffffff7
	.long	4294967287                      ## 0xfffffff7
	.long	4294967287                      ## 0xfffffff7
	.long	4294967287                      ## 0xfffffff7
LCPI0_3:
	.long	4294967283                      ## 0xfffffff3
	.long	4294967283                      ## 0xfffffff3
	.long	4294967283                      ## 0xfffffff3
	.long	4294967283                      ## 0xfffffff3
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bdx_rxdb_create:                       ## @bdx_rxdb_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	leal	24(,%r14,8), %edi
	callq	_vmalloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movslq	%r14d, %rcx
	leaq	24(%rbx), %rax
	movq	%rax, (%rbx)
	leaq	(%rbx,%rcx,4), %rcx
	addq	$24, %rcx
	movq	%rcx, 16(%rbx)
	movl	%r14d, 8(%rbx)
	movl	%r14d, 12(%rbx)
	testl	%r14d, %r14d
	jle	LBB0_13
## %bb.2:
	movl	%r14d, %ecx
	cmpl	$8, %r14d
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_4:
	movl	%ecx, %edx
	andl	$-8, %edx
	movd	%r14d, %xmm0
	pshufd	$0, %xmm0, %xmm2                ## xmm2 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	%r8, %rdi
	andq	$-2, %rdi
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [0,1,2,3]
	xorl	%esi, %esi
	pcmpeqd	%xmm8, %xmm8
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [4294967291,4294967291,4294967291,4294967291]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [4294967287,4294967287,4294967287,4294967287]
	movdqa	LCPI0_3(%rip), %xmm5            ## xmm5 = [4294967283,4294967283,4294967283,4294967283]
	movdqa	LCPI0_4(%rip), %xmm6            ## xmm6 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm7
	pxor	%xmm8, %xmm7
	paddd	%xmm2, %xmm7
	movdqa	%xmm2, %xmm0
	psubd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm3
	paddd	%xmm9, %xmm3
	movdqu	%xmm7, 24(%rbx,%rsi,4)
	movdqu	%xmm3, 40(%rbx,%rsi,4)
	movdqa	%xmm0, %xmm3
	paddd	%xmm4, %xmm3
	paddd	%xmm5, %xmm0
	movdqu	%xmm3, 56(%rbx,%rsi,4)
	movdqu	%xmm0, 72(%rbx,%rsi,4)
	addq	$16, %rsi
	paddd	%xmm6, %xmm1
	addq	$-2, %rdi
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	pcmpeqd	%xmm0, %xmm0
	pxor	%xmm1, %xmm0
	paddd	%xmm2, %xmm0
	psubd	%xmm1, %xmm2
	paddd	LCPI0_1(%rip), %xmm2
	movdqu	%xmm0, (%rax,%rsi,4)
	movdqu	%xmm2, 16(%rax,%rsi,4)
LBB0_10:
	cmpq	%rcx, %rdx
	je	LBB0_13
LBB0_11:
	movl	%edx, %esi
	notl	%esi
	addl	%r14d, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, (%rax,%rdx,4)
	incq	%rdx
	decl	%esi
	cmpq	%rdx, %rcx
	jne	LBB0_12
LBB0_13:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [0,1,2,3]
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bdx_rxdb_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function bdx_rxdb_create
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bdx_rxdb_create:                       ; @bdx_rxdb_create
	.cfi_startproc
; %bb.0:
	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
	mov	x20, x0
	lsl	w8, w0, #3
	add	w0, w8, #24
	bl	_vmalloc
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_9
; %bb.1:
	add	x8, x19, #24
	str	x8, [x19]
	add	x8, x8, w20, sxtw #2
	str	x8, [x19, #16]
	stp	w20, w20, [x19, #8]
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.2:
	mov	w8, w20
	cmp	w20, #16
	b.hs	LBB0_4
; %bb.3:
	mov	x9, #0
	b	LBB0_7
LBB0_4:
	and	x9, x8, #0xfffffff0
	dup.4s	v0, w20
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x10, lCPI0_0@PAGEOFF]
	add	x10, x19, #72
	mvni.4s	v2, #4
	mvni.4s	v3, #8
	mvni.4s	v4, #12
	movi.4s	v5, #16
	mov	x11, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mvn.16b	v6, v1
	add.4s	v6, v0, v6
	sub.4s	v7, v0, v1
	add.4s	v16, v7, v2
	add.4s	v17, v7, v3
	add.4s	v7, v7, v4
	stp	q6, q16, [x10, #-48]
	stp	q17, q7, [x10, #-16]
	add.4s	v1, v1, v5
	add	x10, x10, #64
	subs	x11, x11, #16
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_7:
	mvn	w10, w9
	add	w10, w10, w20
	add	x11, x19, x9, lsl #2
	add	x11, x11, #24
	sub	x8, x8, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	w10, [x11], #4
	sub	w10, w10, #1
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bdx_rxdb_create
.subsections_via_symbols
