	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_puts                           ## -- Begin function puts
	.p2align	4, 0x90
_puts:                                  ## @puts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	%rdi, -48(%rbp)
	callq	_strlen
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rcx
	movq	%rcx, -32(%rbp)
	movq	$1, -24(%rbp)
	incq	%rax
	movq	%rax, -72(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)
	movl	$2, -64(%rbp)
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_FLOCKFILE_CANCELSAFE
	movl	(%rbx), %edi
	movl	$-1, %esi
	callq	_ORIENT
	movl	(%rbx), %edi
	leaq	-72(%rbp), %rsi
	callq	___sfvwrite
	testq	%rax, %rax
	movq	_EOF@GOTPCREL(%rip), %rax
	movsbl	(%rax), %eax
	movl	$10, %ebx
	cmovnel	%eax, %ebx
	xorl	%eax, %eax
	callq	_FUNLOCKFILE_CANCELSAFE
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_EOF,1,0                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_puts                           ; -- Begin function puts
	.p2align	2
_puts:                                  ; @puts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	str	x0, [sp, #24]
	bl	_strlen
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	stp	x0, x8, [sp, #32]
	mov	w8, #1
	str	x8, [sp, #48]
	add	x8, x0, #1
	str	x8, [sp]
	add	x8, sp, #24
	str	x8, [sp, #16]
	mov	w8, #2
	str	w8, [sp, #8]
Lloh5:
	adrp	x19, _stdout@GOTPAGE
Lloh6:
	ldr	x19, [x19, _stdout@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_FLOCKFILE_CANCELSAFE
	ldr	w0, [x19]
	mov	w1, #-1
	bl	_ORIENT
	ldr	w0, [x19]
	mov	x1, sp
	bl	___sfvwrite
Lloh7:
	adrp	x8, _EOF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh9:
	ldrsb	w8, [x8]
	cmp	x0, #0
	mov	w9, #10
	csel	w19, w9, w8, eq
	bl	_FUNLOCKFILE_CANCELSAFE
	ldur	x8, [x29, #-24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_EOF,1,0                        ; @EOF
.subsections_via_symbols
