	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chargen_stream
_chargen_stream:                        ## @chargen_stream
	.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	%rsi, %r14
	movl	%edi, %ebx
	movq	_LINESIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%r14), %edi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_inetd_setproctitle
	movq	_endring@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_initring
LBB0_2:
	movq	_LINESIZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	movw	$2573, (%r12,%rdx)              ## imm = 0xA0D
	movq	_ring@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rbx
	subq	%rsi, %rbx
	cmpl	%ebx, %edx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edx
	callq	_memmove
	movslq	%ebx, %rdi
	addq	%r12, %rdi
	movq	(%r13), %rsi
	movq	_LINESIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subl	%ebx, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_memmove
	movq	(%r14), %r14
	movq	%r13, %r15
	movq	(%r13), %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %r13
	movq	%r12, %rsi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_write
	cltq
	cmpq	%r12, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	cmpq	%r14, %rsi
	cmoveq	%rbx, %rsi
	movq	_LINESIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_endring@GOTPCREL(%rip), %r14
	movq	%r13, %r12
	movq	%r15, %r13
	jmp	LBB0_3
LBB0_8:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_LINESIZ,4,2                    ## @LINESIZ
	.comm	_endring,8,3                    ## @endring
	.comm	_ring,8,3                       ## @ring
	.no_dead_strip	_chargen_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chargen_stream
_chargen_stream:                        ; @chargen_stream
	.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	x19, x0
Lloh0:
	adrp	x24, _LINESIZ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LINESIZ@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w20, w8, #2
	mov	x9, x20
Lloh2:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh3:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	w0, [x1]
	mov	x1, x19
	bl	_inetd_setproctitle
Lloh4:
	adrp	x25, _endring@GOTPAGE
Lloh5:
	ldr	x25, [x25, _endring@GOTPAGEOFF]
	ldr	x8, [x25]
	cbnz	x8, LBB0_2
; %bb.1:
	bl	_initring
LBB0_2:
	ldrsw	x2, [x24]
	mov	w8, #2573
	strh	w8, [x21, x2]
Lloh6:
	adrp	x26, _ring@GOTPAGE
Lloh7:
	ldr	x26, [x26, _ring@GOTPAGEOFF]
	ldr	x22, [x26]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	sub	x23, x8, x22
	mov	x0, x21
	mov	x1, x22
	cmp	w2, w23
	b.le	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x23
	bl	_memmove
	add	x0, x21, w23, sxtw
	ldr	x1, [x26]
	ldr	w8, [x24]
	sub	w2, w8, w23
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w2 killed $w2 killed $x2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_memmove
	ldr	x23, [x25]
	ldr	x27, [x26]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_write
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x20
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x22, #1
	cmp	x8, x23
	csinc	x22, x27, x22, eq
	ldr	w2, [x24]
	b	LBB0_3
LBB0_8:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LINESIZ,4,2                    ; @LINESIZ
	.comm	_endring,8,3                    ; @endring
	.comm	_ring,8,3                       ; @ring
	.no_dead_strip	_chargen_stream
.subsections_via_symbols
