	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdNewFileCtx                   ## -- Begin function gdNewFileCtx
	.p2align	4, 0x90
_gdNewFileCtx:                          ## @gdNewFileCtx
	.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	%rdi, %rbx
	movl	$40, %edi
	callq	_gdMalloc
	movq	%rbx, 32(%rax)
	movq	_fileGetchar@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_filePutchar@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_fileGetbuf@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_filePutbuf@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_fileTell@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_fileSeek@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_gdFreeFileCtx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fileGetchar,4,2                ## @fileGetchar
	.comm	_filePutchar,4,2                ## @filePutchar
	.comm	_fileGetbuf,4,2                 ## @fileGetbuf
	.comm	_filePutbuf,4,2                 ## @filePutbuf
	.comm	_fileTell,4,2                   ## @fileTell
	.comm	_fileSeek,4,2                   ## @fileSeek
	.comm	_gdFreeFileCtx,4,2              ## @gdFreeFileCtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdNewFileCtx                   ; -- Begin function gdNewFileCtx
	.p2align	2
_gdNewFileCtx:                          ; @gdNewFileCtx
	.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
	mov	w0, #40
	bl	_gdMalloc
	str	x19, [x0, #32]
Lloh0:
	adrp	x8, _fileGetchar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fileGetchar@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _filePutchar@GOTPAGE
Lloh4:
	ldr	x9, [x9, _filePutchar@GOTPAGEOFF]
	str	w8, [x0, #24]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _fileGetbuf@GOTPAGE
Lloh7:
	ldr	x9, [x9, _fileGetbuf@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh9:
	adrp	x8, _filePutbuf@GOTPAGE
Lloh10:
	ldr	x8, [x8, _filePutbuf@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _fileTell@GOTPAGE
Lloh13:
	ldr	x9, [x9, _fileTell@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh15:
	adrp	x8, _fileSeek@GOTPAGE
Lloh16:
	ldr	x8, [x8, _fileSeek@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _gdFreeFileCtx@GOTPAGE
Lloh19:
	ldr	x9, [x9, _gdFreeFileCtx@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_fileGetchar,4,2                ; @fileGetchar
	.comm	_filePutchar,4,2                ; @filePutchar
	.comm	_fileGetbuf,4,2                 ; @fileGetbuf
	.comm	_filePutbuf,4,2                 ; @filePutbuf
	.comm	_fileTell,4,2                   ; @fileTell
	.comm	_fileSeek,4,2                   ; @fileSeek
	.comm	_gdFreeFileCtx,4,2              ; @gdFreeFileCtx
.subsections_via_symbols
