	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait_for_pager
_wait_for_pager:                        ## @wait_for_pager
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	$1, %edi
	callq	_close
	movl	$2, %edi
	callq	_close
	movq	_pager_process@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_finish_command_in_signal       ## TAILCALL
LBB0_1:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	$1, %edi
	callq	_close
	movl	$2, %edi
	callq	_close
	movq	_pager_process@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_finish_command                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
	.comm	_pager_process,4,2              ## @pager_process
	.no_dead_strip	_wait_for_pager
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait_for_pager
_wait_for_pager:                        ; @wait_for_pager
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_close
	mov	w0, #2
	bl	_close
Lloh0:
	adrp	x0, _pager_process@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pager_process@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_finish_command_in_signal
LBB0_2:
Lloh2:
	adrp	x8, _stdout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_fflush
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_fflush
	mov	w0, #1
	bl	_close
	mov	w0, #2
	bl	_close
Lloh8:
	adrp	x0, _pager_process@GOTPAGE
Lloh9:
	ldr	x0, [x0, _pager_process@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_finish_command
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
	.comm	_pager_process,4,2              ; @pager_process
	.no_dead_strip	_wait_for_pager
.subsections_via_symbols
