	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_rc_stringtable
_write_rc_stringtable:                  ## @write_rc_stringtable
	.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	%rdx, %r14
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpl	$0, 4(%rsi)
	je	LBB0_10
## %bb.3:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_5
LBB0_10:
	movl	(%rsi), %eax
	shll	$4, %eax
	addl	$-16, %eax
	movslq	%eax, %r13
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	movl	$6, %esi
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fwrite
	leaq	L_.str.4(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r13
	addq	$16, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	cmpq	$0, (%rax,%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r14), %rax
	movl	8(%rax,%rbx), %esi
	movq	(%rax,%rbx), %rdx
	movq	%r15, %rdi
	callq	_unicode_print_quoted
	movl	$10, %edi
	movq	%r15, %rsi
	callq	_fputc
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.6(%rip), %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fwrite                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/* %s string table name.  */\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"Invalid"

L_.str.3:                               ## @.str.3
	.asciz	"BEGIN\n"

L_.str.4:                               ## @.str.4
	.asciz	"  %lu, "

L_.str.6:                               ## @.str.6
	.asciz	"END\n"

	.no_dead_strip	_write_rc_stringtable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_rc_stringtable
_write_rc_stringtable:                  ; @write_rc_stringtable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.1:
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_4:
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	mov	x22, #0
	b	LBB0_6
LBB0_5:
	ldr	w8, [x1]
	lsl	w8, w8, #4
	sub	w8, w8, #16
	sxtw	x22, w8
LBB0_6:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #6
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	mov	x23, #0
Lloh8:
	adrp	x21, l_.str.4@PAGE
Lloh9:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	add	x23, x23, #16
	cmp	x23, #256
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8, x23]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x22, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_fprintf
	ldr	x8, [x20]
	add	x8, x8, x23
	ldr	w1, [x8, #8]
	ldr	x2, [x8]
	mov	x0, x19
	bl	_unicode_print_quoted
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	b	LBB0_7
LBB0_10:
Lloh10:
	adrp	x0, l_.str.6@PAGE
Lloh11:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #4
	mov	w2, #1
	mov	x3, 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
	add	sp, sp, #80
	b	_fwrite
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/* %s string table name.  */\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"Invalid"

l_.str.3:                               ; @.str.3
	.asciz	"BEGIN\n"

l_.str.4:                               ; @.str.4
	.asciz	"  %lu, "

l_.str.6:                               ; @.str.6
	.asciz	"END\n"

	.no_dead_strip	_write_rc_stringtable
.subsections_via_symbols
