	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_memcache_create
_test_memcache_create:                  ## @test_memcache_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	%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	%rdi, %r15
	movq	_p@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	-48(%rbp), %rcx
	movl	$10, %esi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	callq	_apr_memcache_create
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r12
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	sete	%dl
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	addq	%r14, %r13
	movq	_HOST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	$60
	callq	_apr_memcache_server_create
	addq	$16, %rsp
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	sete	%dl
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_ABTS_ASSERT
	movq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_apr_memcache_add_server
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	sete	%dl
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_ABTS_ASSERT
	movq	-48(%rbp), %rdi
	movl	(%rbx), %esi
	movq	%r13, %rdx
	callq	_apr_memcache_find_server
	movq	%rax, %rbx
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_ABTS_PTR_EQUAL
	movq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_apr_memcache_disable_server
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	sete	%dl
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_ABTS_ASSERT
	movq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_apr_memcache_enable_server
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	sete	%dl
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_ABTS_ASSERT
	movq	-48(%rbp), %r13
	movq	_prefix@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_apr_memcache_hash
	movq	%rax, %rbx
	xorl	%edx, %edx
	testq	%rax, %rax
	setg	%dl
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_ABTS_ASSERT
	movq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_apr_memcache_find_server_hash
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ABTS_PTR_NOTNULL
	incq	%r14
	cmpq	$11, %r14
	jne	LBB0_1
## %bb.2:
	movq	_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	$60
	callq	_apr_memcache_server_create
	addq	$16, %rsp
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	sete	%dl
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	movq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_apr_memcache_add_server
	xorl	%edx, %edx
	cmpq	(%r12), %rax
	setne	%dl
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_ABTS_ASSERT
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_p,8,3                          ## @p
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache create failed"

	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.comm	_PORT,8,3                       ## @PORT
	.comm	_HOST,4,2                       ## @HOST
L_.str.1:                               ## @.str.1
	.asciz	"server create failed"

L_.str.2:                               ## @.str.2
	.asciz	"server add failed"

L_.str.3:                               ## @.str.3
	.asciz	"server disable failed"

L_.str.4:                               ## @.str.4
	.asciz	"server enable failed"

	.comm	_prefix,4,2                     ## @prefix
L_.str.5:                               ## @.str.5
	.asciz	"hash failed"

L_.str.6:                               ## @.str.6
	.asciz	"server add should have failed"

	.no_dead_strip	_test_memcache_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_memcache_create
_test_memcache_create:                  ; @test_memcache_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _p@GOTPAGE
Lloh1:
	ldr	x8, [x8, _p@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	w1, #10
	mov	w2, #0
	bl	_apr_memcache_create
Lloh3:
	adrp	x28, _APR_SUCCESS@GOTPAGE
Lloh4:
	ldr	x28, [x28, _APR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w2, eq
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ABTS_ASSERT
	mov	w21, #1
Lloh7:
	adrp	x22, _HOST@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HOST@GOTPAGEOFF]
Lloh9:
	adrp	x24, l_.str.4@PAGE
Lloh10:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh11:
	adrp	x23, _prefix@GOTPAGE
Lloh12:
	ldr	x23, [x23, _prefix@GOTPAGEOFF]
Lloh13:
	adrp	x25, l_.str.5@PAGE
Lloh14:
	add	x25, x25, l_.str.5@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
Lloh15:
	adrp	x8, _PORT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PORT@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x26, x21, x8
	ldr	w1, [x22]
	mov	x7, sp
	mov	x0, x20
	mov	x2, x26
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #60
	bl	_apr_memcache_server_create
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w2, eq
	mov	x0, x19
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ABTS_ASSERT
	ldp	x1, x0, [sp]
	bl	_apr_memcache_add_server
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w2, eq
	mov	x0, x19
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ABTS_ASSERT
	ldr	x0, [sp, #8]
	ldr	w1, [x22]
	mov	x2, x26
	bl	_apr_memcache_find_server
	mov	x26, x0
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, x26
	bl	_ABTS_PTR_EQUAL
	ldr	x0, [sp, #8]
	mov	x1, x26
	bl	_apr_memcache_disable_server
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w2, eq
	mov	x0, x19
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_ABTS_ASSERT
	ldr	x0, [sp, #8]
	mov	x1, x26
	bl	_apr_memcache_enable_server
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w2, eq
	mov	x0, x19
	mov	x1, x24
	bl	_ABTS_ASSERT
	ldr	x26, [sp, #8]
	ldr	w27, [x23]
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
	mov	x0, x26
	mov	x1, x27
	bl	_apr_memcache_hash
	mov	x26, x0
	cmp	x0, #0
	cset	w2, gt
	mov	x0, x19
	mov	x1, x25
	bl	_ABTS_ASSERT
	ldr	x0, [sp, #8]
	mov	x1, x26
	bl	_apr_memcache_find_server_hash
	mov	x1, x0
	mov	x0, x19
	bl	_ABTS_PTR_NOTNULL
	add	x21, x21, #1
	cmp	x21, #11
	b.ne	LBB0_1
; %bb.2:
	ldr	w1, [x22]
Lloh24:
	adrp	x8, _PORT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PORT@GOTPAGEOFF]
Lloh26:
	ldr	x2, [x8]
	mov	x7, sp
	mov	x0, x20
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #60
	bl	_apr_memcache_server_create
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w2, eq
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ABTS_ASSERT
	ldp	x1, x0, [sp]
	bl	_apr_memcache_add_server
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w2, ne
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_ABTS_ASSERT
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_p,8,3                          ; @p
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache create failed"

	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.comm	_PORT,8,3                       ; @PORT
	.comm	_HOST,4,2                       ; @HOST
l_.str.1:                               ; @.str.1
	.asciz	"server create failed"

l_.str.2:                               ; @.str.2
	.asciz	"server add failed"

l_.str.3:                               ; @.str.3
	.asciz	"server disable failed"

l_.str.4:                               ; @.str.4
	.asciz	"server enable failed"

	.comm	_prefix,4,2                     ; @prefix
l_.str.5:                               ; @.str.5
	.asciz	"hash failed"

l_.str.6:                               ; @.str.6
	.asciz	"server add should have failed"

	.no_dead_strip	_test_memcache_create
.subsections_via_symbols
