	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HandleSlashCmds                ## -- Begin function HandleSlashCmds
	.p2align	4, 0x90
_HandleSlashCmds:                       ## @HandleSlashCmds
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_Assert
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_Assert
	movq	%r14, %rdi
	callq	_psql_scan_slash_command
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	callq	_exec_command
	movq	%rax, %r12
	movq	_PSQL_CMD_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %r15
	movq	%rbx, %rsi
	callq	_pg_log_error
	movq	_pset@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_pg_log_info
LBB0_3:
	movq	_PSQL_CMD_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_OT_WHOLE_LINE@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_PSQL_CMD_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_10
## %bb.5:
	movq	%rbx, %r15
	movq	_OT_WHOLE_LINE@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rdi
	callq	_free
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_psql_scan_slash_option
	testq	%rax, %rax
	jne	LBB0_7
## %bb.9:
	movq	%r15, %rbx
	jmp	LBB0_16
LBB0_10:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_conditional_active
	movl	%eax, %r13d
	movq	_IFSTATE_IGNORED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_conditional_stack_push
	movq	_OT_NORMAL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_psql_scan_slash_option
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	callq	_free
	movl	(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_psql_scan_slash_option
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_pg_log_warning
	jmp	LBB0_14
LBB0_15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_conditional_stack_pop
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_16:
	movq	%r14, %rdi
	callq	_psql_scan_slash_command_end
	movq	%rbx, %rdi
	callq	_free
	movq	_pset@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSQL_CMD_UNKNOWN,8,3           ## @PSQL_CMD_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid command \\%s"

	.comm	_pset,16,3                      ## @pset
L_.str.1:                               ## @.str.1
	.asciz	"Try \\? for help."

	.comm	_PSQL_CMD_ERROR,8,3             ## @PSQL_CMD_ERROR
	.comm	_IFSTATE_IGNORED,4,2            ## @IFSTATE_IGNORED
	.comm	_OT_NORMAL,4,2                  ## @OT_NORMAL
L_.str.2:                               ## @.str.2
	.asciz	"\\%s: extra argument \"%s\" ignored"

	.comm	_OT_WHOLE_LINE,4,2              ## @OT_WHOLE_LINE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HandleSlashCmds                ; -- Begin function HandleSlashCmds
	.p2align	2
_HandleSlashCmds:                       ; @HandleSlashCmds
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
	cmp	x22, #0
	cset	w0, ne
	bl	_Assert
	mov	x0, x19
	bl	_psql_scan_slash_command
	mov	x20, x0
	mov	x1, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	bl	_exec_command
Lloh0:
	adrp	x8, _PSQL_CMD_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSQL_CMD_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x26, _pset@GOTPAGE
Lloh4:
	ldr	x26, [x26, _pset@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pg_log_error
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_log_info
LBB0_3:
Lloh9:
	adrp	x8, _PSQL_CMD_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PSQL_CMD_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x21, [x8]
	b	LBB0_5
LBB0_4:
	mov	x21, x0
Lloh12:
	adrp	x8, _PSQL_CMD_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PSQL_CMD_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
LBB0_5:
Lloh15:
	adrp	x22, _OT_WHOLE_LINE@GOTPAGE
Lloh16:
	ldr	x22, [x22, _OT_WHOLE_LINE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_psql_scan_slash_option
	cbz	x0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_free
	b	LBB0_6
LBB0_8:
	mov	x0, x22
	bl	_conditional_active
	mov	x23, x0
Lloh17:
	adrp	x8, _IFSTATE_IGNORED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IFSTATE_IGNORED@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_conditional_stack_push
Lloh20:
	adrp	x27, _OT_NORMAL@GOTPAGE
Lloh21:
	ldr	x27, [x27, _OT_NORMAL@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_psql_scan_slash_option
	cbz	x0, LBB0_13
; %bb.9:
	mov	x25, x0
Lloh22:
	adrp	x24, l_.str.2@PAGE
Lloh23:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x25
	bl	_free
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_psql_scan_slash_option
	mov	x25, x0
	cbz	x0, LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cbz	w23, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x24
	mov	x1, x20
	mov	x2, x25
	bl	_pg_log_warning
	b	LBB0_10
LBB0_13:
	mov	x0, x22
	bl	_conditional_stack_pop
LBB0_14:
	mov	x0, x19
	bl	_psql_scan_slash_command_end
	mov	x0, x20
	bl	_free
	ldr	w0, [x26]
	bl	_fflush
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PSQL_CMD_UNKNOWN,8,3           ; @PSQL_CMD_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid command \\%s"

	.comm	_pset,16,3                      ; @pset
l_.str.1:                               ; @.str.1
	.asciz	"Try \\? for help."

	.comm	_PSQL_CMD_ERROR,8,3             ; @PSQL_CMD_ERROR
	.comm	_IFSTATE_IGNORED,4,2            ; @IFSTATE_IGNORED
	.comm	_OT_NORMAL,4,2                  ; @OT_NORMAL
l_.str.2:                               ; @.str.2
	.asciz	"\\%s: extra argument \"%s\" ignored"

	.comm	_OT_WHOLE_LINE,4,2              ; @OT_WHOLE_LINE
.subsections_via_symbols
