	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_lex_close                  ## -- Begin function isc_lex_close
	.p2align	4, 0x90
_isc_lex_close:                         ## @isc_lex_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_VALID_LEX
	movl	%eax, %edi
	callq	_REQUIRE
	movl	4(%r14), %edi
	callq	_HEAD
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	4(%r14), %edi
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_ISC_LIST_UNLINK
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.3:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	callq	_fclose
LBB0_5:
	movl	(%r14), %edi
	movl	4(%rbx), %esi
	callq	_isc_mem_free
	movq	%rbx, %rdi
	callq	_isc_buffer_free
	movl	(%r14), %edi
	movq	%rbx, %rsi
	movl	$32, %edx
	callq	_isc_mem_put
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_ISC_R_NOMORE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_NOMORE,4,2               ## @ISC_R_NOMORE
	.comm	_link,4,2                       ## @link
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_lex_close                  ; -- Begin function isc_lex_close
	.p2align	2
_isc_lex_close:                         ; @isc_lex_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
	mov	x19, x0
	bl	_VALID_LEX
	bl	_REQUIRE
	ldr	w0, [x19, #4]
	bl	_HEAD
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _link@GOTPAGE
Lloh1:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_ISC_LIST_UNLINK
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x0, [x20, #8]
	bl	_fclose
LBB0_4:
	ldr	w0, [x19]
	ldr	w1, [x20, #4]
	bl	_isc_mem_free
	mov	x0, x20
	bl	_isc_buffer_free
	ldr	w0, [x19]
	mov	x1, x20
	mov	w2, #32
	bl	_isc_mem_put
Lloh3:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _ISC_R_NOMORE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISC_R_NOMORE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_NOMORE,4,2               ; @ISC_R_NOMORE
	.comm	_link,4,2                       ; @link
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
