	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flushqueue_signal              ## -- Begin function flushqueue_signal
	.p2align	4, 0x90
_flushqueue_signal:                     ## @flushqueue_signal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -24(%rbp)
	movq	_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SPOOL_FLUSHFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdi
	callq	_asprintf
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_4
## %bb.1:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_WRONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	-24(%rbp), %rdi
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	$432, %edx                      ## imm = 0x1B0
	callq	_open
	movl	%eax, %ebx
	movq	-24(%rbp), %rdi
	callq	_free
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.3:
	movl	%ebx, %edi
	callq	_close
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_syslog
LBB0_4:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

	.comm	_config,4,2                     ## @config
	.comm	_SPOOL_FLUSHFILE,4,2            ## @SPOOL_FLUSHFILE
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"could not open flush file: %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flushqueue_signal              ; -- Begin function flushqueue_signal
	.p2align	2
_flushqueue_signal:                     ; @flushqueue_signal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _SPOOL_FLUSHFILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPOOL_FLUSHFILE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldr	x0, [sp, #8]
Lloh8:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w2, #432
	bl	_open
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_free
	tbnz	w19, #31, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_close
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh17:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

	.comm	_config,4,2                     ; @config
	.comm	_SPOOL_FLUSHFILE,4,2            ; @SPOOL_FLUSHFILE
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"could not open flush file: %m"

.subsections_via_symbols
