	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_data
_build_data:                            ## @build_data
	.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	%r9, %rbx
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_batch@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
LBB0_1:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_2:
	movq	_bio_err@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_BIO_flush
	testq	%r12, %r12
	je	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	movl	16(%rbp), %esi
	movq	%r12, %rdx
	movq	24(%rbp), %r8
	callq	_join
	testl	%eax, %eax
	je	LBB0_24
## %bb.4:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_5:
	movb	(%rbx), %al
	cmpb	$10, %al
	je	LBB0_11
## %bb.6:
	cmpb	$46, %al
	je	LBB0_15
## %bb.7:
	testb	%al, %al
	jne	LBB0_16
	jmp	LBB0_24
LBB0_9:
	movb	$0, (%rbx)
	movq	_batch@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.10:
	movw	$10, (%rbx)
LBB0_11:
	movl	$1, %r15d
	testq	%r13, %r13
	je	LBB0_26
## %bb.12:
	cmpb	$0, (%r13)
	je	LBB0_26
## %bb.13:
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	movl	16(%rbp), %esi
	movq	%r13, %rdx
	movq	32(%rbp), %r8
	callq	_join
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_24
LBB0_15:
	cmpb	$10, 1(%rbx)
	je	LBB0_25
LBB0_16:
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rdi
	cmpb	$10, -1(%rbx,%rdi)
	jne	LBB0_22
## %bb.17:
	decq	%rdi
	movb	$0, (%rbx,%rdi)
                                        ## kill: def $edi killed $edi killed $rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_req_check_len
	testl	%eax, %eax
	jne	LBB0_23
## %bb.18:
	xorl	%r15d, %r15d
	testq	%r12, %r12
	jne	LBB0_26
## %bb.19:
	movq	_batch@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
	jmp	LBB0_26
LBB0_20:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	16(%rbp), %esi
	callq	_fgets
	testl	%eax, %eax
	jne	LBB0_5
LBB0_24:
	xorl	%r15d, %r15d
	jmp	LBB0_26
LBB0_22:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_26
LBB0_23:
	movl	$2, %r15d
	jmp	LBB0_26
LBB0_25:
	movl	$1, %r15d
LBB0_26:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_batch,8,3                      ## @batch
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s [%s]:"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.comm	_stdin,4,2                      ## @stdin
L_.str.3:                               ## @.str.3
	.asciz	"weird input :-(\n"

	.no_dead_strip	_build_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_data
_build_data:                            ; @build_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	ldr	x8, [x29, #16]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x28, _batch@GOTPAGE
Lloh1:
	ldr	x28, [x28, _batch@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh2:
	adrp	x27, _bio_err@GOTPAGE
Lloh3:
	ldr	x27, [x27, _bio_err@GOTPAGEOFF]
	cbnz	x8, LBB0_2
LBB0_1:
	ldr	w0, [x27]
	stp	x26, x25, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
LBB0_2:
	ldr	w0, [x27]
	bl	_BIO_flush
	cbz	x24, LBB0_9
; %bb.3:
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x4, x19
	bl	_join
	cbz	w0, LBB0_23
; %bb.4:
	ldr	w0, [x27]
	str	x24, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_BIO_printf
LBB0_5:
	ldrb	w8, [x21]
	cmp	w8, #10
	b.eq	LBB0_11
; %bb.6:
	cmp	w8, #46
	b.eq	LBB0_14
; %bb.7:
	cbnz	w8, LBB0_15
; %bb.8:
	mov	w0, #0
	b	LBB0_23
LBB0_9:
	strb	wzr, [x21]
	ldr	x8, [x28]
	cbz	x8, LBB0_19
; %bb.10:
	mov	w8, #10
	strh	w8, [x21]
LBB0_11:
	cbz	x25, LBB0_20
; %bb.12:
	ldrb	w8, [x25]
	cbz	w8, LBB0_20
; %bb.13:
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	ldr	x4, [sp, #24]                   ; 8-byte Folded Reload
	bl	_join
	cbnz	w0, LBB0_15
	b	LBB0_23
LBB0_14:
	ldrb	w8, [x21, #1]
	cmp	w8, #10
	b.eq	LBB0_20
LBB0_15:
	mov	x0, x21
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	sub	x0, x8, #1
	ldrb	w8, [x21, x0]
	cmp	w8, #10
	b.ne	LBB0_21
; %bb.16:
	strb	wzr, [x21, x0]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x23
	mov	x2, x22
	bl	_req_check_len
	cbnz	w0, LBB0_22
; %bb.17:
	cbnz	x24, LBB0_23
; %bb.18:
	ldr	x8, [x28]
	cbz	x8, LBB0_1
	b	LBB0_23
LBB0_19:
Lloh12:
	adrp	x8, _stdin@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_fgets
	cbnz	w0, LBB0_5
	b	LBB0_23
LBB0_20:
	mov	w0, #1
	b	LBB0_23
LBB0_21:
	ldr	w0, [x27]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BIO_printf
	mov	w0, #0
	b	LBB0_23
LBB0_22:
	mov	w0, #2
LBB0_23:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_batch,8,3                      ; @batch
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s [%s]:"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.comm	_stdin,4,2                      ; @stdin
l_.str.3:                               ; @.str.3
	.asciz	"weird input :-(\n"

	.no_dead_strip	_build_data
.subsections_via_symbols
