	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function font_renderer_ct_init
_font_renderer_ct_init:                 ## @font_renderer_ct_init
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rdi, %rbx
	movl	$1, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_path_is_valid
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	_kCFStringEncodingASCII@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_CFStringCreateWithCString
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r14
	movq	_kCFAllocatorDefault@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_kCFURLPOSIXPathStyle@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_CFURLCreateWithFileSystemPath
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_CGDataProviderCreateWithURL
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_CGFontCreateWithDataProvider
	movq	%rax, %rbx
	movq	%rax, %rdi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CTFontCreateWithGraphicsFont
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_coretext_font_renderer_create_atlas
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_font_renderer_ct_free
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r14, %rdi
	callq	_CFRelease
	jmp	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	callq	_font_renderer_ct_free
	xorl	%r15d, %r15d
LBB0_15:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	callq	_font_renderer_ct_free
	xorl	%r15d, %r15d
	movq	%r14, %r13
LBB0_9:
	movq	%rbx, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_CFRelease
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	callq	_CFRelease
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_CFRelease
LBB0_13:
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_CFRelease
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_kCFStringEncodingASCII,4,2     ## @kCFStringEncodingASCII
	.comm	_kCFAllocatorDefault,4,2        ## @kCFAllocatorDefault
	.comm	_kCFURLPOSIXPathStyle,4,2       ## @kCFURLPOSIXPathStyle
	.no_dead_strip	_font_renderer_ct_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function font_renderer_ct_init
_font_renderer_ct_init:                 ; @font_renderer_ct_init
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	fmov	s8, s0
	mov	x20, x0
	mov	w0, #1
	mov	w1, #1
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	mov	x0, x20
	bl	_path_is_valid
	cbz	w0, LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _kCFStringEncodingASCII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kCFStringEncodingASCII@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, x20
	bl	_CFStringCreateWithCString
	cbz	x0, LBB0_7
; %bb.3:
	mov	x23, x0
Lloh3:
	adrp	x8, _kCFAllocatorDefault@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kCFAllocatorDefault@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _kCFURLPOSIXPathStyle@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kCFURLPOSIXPathStyle@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x23
	mov	w3, #0
	bl	_CFURLCreateWithFileSystemPath
	mov	x22, x0
	bl	_CGDataProviderCreateWithURL
	mov	x21, x0
	bl	_CGFontCreateWithDataProvider
	mov	x20, x0
	fmov	s0, s8
	mov	x1, #0
	mov	x2, #0
	bl	_CTFontCreateWithGraphicsFont
	cbz	x0, LBB0_9
; %bb.4:
	mov	x24, x0
	mov	x1, x19
	bl	_coretext_font_renderer_create_atlas
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_font_renderer_ct_free
	mov	x19, #0
LBB0_6:
	mov	x0, x23
	bl	_CFRelease
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_font_renderer_ct_free
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	bl	_font_renderer_ct_free
	mov	x19, #0
	mov	x24, x23
LBB0_10:
	mov	x0, x24
	bl	_CFRelease
	cbz	x22, LBB0_12
; %bb.11:
	mov	x0, x22
	bl	_CFRelease
LBB0_12:
	cbz	x21, LBB0_14
; %bb.13:
	mov	x0, x21
	bl	_CFRelease
LBB0_14:
	cbz	x20, LBB0_8
; %bb.15:
	mov	x0, x20
	bl	_CFRelease
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_kCFStringEncodingASCII,4,2     ; @kCFStringEncodingASCII
	.comm	_kCFAllocatorDefault,4,2        ; @kCFAllocatorDefault
	.comm	_kCFURLPOSIXPathStyle,4,2       ; @kCFURLPOSIXPathStyle
	.no_dead_strip	_font_renderer_ct_init
.subsections_via_symbols
