	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpm_conf_expand_pool_name
_fpm_conf_expand_pool_name:             ## @fpm_conf_expand_pool_name
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.2:
	leaq	L_.str(%rip), %r14
	movq	_current_wp@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%rcx)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %r9
	addq	%rbx, %r9
	movb	$0, (%rbx)
	movq	(%r13), %rcx
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %r8d
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_spprintf
	movq	(%r13), %rdi
	callq	_free
	movq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, (%r13)
	movq	%r15, %rdi
	callq	_efree
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movl	$-1, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"$pool"

	.comm	_current_wp,8,3                 ## @current_wp
L_.str.1:                               ## @.str.1
	.asciz	"%s%s%s"

	.no_dead_strip	_fpm_conf_expand_pool_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpm_conf_expand_pool_name
_fpm_conf_expand_pool_name:             ; @fpm_conf_expand_pool_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_9
; %bb.2:
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x23, _current_wp@GOTPAGE
Lloh3:
	ldr	x23, [x23, _current_wp@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_strstr
	cbz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	mov	x0, x20
	bl	_strlen
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x5, x22, w0, sxtw
	strb	wzr, [x22]
	ldr	x3, [x19]
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	w1, #0
	mov	x2, x21
	bl	_spprintf
	ldr	x0, [x19]
	bl	_free
	ldr	x22, [sp, #8]
	mov	x0, x22
	bl	_strdup
	str	x0, [x19]
	mov	x0, x22
	bl	_efree
	ldr	x0, [x19]
	cbnz	x0, LBB0_3
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"$pool"

	.comm	_current_wp,8,3                 ; @current_wp
l_.str.1:                               ; @.str.1
	.asciz	"%s%s%s"

	.no_dead_strip	_fpm_conf_expand_pool_name
.subsections_via_symbols
