	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_log_init_child             ## -- Begin function fpm_log_init_child
	.p2align	4, 0x90
_fpm_log_init_child:                    ## @fpm_log_init_child
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.3:
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_strdup
	movq	_fpm_log_format@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_6:
	movq	_fpm_log_fd@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:
	movl	(%r15), %eax
	movl	%eax, (%r12)
LBB0_8:
	movq	_fpm_worker_all_pools@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	testl	%edi, %edi
	js	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	%eax, %edi
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_close
	movl	$-1, (%rbx)
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r12), %eax
	jmp	LBB0_9
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_log_format,4,2             ## @fpm_log_format
	.comm	_fpm_log_fd,4,2                 ## @fpm_log_fd
	.comm	_fpm_worker_all_pools,8,3       ## @fpm_worker_all_pools
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_log_init_child             ; -- Begin function fpm_log_init_child
	.p2align	2
_fpm_log_init_child:                    ; @fpm_log_init_child
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_15
; %bb.2:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.3:
	ldr	x9, [x9]
	cbz	x9, LBB0_6
; %bb.4:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_strdup
Lloh0:
	adrp	x8, _fpm_log_format@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpm_log_format@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
LBB0_6:
Lloh3:
	adrp	x20, _fpm_log_fd@GOTPAGE
Lloh4:
	ldr	x20, [x20, _fpm_log_fd@GOTPAGEOFF]
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x19]
	str	w8, [x20]
LBB0_8:
Lloh5:
	adrp	x9, _fpm_worker_all_pools@GOTPAGE
Lloh6:
	ldr	x9, [x9, _fpm_worker_all_pools@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x9]
	cbz	x19, LBB0_14
; %bb.9:
	mov	w21, #-1
	ldr	w0, [x19]
	tbz	w0, #31, LBB0_11
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x20]
	ldr	w0, [x19]
	tbnz	w0, #31, LBB0_13
LBB0_11:
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.12:
	bl	_close
	str	w21, [x19]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_10
LBB0_14:
	mov	w0, #0
	b	LBB0_16
LBB0_15:
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_log_format,4,2             ; @fpm_log_format
	.comm	_fpm_log_fd,4,2                 ; @fpm_log_fd
	.comm	_fpm_worker_all_pools,8,3       ; @fpm_worker_all_pools
.subsections_via_symbols
