	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unregister_file                ## -- Begin function unregister_file
	.p2align	4, 0x90
_unregister_file:                       ## @unregister_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_fp_head@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, 8(%rdi)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %rcx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	popq	%rbp
	jmp	_errx                           ## TAILCALL
LBB0_5:
	movq	(%rdi), %rax
	movq	%rax, (%rcx)
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fp_head,8,3                    ## @fp_head
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid file pointer"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unregister_file                ; -- Begin function unregister_file
	.p2align	2
_unregister_file:                       ; @unregister_file
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _fp_head@GOTPAGE
Lloh1:
	ldr	x9, [x9, _fp_head@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x0, #8]
	cmp	x10, x8
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	b	_errx
LBB0_5:
Lloh5:
	adrp	x9, _fp_head@GOTPAGE
Lloh6:
	ldr	x9, [x9, _fp_head@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x0]
	str	x8, [x9]
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_fp_head,8,3                    ; @fp_head
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid file pointer"

.subsections_via_symbols
