	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_make_new
_search_make_new:                       ## @search_make_new
	.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
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_strlen
	movq	(%r12), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.1:
	movq	%rax, %r14
	movb	-1(%rax,%r15), %al
	incl	%ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_2
LBB0_9:
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_EVUTIL_ASSERT
	jmp	LBB0_10
LBB0_3:
	xorl	%ebx, %ebx
	cmpb	$46, %al
	setne	%bl
	movslq	(%r13), %rcx
	leaq	(%r14,%rbx), %rdx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx), %rdi
	incq	%rdi
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	callq	_mm_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	addq	$16, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	cmpb	$46, -41(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movb	$46, (%r12,%r14)
LBB0_7:
	movq	%r12, %rdi
	addq	%r14, %rdi
	addq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%r12,%rax)
	jmp	LBB0_10
LBB0_4:
	xorl	%r12d, %r12d
LBB0_10:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_search_make_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_make_new
_search_make_new:                       ; @search_make_new
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x2
	bl	_strlen
	ldr	x19, [x19]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x8, x0, x21
	ldurb	w24, [x8, #-1]
	add	w8, w22, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	subs	w8, w8, #1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_2
LBB0_4:
	mov	w0, #0
	bl	_EVUTIL_ASSERT
	mov	x22, #0
	b	LBB0_9
LBB0_5:
	cmp	w24, #46
	cset	w26, ne
	ldrsw	x23, [x19], #16
	cinc	x8, x20, ne
	add	x25, x8, x23
	add	x0, x25, #1
	bl	_mm_malloc
	mov	x22, x0
	cbz	x0, LBB0_9
; %bb.6:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	cmp	w24, #46
	b.eq	LBB0_8
; %bb.7:
	mov	w8, #46
	strb	w8, [x22, x20]
LBB0_8:
	add	x8, x22, x20
	add	x0, x8, x26
	mov	x1, x19
	mov	x2, x23
	bl	_memcpy
	strb	wzr, [x22, x25]
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_search_make_new
.subsections_via_symbols
