	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ser_unix_flush_input           ## -- Begin function ser_unix_flush_input
	.p2align	4, 0x90
_ser_unix_flush_input:                  ## @ser_unix_flush_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	js	LBB0_2
## %bb.1:
	movq	$0, (%rdi)
	movl	8(%rdi), %eax
	movl	%eax, 12(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_SERIAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERIAL_ERROR,4,2               ## @SERIAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ser_unix_flush_input           ; -- Begin function ser_unix_flush_input
	.p2align	2
_ser_unix_flush_input:                  ; @ser_unix_flush_input
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	tbnz	x9, #63, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	str	xzr, [x8]
	ldr	w9, [x8, #8]
	str	w9, [x8, #12]
	ret
LBB0_2:
Lloh0:
	adrp	x8, _SERIAL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SERIAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SERIAL_ERROR,4,2               ; @SERIAL_ERROR
.subsections_via_symbols
