	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_buf_ungetc
_config_buf_ungetc:                     ## @config_buf_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	%edi, %ebx
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rsi)
	movq	8(%rsi), %rcx
	cmpl	%edi, -4(%rcx,%rax,4)
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
	jmp	LBB0_4
LBB0_3:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"config_buf can only ungetc the same character"

	.comm	_EOF,4,2                        ## @EOF
	.no_dead_strip	_config_buf_ungetc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_buf_ungetc
_config_buf_ungetc:                     ; @config_buf_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
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	sub	x8, x8, #1
	str	x8, [x1]
	ldr	x9, [x1, #8]
	ldr	w8, [x9, x8, lsl #2]
	cmp	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _EOF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"config_buf can only ungetc the same character"

	.comm	_EOF,4,2                        ; @EOF
	.no_dead_strip	_config_buf_ungetc
.subsections_via_symbols
