	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_close
_input_close:                           ## @input_close
	.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	_inputs@GOTPCREL(%rip), %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.3:
	movl	24(%rbx), %edi
	callq	_fclose
	movq	%rbx, %rax
	addq	$16, %rax
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rax
LBB0_5:
	movq	(%rax), %rdi
	callq	_free
LBB0_6:
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_7:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_inputs,4,2                     ## @inputs
	.comm	_link,4,2                       ## @link
	.no_dead_strip	_input_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_close
_input_close:                           ; @input_close
	.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
Lloh0:
	adrp	x0, _inputs@GOTPAGE
Lloh1:
	ldr	x0, [x0, _inputs@GOTPAGEOFF]
	bl	_LIST_FIRST
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x19, #24]
	bl	_fclose
	add	x8, x19, #16
	b	LBB0_5
LBB0_4:
	add	x8, x19, #8
LBB0_5:
	ldr	x0, [x8]
	bl	_free
LBB0_6:
Lloh2:
	adrp	x8, _link@GOTPAGE
Lloh3:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LIST_REMOVE
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_7:
	bl	_abort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_inputs,4,2                     ; @inputs
	.comm	_link,4,2                       ; @link
	.no_dead_strip	_input_close
.subsections_via_symbols
