	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output
_output:                                ## @output
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	callq	_size2int_sat
	movq	_out_chars@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	addq	$2, %rcx
	movq	%rcx, (%r13)
	movq	_out_linecount@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %rbx
	leaq	(%rbx,%rcx), %rax
	addq	$2, %rax
	movq	_MAXOUTLINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movl	$2, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
	movq	_out_linecount@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_5
LBB0_1:
	movslq	%eax, %rbx
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movl	$2, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_fwrite
	movq	_out_linecount@GOTPCREL(%rip), %rax
	addq	$2, (%rax)
LBB0_5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_fputs
	movl	$61, %edi
	movq	%r12, %rsi
	callq	_putc
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_fputs
	addq	%rbx, (%r13)
	movq	_out_linecount@GOTPCREL(%rip), %rax
	addq	%rbx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_out_chars,8,3                  ## @out_chars
	.comm	_out_linecount,8,3              ## @out_linecount
	.comm	_MAXOUTLINE,8,3                 ## @MAXOUTLINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",\n"

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

	.no_dead_strip	_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output
_output:                                ; @output
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_strlen
	mov	x22, x0
	mov	x0, x19
	bl	_strlen
	add	x8, x22, x0
	add	x0, x8, #1
	bl	_size2int_sat
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x23, _out_chars@GOTPAGE
Lloh1:
	ldr	x23, [x23, _out_chars@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x22, _out_linecount@GOTPAGE
Lloh3:
	ldr	x22, [x22, _out_linecount@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	add	x8, x8, #2
	str	x8, [x23]
	ldr	x8, [x22]
	sxtw	x24, w0
	add	x8, x24, x8
	add	x8, x8, #2
Lloh4:
	adrp	x9, _MAXOUTLINE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MAXOUTLINE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	mov	x3, x20
	bl	_fwrite
	str	xzr, [x22]
	b	LBB0_5
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x24, w0
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #2
	mov	w2, #1
	mov	x3, x20
	bl	_fwrite
	ldr	x8, [x22]
	add	x8, x8, #2
	str	x8, [x22]
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	bl	_fputs
	mov	w0, #61
	mov	x1, x20
	bl	_putc
	mov	x0, x19
	mov	x1, x20
	bl	_fputs
	ldr	x8, [x23]
	add	x8, x8, x24
	str	x8, [x23]
	ldr	x8, [x22]
	add	x8, x8, x24
	str	x8, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_out_chars,8,3                  ; @out_chars
	.comm	_out_linecount,8,3              ; @out_linecount
	.comm	_MAXOUTLINE,8,3                 ; @MAXOUTLINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",\n"

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

	.no_dead_strip	_output
.subsections_via_symbols
