	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hb_ps_resolve_stream_types
_hb_ps_resolve_stream_types:            ## @hb_ps_resolve_stream_types
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_22
## %bb.1:
	movq	8(%r12), %rax
	movq	_A@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	movq	_st2codec@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r11
	movq	_U@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	imulq	$56, %rcx, %rdi
	xorl	%ecx, %ecx
	movq	_S@GOTPCREL(%rip), %r9
	movq	_V@GOTPCREL(%rip), %r10
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	cmpq	%rsi, %rdx
	sete	%bl
	addl	%ebx, %r14d
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$56, %rcx
	cmpq	%rcx, %rdi
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax,%rcx), %rbx
	movq	8(%rax,%rcx), %rdx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %rdx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	(%r9), %rdx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	(%r10), %rdx
	jne	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r11,%rbx,8), %edx
	movl	%edx, 48(%rax,%rcx)
	movl	(%r11,%rbx,8), %edx
	movl	%edx, 44(%rax,%rcx)
	jmp	LBB0_3
LBB0_9:
	xorps	%xmm0, %xmm0
	movq	%r12, %rdi
	callq	_hb_stream_seek
	movq	$0, 16(%r12)
	testl	%r14d, %r14d
	je	LBB0_23
## %bb.10:
	cmpl	$2, %r14d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmovgeq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_hb_log
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	32(%rbx,%r15), %ecx
	movl	40(%rbx,%r15), %esi
	movslq	36(%rbx,%r15), %rdx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	movq	_N@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	decl	%r14d
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_U@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	-48(%rbp), %rdi
	callq	_hb_buffer_close
	testl	%r14d, %r14d
	je	LBB0_23
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_hb_ps_stream_decode
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_index_of_id
	testl	%eax, %eax
	js	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r12), %rbx
	movl	%eax, %eax
	imulq	$56, %rax, %r15
	movq	8(%rbx,%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	(%rbx,%r15), %r13
	addq	$8, %r13
	leaq	(%rbx,%r15), %rsi
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_do_probe
	testl	%eax, %eax
	js	LBB0_11
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	je	LBB0_12
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r13), %rax
	movq	_U@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_13
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	32(%rbx,%r15), %ecx
	movl	40(%rbx,%r15), %esi
	movslq	36(%rbx,%r15), %rdx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	decl	%r14d
	jmp	LBB0_13
LBB0_22:
	xorps	%xmm0, %xmm0
	movq	%r12, %rdi
	callq	_hb_stream_seek
	movq	$0, 16(%r12)
LBB0_23:
	cmpl	$0, (%r12)
	jle	LBB0_28
## %bb.24:
	movq	8(%r12), %rax
	movl	$16, %ebx
	xorl	%r14d, %r14d
	movq	_U@GOTPCREL(%rip), %r15
	movq	_N@GOTPCREL(%rip), %r13
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_26 Depth=1
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	callq	_hb_buffer_close
	movq	8(%r12), %rax
	movq	$0, (%rax,%rbx)
	incq	%r14
	movslq	(%r12), %rcx
	addq	$56, %rbx
	cmpq	%rcx, %r14
	jge	LBB0_28
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%rax,%rbx), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	(%r13), %rcx
	movq	%rcx, -8(%rax,%rbx)
	jmp	LBB0_25
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A,8,3                          ## @A
	.comm	_S,8,3                          ## @S
	.comm	_V,8,3                          ## @V
	.comm	_st2codec,8,3                   ## @st2codec
	.comm	_U,8,3                          ## @U
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Probing %d unknown stream%s"

L_.str.1:                               ## @.str.1
	.asciz	"s"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"    Probe: Unsupported stream %s. stream id 0x%x-0x%x"

	.comm	_N,8,3                          ## @N
L_.str.4:                               ## @.str.4
	.asciz	"    Probe: Found stream %s. stream id 0x%x-0x%x"

	.no_dead_strip	_hb_ps_resolve_stream_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hb_ps_resolve_stream_types
_hb_ps_resolve_stream_types:            ; @hb_ps_resolve_stream_types
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x23, _U@GOTPAGE
Lloh1:
	ldr	x23, [x23, _U@GOTPAGEOFF]
Lloh2:
	adrp	x24, _N@GOTPAGE
Lloh3:
	ldr	x24, [x24, _N@GOTPAGEOFF]
	cmp	w8, #0
	b.le	LBB0_19
; %bb.1:
	mov	w20, #0
	ldr	x9, [x19, #8]
Lloh4:
	adrp	x10, _A@GOTPAGE
Lloh5:
	ldr	x10, [x10, _A@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
Lloh7:
	adrp	x11, _st2codec@GOTPAGE
Lloh8:
	ldr	x11, [x11, _st2codec@GOTPAGEOFF]
Lloh9:
	ldr	x11, [x11]
	ldr	x12, [x23]
Lloh10:
	adrp	x13, _S@GOTPAGE
Lloh11:
	ldr	x13, [x13, _S@GOTPAGEOFF]
Lloh12:
	adrp	x14, _V@GOTPAGE
Lloh13:
	ldr	x14, [x14, _V@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x16, x12
	cinc	w20, w20, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #56
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x15, [x9]
	ldr	x16, [x9, #8]
	cbz	w15, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x17, [x13]
	ldr	x0, [x14]
	cmp	x16, x10
	ccmp	x16, x17, #4, ne
	ccmp	x16, x0, #4, ne
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x11, x15, lsl #3]
	stur	d0, [x9, #44]
	b	LBB0_3
LBB0_7:
	movi	d0, #0000000000000000
	mov	x0, x19
	bl	_hb_stream_seek
	str	xzr, [x19, #16]
	cbz	w20, LBB0_20
; %bb.8:
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh16:
	adrp	x9, l_.str.1@PAGE
Lloh17:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w20, #1
	csel	x2, x9, x8, gt
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_hb_log
	mov	w25, #56
Lloh20:
	adrp	x21, l_.str.3@PAGE
Lloh21:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh22:
	adrp	x22, l_.str.4@PAGE
Lloh23:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	madd	x8, x28, x25, x27
	ldp	w2, w1, [x8, #36]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	ldr	w8, [x8, #32]
	str	x8, [sp]
	mov	x0, x21
	bl	_hb_log
	ldr	x8, [x24]
	str	x8, [x26]
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	w20, w20, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #8
	bl	_hb_buffer_close
	cbz	w20, LBB0_20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_hb_ps_stream_decode
	str	x0, [sp, #8]
	cbz	x0, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x0]
	mov	x0, x19
	bl	_index_of_id
	tbnz	w0, #31, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x27, [x19, #8]
	umaddl	x26, w0, w25, x27
	ldr	x8, [x26, #8]!
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, w0
	madd	x1, x28, x25, x27
	ldr	x2, [sp, #8]
	mov	x0, x19
	bl	_do_probe
	tbnz	w0, #31, LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	w0, LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	madd	x8, x28, x25, x27
	ldp	w2, w1, [x8, #36]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	ldr	w8, [x8, #32]
	str	x8, [sp]
	mov	x0, x22
	bl	_hb_log
	b	LBB0_10
LBB0_19:
	movi	d0, #0000000000000000
	mov	x0, x19
	bl	_hb_stream_seek
	str	xzr, [x19, #16]
LBB0_20:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.21:
	mov	x20, #0
	mov	x21, #0
	ldr	x8, [x19, #8]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x0, x8, #24
	bl	_hb_buffer_close
	ldr	x8, [x19, #8]
	add	x9, x8, x20
	str	xzr, [x9, #16]
	add	x21, x21, #1
	ldrsw	x9, [x19]
	add	x20, x20, #56
	cmp	x21, x9
	b.ge	LBB0_25
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x20
	ldr	x9, [x8, #8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x9, [x24]
	str	x9, [x8, #8]
	b	LBB0_22
LBB0_25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_A,8,3                          ; @A
	.comm	_S,8,3                          ; @S
	.comm	_V,8,3                          ; @V
	.comm	_st2codec,8,3                   ; @st2codec
	.comm	_U,8,3                          ; @U
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Probing %d unknown stream%s"

l_.str.1:                               ; @.str.1
	.asciz	"s"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"    Probe: Unsupported stream %s. stream id 0x%x-0x%x"

	.comm	_N,8,3                          ; @N
l_.str.4:                               ; @.str.4
	.asciz	"    Probe: Found stream %s. stream id 0x%x-0x%x"

	.no_dead_strip	_hb_ps_resolve_stream_types
.subsections_via_symbols
