	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_type1_format
_check_type1_format:                    ## @check_type1_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%edi, %edi
	callq	_FT_STREAM_SEEK
                                        ## implicit-def: $rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	callq	_read_pfb_tag
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	cmpl	$32769, -36(%rbp)               ## imm = 0x8001
	je	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_FT_STREAM_SEEK
	testq	%rax, %rax
	jne	LBB0_9
LBB0_4:
	movq	%r15, %rdi
	callq	_FT_FRAME_ENTER
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%r12), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ft_memcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_Unknown_File_Format@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FT_THROW
	movq	%rax, %rbx
LBB0_8:
	xorl	%eax, %eax
	callq	_FT_FRAME_EXIT
LBB0_9:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,8,3                  ## @FT_Err_Ok
	.comm	_Unknown_File_Format,4,2        ## @Unknown_File_Format
	.no_dead_strip	_check_type1_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_type1_format
_check_type1_format:                    ; @check_type1_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #0
	bl	_FT_STREAM_SEEK
                                        ; implicit-def: $x22
	cbnz	x0, LBB0_9
; %bb.1:
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x21
	bl	_read_pfb_tag
	mov	x22, x0
	cbnz	x0, LBB0_9
; %bb.2:
	ldr	w8, [sp, #12]
	mov	w9, #32769
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_FT_STREAM_SEEK
	cbnz	x0, LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_FT_FRAME_ENTER
	cbz	w0, LBB0_6
LBB0_5:
	mov	x22, #0
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _FT_Err_Ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, x19
	bl	_ft_memcmp
	cbz	x0, LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _Unknown_File_Format@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Unknown_File_Format@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_FT_THROW
	mov	x22, x0
LBB0_8:
	bl	_FT_FRAME_EXIT
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,8,3                  ; @FT_Err_Ok
	.comm	_Unknown_File_Format,4,2        ; @Unknown_File_Format
	.no_dead_strip	_check_type1_format
.subsections_via_symbols
