	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sfnt_get_ps_name
_sfnt_get_ps_name:                      ## @sfnt_get_ps_name
	.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), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	_TT_NAME_ID_PS_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	leaq	-12(%rbp), %rcx
	callq	_sfnt_get_name_id
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	-16(%rbp), %eax
	movl	16(%rbx), %edi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.4:
	addl	%eax, %edx
	movq	_sfnt_is_postscript@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %r8d
	callq	_get_win_string
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	addl	-12(%rbp), %edx
	movq	_sfnt_is_postscript@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %r8d
	callq	_get_apple_string
LBB0_6:
	movq	%rax, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TT_NAME_ID_PS_NAME,4,2         ## @TT_NAME_ID_PS_NAME
	.comm	_sfnt_is_postscript,4,2         ## @sfnt_is_postscript
	.no_dead_strip	_sfnt_get_ps_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sfnt_get_ps_name
_sfnt_get_ps_name:                      ; @sfnt_get_ps_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _TT_NAME_ID_PS_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TT_NAME_ID_PS_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	bl	_sfnt_get_name_id
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
	ldp	w1, w0, [x19, #12]
	ldr	w9, [x19, #8]
	cmn	w8, #1
	b.eq	LBB0_5
; %bb.3:
	add	w2, w9, w8
Lloh3:
	adrp	x8, _sfnt_is_postscript@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sfnt_is_postscript@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w4, #1
	bl	_get_win_string
	b	LBB0_6
LBB0_4:
	mov	x0, #0
	b	LBB0_7
LBB0_5:
	ldr	w8, [sp, #8]
	add	w2, w8, w9
Lloh6:
	adrp	x8, _sfnt_is_postscript@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sfnt_is_postscript@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	w4, #1
	bl	_get_apple_string
LBB0_6:
	str	x0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TT_NAME_ID_PS_NAME,4,2         ; @TT_NAME_ID_PS_NAME
	.comm	_sfnt_is_postscript,4,2         ; @sfnt_is_postscript
	.no_dead_strip	_sfnt_get_ps_name
.subsections_via_symbols
