	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Con_Dump_f                     ## -- Begin function Con_Dump_f
	.p2align	4, 0x90
_Con_Dump_f:                            ## @Con_Dump_f
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_QPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.3:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_Q_strncpyz
	leaq	L_.str.1(%rip), %r14
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_COM_DefaultExtension
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_COM_CompareExtension
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_FS_FOpenFileWrite
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	_con@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	4(%r13), %esi
	movl	%ecx, %r15d
	subl	%esi, %r15d
	movq	8(%r13), %rdi
	movl	16(%r13), %r14d
	cmpl	%r15d, %ecx
	movl	%r15d, %ebx
	cmovgl	%ecx, %ebx
	leal	1(%rbx), %r8d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%r14d, %eax
	jne	LBB0_17
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	cmpl	%ecx, %r15d
	jge	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %r12d
	leal	1(%r12), %r15d
	movl	%r15d, %eax
	cltd
	idivl	%esi
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	imull	%r14d, %edx
	movslq	%edx, %rax
	leaq	(%rdi,%rax,2), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, (%rdx,%rax,2)
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %eax
	jmp	LBB0_16
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_27
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_27
LBB0_9:
	movl	%ebx, %r12d
	movl	%r8d, %r15d
LBB0_17:
	leal	2(%r14), %edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	callq	_Hunk_AllocateTempMemory
	movq	%rax, %rbx
	incl	%r14d
	movslq	%r14d, %rax
	movb	$0, (%rbx,%rax)
	cmpl	(%r13), %r12d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	jl	LBB0_18
LBB0_26:
	movq	%rbx, %rdi
	callq	_Hunk_FreeTempMemory
	movl	%r14d, %edi
	callq	_FS_FCloseFile
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	leaq	L_.str.5(%rip), %rdx
	callq	_Q_strcat
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_FS_Write
	leal	1(%r15), %eax
	cmpl	(%r13), %r15d
	movl	%eax, %r15d
	jge	LBB0_26
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
	movl	%r15d, %eax
	cltd
	idivl	4(%r13)
	movl	16(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	imull	%edx, %eax
	cltq
	addq	%rax, %rax
	addq	8(%r13), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax,%rcx,2), %edx
	movb	%dl, (%rbx,%rcx)
	incq	%rcx
	movslq	16(%r13), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%edx, %eax
	testl	%eax, %eax
	jle	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rax
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%rax), %ecx
	cmpb	$32, (%rbx,%rcx)
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	movb	$0, (%rbx,%rcx)
	decq	%rax
	cmpq	$1, %rax
	ja	LBB0_23
	jmp	LBB0_25
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QPATH,4,2                  ## @MAX_QPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: condump <filename>\n"

L_.str.1:                               ## @.str.1
	.asciz	".txt"

L_.str.2:                               ## @.str.2
	.asciz	"Con_Dump_f: Only the \".txt\" extension is supported by this command!\n"

L_.str.3:                               ## @.str.3
	.asciz	"ERROR: couldn't open %s.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Dumped console text to %s.\n"

	.comm	_con,24,3                       ## @con
L_.str.5:                               ## @.str.5
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Con_Dump_f                     ; -- Begin function Con_Dump_f
	.p2align	2
_Con_Dump_f:                            ; @Con_Dump_f
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_QPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_Cmd_Argc
	cmp	w0, #2
	b.ne	LBB0_12
; %bb.1:
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_Q_strncpyz
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_COM_DefaultExtension
	mov	x0, x20
	mov	x1, x21
	bl	_COM_CompareExtension
	cbz	w0, LBB0_14
; %bb.2:
	mov	x0, x20
	bl	_FS_FOpenFileWrite
	cbz	w0, LBB0_15
; %bb.3:
	mov	x19, x0
	str	x20, [sp, #-16]!
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #16
Lloh12:
	adrp	x23, _con@GOTPAGE
Lloh13:
	ldr	x23, [x23, _con@GOTPAGEOFF]
	ldp	w8, w9, [x23]
	ldr	x10, [x23, #8]
	ldr	w22, [x23, #16]
	sub	w24, w8, w9
	cmp	w8, w24
	csel	w11, w8, w24, gt
	add	w12, w11, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w13, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w13, w22
	b.ne	LBB0_17
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w24, w8
	b.ge	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x24
	add	w24, w24, #1
	cmp	w22, #1
	b.lt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x13, #0
	sdiv	w14, w24, w9
	msub	w14, w14, w9, w24
	mul	w14, w22, w14
	add	x14, x10, w14, sxtw #1
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x15, x13, #1
	ldrb	w15, [x14, x15]
	cmp	w15, #32
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x13, x13, #1
	cmp	x22, x13
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x13, x22
	b	LBB0_5
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.13:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_Com_Printf
LBB0_14:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_Printf
	b	LBB0_28
LBB0_15:
	str	x20, [sp, #-16]!
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #16
	b	LBB0_28
LBB0_16:
	mov	x25, x11
	mov	x24, x12
LBB0_17:
	add	w20, w22, #2
	mov	x0, x20
	bl	_Hunk_AllocateTempMemory
	mov	x21, x0
	add	w8, w22, #1
	strb	wzr, [x0, w8, sxtw]
	ldr	w8, [x23]
	cmp	w25, w8
	b.ge	LBB0_27
; %bb.18:
Lloh23:
	adrp	x22, l_.str.5@PAGE
Lloh24:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_Q_strcat
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_FS_Write
	add	w8, w24, #1
	ldr	w9, [x23]
	cmp	w24, w9
	mov	x24, x8
	b.ge	LBB0_27
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
	ldr	w9, [x23, #16]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x8, #0
	ldr	x10, [x23, #8]
	ldr	w11, [x23, #4]
	sdiv	w12, w24, w11
	msub	w11, w12, w11, w24
	mul	w9, w9, w11
	add	x9, x10, w9, sxtw #1
LBB0_22:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrh	w10, [x9, x8, lsl #1]
	strb	w10, [x21, x8]
	add	x8, x8, #1
	ldrsw	x10, [x23, #16]
	cmp	x8, x10
	b.lt	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	and	x8, x10, #0xffffffff
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x8, x8, #1
LBB0_25:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w9, w8, #2
	ldrb	w10, [x21, x9]
	cmp	w10, #32
	b.ne	LBB0_19
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	strb	wzr, [x21, x9]
	sub	x8, x8, #1
	cmp	x8, #1
	b.hi	LBB0_25
	b	LBB0_19
LBB0_27:
	mov	x0, x21
	bl	_Hunk_FreeTempMemory
	mov	x0, x19
	bl	_FS_FCloseFile
LBB0_28:
	ldur	x8, [x29, #-72]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QPATH,4,2                  ; @MAX_QPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: condump <filename>\n"

l_.str.1:                               ; @.str.1
	.asciz	".txt"

l_.str.2:                               ; @.str.2
	.asciz	"Con_Dump_f: Only the \".txt\" extension is supported by this command!\n"

l_.str.3:                               ; @.str.3
	.asciz	"ERROR: couldn't open %s.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Dumped console text to %s.\n"

	.comm	_con,24,3                       ; @con
l_.str.5:                               ; @.str.5
	.asciz	"\n"

.subsections_via_symbols
