	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_ungetc
_input_ungetc:                          ## @input_ungetc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_report
LBB0_2:
	movq	_input_push@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_report
	movl	(%r14), %eax
LBB0_4:
	movq	_input_buf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leal	1(%rax), %edx
	movl	%edx, (%r14)
	cltq
	movl	%ebx, (%rcx,%rax,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pushing EOF"

	.comm	_input_push,4,2                 ## @input_push
L_.str.1:                               ## @.str.1
	.asciz	"pushing third char"

	.comm	_input_buf,8,3                  ## @input_buf
	.no_dead_strip	_input_ungetc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_ungetc
_input_ungetc:                          ; @input_ungetc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_report
LBB0_2:
Lloh5:
	adrp	x20, _input_push@GOTPAGE
Lloh6:
	ldr	x20, [x20, _input_push@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #2
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_report
	ldr	w8, [x20]
LBB0_4:
Lloh9:
	adrp	x9, _input_buf@GOTPAGE
Lloh10:
	ldr	x9, [x9, _input_buf@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	w10, w8, #1
	str	w10, [x20]
	str	w19, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pushing EOF"

	.comm	_input_push,4,2                 ; @input_push
l_.str.1:                               ; @.str.1
	.asciz	"pushing third char"

	.comm	_input_buf,8,3                  ; @input_buf
	.no_dead_strip	_input_ungetc
.subsections_via_symbols
