	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$1, %edi
	jg	LBB0_1
## %bb.12:
	movq	_Invalid_Argument@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_FT_ERR                         ## TAILCALL
LBB0_1:
	movq	%rsi, %rbx
	leaq	-24(%rbp), %rdi
	callq	_FT_Init_FreeType
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	callq	_FT_ZERO
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_FT_Stream_Open
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_FT_ZERO
	movq	-24(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_parse_afm
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_9
LBB0_4:
	leaq	-48(%rbp), %rdi
	callq	_dump_fontinfo
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_FT_FREE
LBB0_6:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.7:
	callq	_FT_FREE
LBB0_9:
	leaq	-72(%rbp), %rdi
	callq	_FT_Stream_Close
LBB0_10:
	movq	-24(%rbp), %rdi
	callq	_FT_Done_FreeType
LBB0_11:
	movl	%r14d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.comm	_Invalid_Argument,4,2           ## @Invalid_Argument
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"parse error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _Invalid_Argument@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Invalid_Argument@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_FT_ERR
LBB0_2:
	mov	x20, x1
	sub	x0, x29, #24
	bl	_FT_Init_FreeType
	mov	x19, x0
	cbnz	w0, LBB0_12
; %bb.3:
	add	x0, sp, #32
	bl	_FT_ZERO
	ldr	x1, [x20, #8]
	add	x0, sp, #32
	bl	_FT_Stream_Open
	mov	x19, x0
	cbnz	w0, LBB0_11
; %bb.4:
	ldur	x8, [x29, #-24]
	ldr	w8, [x8]
	str	w8, [sp, #48]
	add	x0, sp, #8
	bl	_FT_ZERO
	ldur	x0, [x29, #-24]
	add	x1, sp, #32
	add	x2, sp, #8
	bl	_parse_afm
	mov	x19, x0
	cbz	w0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_10
LBB0_6:
	add	x0, sp, #8
	bl	_dump_fontinfo
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_FT_FREE
LBB0_8:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_FT_FREE
LBB0_10:
	add	x0, sp, #32
	bl	_FT_Stream_Close
LBB0_11:
	ldur	x0, [x29, #-24]
	bl	_FT_Done_FreeType
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.comm	_Invalid_Argument,4,2           ; @Invalid_Argument
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"parse error"

.subsections_via_symbols
