	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcf_get_accel
_pcf_get_accel:                         ## @pcf_get_accel
	.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, %rcx
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	leaq	-40(%rbp), %r8
	leaq	-48(%rbp), %r9
	callq	_pcf_seek_to_table_type
	testq	%rax, %rax
	jne	LBB0_19
## %bb.1:
	movq	-40(%rbp), %rdi
	callq	_FT_READ_ULONG_LE
	testq	%rax, %rax
	jne	LBB0_18
## %bb.2:
	movq	-40(%rbp), %rdi
	callq	_PCF_BYTE_ORDER
	movq	-40(%rbp), %rdi
	movq	_PCF_ACCEL_W_INKBOUNDS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_PCF_FORMAT_MATCH
	testq	%rax, %rax
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_FT_TRACE4
	movq	-40(%rbp), %rdi
	movq	_PCF_DEFAULT_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PCF_FORMAT_MATCH
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	-40(%rbp), %rdi
	movl	(%r12), %esi
	callq	_PCF_FORMAT_MATCH
	testq	%rax, %rax
	je	LBB0_18
LBB0_4:
	leaq	8(%rbx), %r15
	movq	-40(%rbp), %rdi
	callq	_PCF_BYTE_ORDER
	movq	_MSBFirst@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_pcf_accel_msb_header@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_pcf_accel_header@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_FT_STREAM_READ_FIELDS
	testq	%rax, %rax
	je	LBB0_8
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movslq	32(%rbx), %rdi
	callq	_FT_TRACE5
	movl	8(%rbx), %edi
	callq	_FT_ABS
	cmpl	$32768, %eax                    ## imm = 0x8000
	jl	LBB0_10
## %bb.9:
	cmpl	$0, (%r15)
	movl	$-32767, %eax                   ## imm = 0x8001
	movl	$32767, %ecx                    ## imm = 0x7FFF
	cmovsl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	$-32767, %rax                   ## imm = 0x8001
	movl	$32767, %edi                    ## imm = 0x7FFF
	cmovsq	%rax, %rdi
	callq	_FT_TRACE0
LBB0_10:
	movl	12(%rbx), %edi
	callq	_FT_ABS
	cmpl	$32768, %eax                    ## imm = 0x8000
	jl	LBB0_12
## %bb.11:
	cmpl	$0, 12(%rbx)
	movl	$-32767, %eax                   ## imm = 0x8001
	movl	$32767, %ecx                    ## imm = 0x7FFF
	cmovsl	%eax, %ecx
	movl	%ecx, 12(%rbx)
	movq	$-32767, %rax                   ## imm = 0x8001
	movl	$32767, %edi                    ## imm = 0x7FFF
	cmovsq	%rax, %rdi
	callq	_FT_TRACE0
LBB0_12:
	leaq	L_.str.14(%rip), %rdi
	callq	_FT_TRACE5
	movq	_PCF_FORMAT_MASK@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	notq	%rsi
	andq	-40(%rbp), %rsi
	leaq	24(%rbx), %rdx
	movl	%r14d, %edi
	callq	_pcf_get_metric
	testq	%rax, %rax
	jne	LBB0_19
## %bb.13:
	leaq	L_.str.15(%rip), %rdi
	callq	_FT_TRACE5
	movq	(%r15), %rsi
	notq	%rsi
	andq	-40(%rbp), %rsi
	leaq	16(%rbx), %rdx
	movl	%r14d, %edi
	callq	_pcf_get_metric
	testq	%rax, %rax
	jne	LBB0_19
## %bb.14:
	movq	-40(%rbp), %rdi
	movl	(%r12), %esi
	callq	_PCF_FORMAT_MATCH
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	leaq	L_.str.16(%rip), %rdi
	callq	_FT_TRACE5
	movq	(%r15), %rsi
	notq	%rsi
	andq	-40(%rbp), %rsi
	leaq	28(%rbx), %rdx
	movl	%r14d, %edi
	callq	_pcf_get_metric
	testq	%rax, %rax
	jne	LBB0_19
## %bb.16:
	leaq	L_.str.17(%rip), %rdi
	callq	_FT_TRACE5
	movq	(%r15), %rsi
	notq	%rsi
	andq	-40(%rbp), %rsi
	addq	$20, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_pcf_get_metric
	jmp	LBB0_19
LBB0_17:
	movl	16(%rbx), %eax
	movl	24(%rbx), %ecx
	movl	%ecx, 28(%rbx)
	movl	%eax, 20(%rbx)
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_PCF_BDF_ACCELERATORS,8,3       ## @PCF_BDF_ACCELERATORS
	.comm	_MSBFirst,8,3                   ## @MSBFirst
	.comm	_PCF_ACCEL_W_INKBOUNDS,4,2      ## @PCF_ACCEL_W_INKBOUNDS
	.section	__TEXT,__cstring,cstring_literals
L_.str.5:                               ## @.str.5
	.asciz	"accelerated"

L_.str.6:                               ## @.str.6
	.asciz	"not accelerated"

	.comm	_PCF_DEFAULT_FORMAT,4,2         ## @PCF_DEFAULT_FORMAT
	.comm	_pcf_accel_msb_header,4,2       ## @pcf_accel_msb_header
	.comm	_pcf_accel_header,4,2           ## @pcf_accel_header
L_.str.14:                              ## @.str.14
	.asciz	"  minbounds:"

	.comm	_PCF_FORMAT_MASK,8,3            ## @PCF_FORMAT_MASK
L_.str.15:                              ## @.str.15
	.asciz	"  maxbounds:"

L_.str.16:                              ## @.str.16
	.asciz	"  ink minbounds:"

L_.str.17:                              ## @.str.17
	.asciz	"  ink maxbounds:"

	.no_dead_strip	_pcf_get_accel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcf_get_accel
_pcf_get_accel:                         ; @pcf_get_accel
	.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	x3, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x1, #4]
	ldr	w2, [x19]
	add	x4, sp, #8
	mov	x5, sp
	bl	_pcf_seek_to_table_type
	cbnz	x0, LBB0_9
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_FT_READ_ULONG_LE
	cbnz	x0, LBB0_8
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_PCF_BYTE_ORDER
	ldr	x0, [sp, #8]
Lloh0:
	adrp	x22, _PCF_ACCEL_W_INKBOUNDS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PCF_ACCEL_W_INKBOUNDS@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_PCF_FORMAT_MATCH
Lloh2:
	adrp	x8, l_.str.5@PAGE
Lloh3:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh4:
	adrp	x9, l_.str.6@PAGE
Lloh5:
	add	x9, x9, l_.str.6@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, eq
	bl	_FT_TRACE4
	ldr	x0, [sp, #8]
Lloh6:
	adrp	x8, _PCF_DEFAULT_FORMAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCF_DEFAULT_FORMAT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_PCF_FORMAT_MATCH
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [sp, #8]
	ldr	w1, [x22]
	bl	_PCF_FORMAT_MATCH
	cbz	x0, LBB0_9
LBB0_4:
	add	x21, x19, #8
	ldr	x0, [sp, #8]
	bl	_PCF_BYTE_ORDER
Lloh9:
	adrp	x8, _MSBFirst@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSBFirst@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _pcf_accel_msb_header@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pcf_accel_msb_header@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _pcf_accel_header@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pcf_accel_header@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_FT_STREAM_READ_FIELDS
	cbz	x0, LBB0_10
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
LBB0_10:
	ldrsw	x0, [x19, #32]
	bl	_FT_TRACE5
	ldr	w0, [x19, #8]
	bl	_FT_ABS
	cmp	w0, #8, lsl #12                 ; =32768
	b.lt	LBB0_12
; %bb.11:
	ldr	w8, [x21]
	cmp	w8, #0
	mov	w8, #-32767
	cneg	w8, w8, ge
	str	w8, [x21]
	mov	x8, #-32767
	cneg	x0, x8, ge
	bl	_FT_TRACE0
LBB0_12:
	ldr	w0, [x19, #12]
	bl	_FT_ABS
	cmp	w0, #8, lsl #12                 ; =32768
	b.lt	LBB0_14
; %bb.13:
	ldr	w8, [x19, #12]
	cmp	w8, #0
	mov	w8, #-32767
	cneg	w8, w8, ge
	str	w8, [x19, #12]
	mov	x8, #-32767
	cneg	x0, x8, ge
	bl	_FT_TRACE0
LBB0_14:
Lloh16:
	adrp	x0, l_.str.14@PAGE
Lloh17:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_FT_TRACE5
	ldr	x8, [sp, #8]
Lloh18:
	adrp	x21, _PCF_FORMAT_MASK@GOTPAGE
Lloh19:
	ldr	x21, [x21, _PCF_FORMAT_MASK@GOTPAGEOFF]
	ldr	x9, [x21]
	bic	x1, x8, x9
	add	x2, x19, #24
	mov	x0, x20
	bl	_pcf_get_metric
	cbnz	x0, LBB0_9
; %bb.15:
Lloh20:
	adrp	x0, l_.str.15@PAGE
Lloh21:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_FT_TRACE5
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	bic	x1, x8, x9
	add	x2, x19, #16
	mov	x0, x20
	bl	_pcf_get_metric
	cbnz	x0, LBB0_9
; %bb.16:
	ldr	x0, [sp, #8]
	ldr	w1, [x22]
	bl	_PCF_FORMAT_MATCH
	cbz	x0, LBB0_19
; %bb.17:
Lloh22:
	adrp	x0, l_.str.16@PAGE
Lloh23:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_FT_TRACE5
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	bic	x1, x8, x9
	add	x2, x19, #28
	mov	x0, x20
	bl	_pcf_get_metric
	cbnz	x0, LBB0_9
; %bb.18:
Lloh24:
	adrp	x0, l_.str.17@PAGE
Lloh25:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_FT_TRACE5
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	bic	x1, x8, x9
	add	x2, x19, #20
	mov	x0, x20
	bl	_pcf_get_metric
	b	LBB0_9
LBB0_19:
	ldr	w8, [x19, #24]
	str	w8, [x19, #28]
	ldr	w8, [x19, #16]
	str	w8, [x19, #20]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PCF_BDF_ACCELERATORS,8,3       ; @PCF_BDF_ACCELERATORS
	.comm	_MSBFirst,8,3                   ; @MSBFirst
	.comm	_PCF_ACCEL_W_INKBOUNDS,4,2      ; @PCF_ACCEL_W_INKBOUNDS
	.section	__TEXT,__cstring,cstring_literals
l_.str.5:                               ; @.str.5
	.asciz	"accelerated"

l_.str.6:                               ; @.str.6
	.asciz	"not accelerated"

	.comm	_PCF_DEFAULT_FORMAT,4,2         ; @PCF_DEFAULT_FORMAT
	.comm	_pcf_accel_msb_header,4,2       ; @pcf_accel_msb_header
	.comm	_pcf_accel_header,4,2           ; @pcf_accel_header
l_.str.14:                              ; @.str.14
	.asciz	"  minbounds:"

	.comm	_PCF_FORMAT_MASK,8,3            ; @PCF_FORMAT_MASK
l_.str.15:                              ; @.str.15
	.asciz	"  maxbounds:"

l_.str.16:                              ; @.str.16
	.asciz	"  ink minbounds:"

l_.str.17:                              ; @.str.17
	.asciz	"  ink maxbounds:"

	.no_dead_strip	_pcf_get_accel
.subsections_via_symbols
