	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_axis_from_font
_init_axis_from_font:                   ## @init_axis_from_font
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r15d
	movq	_AV_PIX_FMT_RGBA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1920, %esi                     ## imm = 0x780
	movl	$32, %edx
	callq	_alloc_frame_empty
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movl	28(%r14), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_render_freetype
	movl	$32, %r15d
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movl	$1920, %eax                     ## imm = 0x780
LBB0_7:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_4:
	movl	$1920, %eax                     ## imm = 0x780
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	24(%r14), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_render_fontconfig
	testq	%rax, %rax
	js	LBB0_5
LBB0_8:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_init_axis_color
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movq	(%r14), %rax
	movl	12(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	16(%rax), %r12d
	movl	16(%r14), %r13d
	movl	12(%r14), %r15d
	movl	8(%r14), %edi
	callq	_convert_axis_pixel_format
	movl	12(%rbx), %r10d
	movl	16(%rbx), %r9d
	movq	_AV_PIX_FMT_RGBA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movl	20(%r14), %ebx
	subq	$8, %rsp
	movl	%r12d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	pushq	%rbx
	pushq	%r11
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	callq	_ff_scale_image
	addq	$48, %rsp
	testl	%eax, %eax
	js	LBB0_10
## %bb.13:
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	movl	16(%r14), %eax
	movq	(%r14), %rcx
	movl	%eax, 8(%rcx)
	movl	12(%r14), %eax
	movl	%eax, 4(%rcx)
	movl	8(%r14), %edi
	callq	_convert_axis_pixel_format
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_5:
	movq	%rbx, %rdi
	callq	_render_default_font
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	movl	$16, %r15d
	movl	$1, %r12d
	movl	$960, %eax                      ## imm = 0x3C0
	jmp	LBB0_7
LBB0_10:
	movl	%eax, %r15d
LBB0_11:
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	movq	%r14, %rdi
	callq	_av_frame_free
LBB0_12:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PIX_FMT_RGBA,4,2            ## @AV_PIX_FMT_RGBA
	.no_dead_strip	_init_axis_from_font
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_axis_from_font
_init_axis_from_font:                   ; @init_axis_from_font
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x21, x0
Lloh3:
	adrp	x26, _AV_PIX_FMT_RGBA@GOTPAGE
Lloh4:
	ldr	x26, [x26, _AV_PIX_FMT_RGBA@GOTPAGEOFF]
	ldr	w0, [x26]
	mov	w1, #1920
	mov	w2, #32
	bl	_alloc_frame_empty
	str	x0, [sp, #24]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
	bl	_av_frame_alloc
	str	x0, [x19]
	cbz	x0, LBB0_11
; %bb.2:
	ldr	w2, [x19, #28]
	mov	x0, x19
	mov	x1, x20
	bl	_render_freetype
	tbz	x0, #63, LBB0_4
; %bb.3:
	ldr	w2, [x19, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_render_fontconfig
	tbnz	x0, #63, LBB0_8
LBB0_4:
	mov	w2, #0
	mov	w27, #32
	mov	w22, #1920
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_init_axis_color
	tbnz	w0, #31, LBB0_10
; %bb.6:
	ldr	x8, [x19]
	ldp	w23, w21, [x8, #12]
	ldp	w25, w24, [x19, #12]
	ldr	w0, [x19, #8]
	bl	_convert_axis_pixel_format
	mov	x4, x0
	ldp	w6, w5, [x20, #12]
	ldr	w8, [x26]
	ldr	w9, [x19, #20]
	stp	w8, w9, [sp, #4]
	str	w27, [sp]
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x7, x22
	bl	_ff_scale_image
	tbnz	w0, #31, LBB0_10
; %bb.7:
	add	x0, sp, #24
	bl	_av_frame_free
	ldr	x8, [x19]
	ldur	d0, [x19, #12]
	stur	d0, [x8, #4]
	ldr	w0, [x19, #8]
	bl	_convert_axis_pixel_format
	mov	w21, #0
	ldr	x8, [x19]
	str	w0, [x8]
	b	LBB0_12
LBB0_8:
	mov	x0, x20
	bl	_render_default_font
	tbnz	w0, #31, LBB0_10
; %bb.9:
	mov	w27, #16
	mov	w2, #1
	mov	w22, #960
	b	LBB0_5
LBB0_10:
	mov	x21, x0
LBB0_11:
	add	x0, sp, #24
	bl	_av_frame_free
	mov	x0, x19
	bl	_av_frame_free
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PIX_FMT_RGBA,4,2            ; @AV_PIX_FMT_RGBA
	.no_dead_strip	_init_axis_from_font
.subsections_via_symbols
