	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_fnt
_write_fnt:                             ## @write_fnt
	.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, %rbx
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_perror
	movl	$1, %eax
	jmp	LBB0_3
LBB0_2:
	callq	_write_fnt.cold.1
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function write_fnt.cold.1
_write_fnt.cold.1:                      ## @write_fnt.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_glyph_unique@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htobe32
	movq	_map_folded_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_htobe32
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"wb"

	.comm	_width,4,2                      ## @width
	.comm	_height,4,2                     ## @height
	.comm	_glyph_unique,4,2               ## @glyph_unique
	.comm	_map_folded_count,8,3           ## @map_folded_count
	.comm	_VFNT_MAP_NORMAL,4,2            ## @VFNT_MAP_NORMAL
	.comm	_VFNT_MAP_NORMAL_RH,4,2         ## @VFNT_MAP_NORMAL_RH
	.comm	_VFNT_MAP_BOLD,4,2              ## @VFNT_MAP_BOLD
	.comm	_VFNT_MAP_BOLD_RH,4,2           ## @VFNT_MAP_BOLD_RH
	.no_dead_strip	_write_fnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_fnt
_write_fnt:                             ; @write_fnt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_perror
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_write_fnt.cold.1
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function write_fnt.cold.1
_write_fnt.cold.1:                      ; @write_fnt.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh2:
	adrp	x8, _glyph_unique@GOTPAGE
Lloh3:
	ldr	x8, [x8, _glyph_unique@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htobe32
Lloh5:
	adrp	x8, _map_folded_count@GOTPAGE
Lloh6:
	ldr	x8, [x8, _map_folded_count@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_htobe32
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"wb"

	.comm	_width,4,2                      ; @width
	.comm	_height,4,2                     ; @height
	.comm	_glyph_unique,4,2               ; @glyph_unique
	.comm	_map_folded_count,8,3           ; @map_folded_count
	.comm	_VFNT_MAP_NORMAL,4,2            ; @VFNT_MAP_NORMAL
	.comm	_VFNT_MAP_NORMAL_RH,4,2         ; @VFNT_MAP_NORMAL_RH
	.comm	_VFNT_MAP_BOLD,4,2              ; @VFNT_MAP_BOLD
	.comm	_VFNT_MAP_BOLD_RH,4,2           ; @VFNT_MAP_BOLD_RH
	.no_dead_strip	_write_fnt
.subsections_via_symbols
