	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_filepath_list_merge_impl   ## -- Begin function apr_filepath_list_merge_impl
	.p2align	4, 0x90
_apr_filepath_list_merge_impl:          ## @apr_filepath_list_merge_impl
	.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
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	cmpl	$8, (%rsi)
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movl	4(%rsi), %r15d
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.3:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r13
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14,8), %rdi
	callq	_strlen
	addq	%rax, %rbx
	incq	%r14
	cmpq	%r14, %r15
	jne	LBB0_4
## %bb.5:
	testq	%rbx, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_6
## %bb.7:
	decl	%r15d
	leaq	(%rbx,%r15), %rsi
	incq	%rsi
	callq	_apr_palloc
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r12)
	movl	4(%r14), %r15d
	testl	%r15d, %r15d
	jle	LBB0_16
## %bb.8:
	movq	8(%r14), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_memcpy
	addq	%r13, %rbx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %ebx
	cmpl	$2, %ebx
	jge	LBB0_12
	jmp	LBB0_16
LBB0_1:
	movq	_APR_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_6:
	movq	$0, (%r12)
	jmp	LBB0_17
LBB0_9:
	movl	%r15d, %ebx
	cmpl	$2, %ebx
	jl	LBB0_16
LBB0_12:
	movl	$1, %r15d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r15
	movslq	%ebx, %rax
	cmpq	%rax, %r15
	jge	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %r12
	movq	%r12, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	1(%rbx), %rdi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movb	%al, (%rbx)
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	addq	%r13, %rbx
	incq	%rbx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %ebx
	jmp	LBB0_15
LBB0_16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax)
LBB0_17:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_EINVAL,4,2                 ## @APR_EINVAL
	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_filepath_list_merge_impl   ; -- Begin function apr_filepath_list_merge_impl
	.p2align	2
_apr_filepath_list_merge_impl:          ; @apr_filepath_list_merge_impl
	.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
	ldr	w8, [x1]
	cmp	w8, #8
	b.ne	LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x22, x0
	ldr	w23, [x1, #4]
	cmp	w23, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x21, x3
	mov	x19, x2
	mov	x24, #0
	ldr	x25, [x20, #8]
	mov	x26, x23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25], #8
	bl	_strlen
	add	x24, x0, x24
	subs	x26, x26, #1
	b.ne	LBB0_3
; %bb.4:
	cbz	x24, LBB0_14
; %bb.5:
	sub	w8, w23, #1
	add	x8, x24, x8
	add	x1, x8, #1
	mov	x0, x21
	bl	_apr_palloc
	mov	x21, x0
	str	x0, [x22]
	ldr	w24, [x20, #4]
	cmp	w24, #1
	b.lt	LBB0_15
; %bb.6:
	ldr	x8, [x20, #8]
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	cbz	x0, LBB0_8
; %bb.7:
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	add	x21, x21, x23
	ldr	w24, [x20, #4]
LBB0_8:
	cmp	w24, #2
	b.lt	LBB0_15
; %bb.9:
	mov	w25, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x25, #1
	cmp	x25, w24, sxtw
	b.ge	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x22, [x8, x25, lsl #3]
	mov	x0, x22
	bl	_strlen
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x23, x0
	strb	w19, [x21], #1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	add	x21, x21, x23
	ldr	w24, [x20, #4]
	b	LBB0_10
LBB0_13:
Lloh0:
	adrp	x8, _APR_EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_EINVAL@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
	str	xzr, [x22]
	b	LBB0_16
LBB0_15:
	strb	wzr, [x21]
LBB0_16:
Lloh2:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_EINVAL,4,2                 ; @APR_EINVAL
	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
.subsections_via_symbols
