	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_pattern                ## -- Begin function convert_pattern
	.p2align	4, 0x90
_convert_pattern:                       ## @convert_pattern
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_out_write_str
	movq	_label_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, %rsi
	callq	_out_write_str
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_out_write_dec
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_out_write_str
	xorl	%r15d, %r15d
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_out_write_str
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	leaq	-80(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_unpack_info
	movl	-68(%rbp), %edi
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	$1, %ecx
	callq	_mod_get_index_from_period
	movl	-80(%rbp), %ecx
	movl	-68(%rbp), %r8d
	movl	-76(%rbp), %r9d
	movl	-72(%rbp), %edx
	movl	%edx, (%rsp)
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_convert_channel1
	leaq	L_.str.6(%rip), %r14
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_out_write_str
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movl	4(%rax), %esi
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r13, %rdi
	leaq	-80(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_unpack_info
	movl	-68(%rbp), %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	$2, %ecx
	callq	_mod_get_index_from_period
	movl	-80(%rbp), %ecx
	movl	-68(%rbp), %r8d
	movl	-76(%rbp), %r9d
	movl	-72(%rbp), %edx
	movl	%edx, (%rsp)
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_convert_channel2
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_out_write_str
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movl	8(%rax), %esi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r13, %rdi
	leaq	-80(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_unpack_info
	movl	-68(%rbp), %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	$3, %ecx
	callq	_mod_get_index_from_period
	movl	-80(%rbp), %ecx
	movl	-68(%rbp), %r8d
	movl	-76(%rbp), %r9d
	movl	-72(%rbp), %edx
	movl	%edx, (%rsp)
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_convert_channel3
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_out_write_str
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movl	12(%rax), %esi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r13, %rdi
	leaq	-80(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_unpack_info
	movl	-68(%rbp), %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	$4, %ecx
	callq	_mod_get_index_from_period
	movl	-80(%rbp), %ecx
	movl	-68(%rbp), %r8d
	movl	-76(%rbp), %r9d
	movl	-72(%rbp), %edx
	movl	%edx, (%rsp)
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_convert_channel4
	cmpq	$63, %r15
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.8(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_out_write_str
	incq	%r15
	jmp	LBB0_1
LBB0_3:
	leaq	L_.str.7(%rip), %rdi
	movq	%rdi, %rsi
	callq	_out_write_str
	leaq	L_.str.9(%rip), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_out_write_str
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"const unsigned char "

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_label_name,8,3                 ## @label_name
L_.str.2:                               ## @.str.2
	.asciz	"[] = {\n"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"  DB  "

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

L_.str.7:                               ## @.str.7
	.asciz	"\n"

L_.str.8:                               ## @.str.8
	.asciz	",\n"

L_.str.9:                               ## @.str.9
	.asciz	"};\n\n"

L_.str.10:                              ## @.str.10
	.asciz	"\n\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_pattern                ; -- Begin function convert_pattern
	.p2align	2
_convert_pattern:                       ; @convert_pattern
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_out_write_str
Lloh7:
	adrp	x8, _label_name@GOTPAGE
Lloh8:
	ldr	x8, [x8, _label_name@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	mov	x1, x0
	bl	_out_write_str
	mov	x0, x19
	bl	_out_write_dec
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_out_write_str
	mov	x21, #0
Lloh14:
	adrp	x22, l_.str.4@PAGE
Lloh15:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh16:
	adrp	x23, l_.str.5@PAGE
Lloh17:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh18:
	adrp	x24, l_.str.6@PAGE
Lloh19:
	add	x24, x24, l_.str.6@PAGEOFF
Lloh20:
	adrp	x25, l_.str.8@PAGE
Lloh21:
	add	x25, x25, l_.str.8@PAGEOFF
Lloh22:
	adrp	x26, l_.str.7@PAGE
Lloh23:
	add	x26, x26, l_.str.7@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_out_write_str
	ldr	x8, [x20]
	lsl	x27, x21, #3
	ldr	x8, [x8, x27]
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #24
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	bl	_unpack_info
	ldr	w0, [sp, #16]
	mov	x1, x19
	mov	x2, x21
	mov	w3, #1
	bl	_mod_get_index_from_period
	mov	x2, x0
	ldp	w4, w3, [sp, #16]
	ldp	w6, w5, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_convert_channel1
	mov	x0, x24
	mov	x1, x24
	bl	_out_write_str
	ldr	x8, [x20]
	ldr	x8, [x8, x27]
	ldr	w1, [x8, #4]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #24
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	bl	_unpack_info
	ldr	w0, [sp, #16]
	mov	x1, x19
	mov	x2, x21
	mov	w3, #2
	bl	_mod_get_index_from_period
	mov	x2, x0
	ldp	w4, w3, [sp, #16]
	ldp	w6, w5, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_convert_channel2
	mov	x0, x24
	mov	x1, x24
	bl	_out_write_str
	ldr	x8, [x20]
	ldr	x8, [x8, x27]
	ldr	w1, [x8, #8]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #24
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	bl	_unpack_info
	ldr	w0, [sp, #16]
	mov	x1, x19
	mov	x2, x21
	mov	w3, #3
	bl	_mod_get_index_from_period
	mov	x2, x0
	ldp	w4, w3, [sp, #16]
	ldp	w6, w5, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_convert_channel3
	mov	x0, x24
	mov	x1, x24
	bl	_out_write_str
	ldr	x8, [x20]
	ldr	x8, [x8, x27]
	ldr	w1, [x8, #12]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #24
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	bl	_unpack_info
	ldr	w0, [sp, #16]
	mov	x1, x19
	mov	x2, x21
	mov	w3, #4
	bl	_mod_get_index_from_period
	mov	x2, x0
	ldp	w4, w3, [sp, #16]
	ldp	w6, w5, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_convert_channel4
	cmp	x21, #63
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x25
	mov	x1, x26
	bl	_out_write_str
	add	x21, x21, #1
	b	LBB0_1
LBB0_3:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x0
	bl	_out_write_str
Lloh26:
	adrp	x0, l_.str.9@PAGE
Lloh27:
	add	x0, x0, l_.str.9@PAGEOFF
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_out_write_str
	ldr	x8, [sp, #40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"const unsigned char "

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_label_name,8,3                 ; @label_name
l_.str.2:                               ; @.str.2
	.asciz	"[] = {\n"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"  DB  "

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

l_.str.7:                               ; @.str.7
	.asciz	"\n"

l_.str.8:                               ; @.str.8
	.asciz	",\n"

l_.str.9:                               ; @.str.9
	.asciz	"};\n\n"

l_.str.10:                              ; @.str.10
	.asciz	"\n\n"

.subsections_via_symbols
