	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_rc_accelerators
_write_rc_accelerators:                 ## @write_rc_accelerators
	.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	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movl	$6, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fwrite
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.1:
	movq	_ACC_VIRTKEY@GOTPCREL(%rip), %r12
	movq	_ACC_CONTROL@GOTPCREL(%rip), %r13
	movq	_ACC_ALT@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %edi
	movq	%r14, %rsi
	callq	_fputc
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$2, %esi
	movl	$1, %edx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rcx
	callq	_fwrite
	movl	(%rbx), %edi
	cmpl	$127, %edi
	ja	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_ISPRINT
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edx
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$9, %esi
	movl	$1, %edx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$7, %esi
	movl	$1, %edx
	leaq	L_.str.6(%rip), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rcx
	callq	_fwrite
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %eax
	movq	_ACC_SHIFT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$7, %esi
	movl	$1, %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rcx
	callq	_fwrite
	movl	4(%rbx), %eax
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, (%r13)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$9, %esi
	movl	$1, %edx
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rcx
	callq	_fwrite
	movl	4(%rbx), %eax
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, (%r15)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$5, %esi
	movl	$1, %edx
	leaq	L_.str.9(%rip), %rdi
	movq	%r14, %rcx
	callq	_fwrite
	jmp	LBB0_16
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%rbx), %edx
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_10
LBB0_17:
	leaq	L_.str.11(%rip), %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%r14, %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	"BEGIN\n"

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

	.comm	_ACC_VIRTKEY,4,2                ## @ACC_VIRTKEY
L_.str.2:                               ## @.str.2
	.asciz	"\"%c\""

L_.str.3:                               ## @.str.3
	.asciz	"%d"

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

L_.str.5:                               ## @.str.5
	.asciz	", VIRTKEY"

L_.str.6:                               ## @.str.6
	.asciz	", ASCII"

	.comm	_ACC_SHIFT,4,2                  ## @ACC_SHIFT
L_.str.7:                               ## @.str.7
	.asciz	", SHIFT"

	.comm	_ACC_CONTROL,4,2                ## @ACC_CONTROL
L_.str.8:                               ## @.str.8
	.asciz	", CONTROL"

	.comm	_ACC_ALT,4,2                    ## @ACC_ALT
L_.str.9:                               ## @.str.9
	.asciz	", ALT"

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

	.no_dead_strip	_write_rc_accelerators
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_rc_accelerators
_write_rc_accelerators:                 ; @write_rc_accelerators
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #6
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	cbz	x20, LBB0_17
; %bb.1:
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x25, _ACC_VIRTKEY@GOTPAGE
Lloh5:
	ldr	x25, [x25, _ACC_VIRTKEY@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str.4@PAGE
Lloh7:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh8:
	adrp	x24, l_.str.3@PAGE
Lloh9:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh10:
	adrp	x26, _ACC_SHIFT@GOTPAGE
Lloh11:
	ldr	x26, [x26, _ACC_SHIFT@GOTPAGEOFF]
Lloh12:
	adrp	x27, _ACC_CONTROL@GOTPAGE
Lloh13:
	ldr	x27, [x27, _ACC_CONTROL@GOTPAGEOFF]
Lloh14:
	adrp	x28, _ACC_ALT@GOTPAGE
Lloh15:
	ldr	x28, [x28, _ACC_ALT@GOTPAGEOFF]
Lloh16:
	adrp	x22, l_.str.7@PAGE
Lloh17:
	add	x22, x22, l_.str.7@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_17
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #2
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	w0, [x20]
	cmp	w0, #127
	b.hi	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_ISPRINT
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #4]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x24
	bl	_fprintf
	ldr	x8, [x20, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_fprintf
	ldr	w8, [x20, #4]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #9
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #7
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #4]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	w1, #7
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	w8, [x20, #4]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh22:
	adrp	x0, l_.str.8@PAGE
Lloh23:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #9
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	w8, [x20, #4]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh24:
	adrp	x0, l_.str.9@PAGE
Lloh25:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	w1, #5
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsb	x8, [x20]
	str	x8, [sp]
	mov	x0, x19
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	x8, [x20, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_fprintf
	b	LBB0_10
LBB0_17:
Lloh28:
	adrp	x0, l_.str.11@PAGE
Lloh29:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	w1, #4
	mov	w2, #1
	mov	x3, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_fwrite
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BEGIN\n"

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

	.comm	_ACC_VIRTKEY,4,2                ; @ACC_VIRTKEY
l_.str.2:                               ; @.str.2
	.asciz	"\"%c\""

l_.str.3:                               ; @.str.3
	.asciz	"%d"

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

l_.str.5:                               ; @.str.5
	.asciz	", VIRTKEY"

l_.str.6:                               ; @.str.6
	.asciz	", ASCII"

	.comm	_ACC_SHIFT,4,2                  ; @ACC_SHIFT
l_.str.7:                               ; @.str.7
	.asciz	", SHIFT"

	.comm	_ACC_CONTROL,4,2                ; @ACC_CONTROL
l_.str.8:                               ; @.str.8
	.asciz	", CONTROL"

	.comm	_ACC_ALT,4,2                    ; @ACC_ALT
l_.str.9:                               ; @.str.9
	.asciz	", ALT"

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

	.no_dead_strip	_write_rc_accelerators
.subsections_via_symbols
