	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rose_parse_national
_rose_parse_national:                   ## @rose_parse_national
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	32(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	36(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movb	(%rdi), %al
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %rdx
	xorl	%esi, %esi
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	movl	%eax, %ecx
	shrb	$6, %cl
	movzbl	%cl, %ecx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$2, %r12
	movb	$2, %al
	movl	$2, %r14d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_FAC_NATIONAL_RAND@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	2(%r12), %al
	movb	%al, (%r15)
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$3, %r12
	movb	$3, %al
	movl	$3, %r14d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$4, %r12
	movb	$4, %al
	movl	$4, %r14d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	1(%r12), %r14d
	movq	_FAC_NATIONAL_DEST_DIGI@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%esi, %esi
	movl	$1, %esi
	jne	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r15), %rdi
	leaq	2(%r12), %rsi
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	callq	_memcpy
	leaq	LJTI0_0(%rip), %rdx
	movl	$1, 4(%r15)
	xorl	%esi, %esi
	jmp	LBB0_26
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_FAC_NATIONAL_SRC_DIGI@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%esi, %esi
	movl	$1, %esi
	jne	LBB0_26
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r15), %rdi
	leaq	2(%r12), %rsi
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	callq	_memcpy
	leaq	LJTI0_0(%rip), %rdx
	movl	$1, 8(%r15)
	xorl	%esi, %esi
	jmp	LBB0_26
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_FAC_NATIONAL_FAIL_CALL@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %r15d
	leaq	2(%r12), %rsi
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_FAC_NATIONAL_FAIL_ADD@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %r15d
	leaq	3(%r12), %rsi
	movq	_ROSE_ADDR_LEN@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_memcpy
	movl	%r15d, %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	leaq	LJTI0_0(%rip), %rdx
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	%r14, %r12
	addq	$2, %r12
	addq	$2, %r14
	movl	%r14d, %eax
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	addb	%al, %r13b
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_1 Depth=1
	subl	%r14d, %ebx
	testl	%ebx, %ebx
	jg	LBB0_1
	jmp	LBB0_29
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_FAC_NATIONAL_DIGIS@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 4(%r15)
	movl	$1, %esi
	testl	%r14d, %r14d
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	addq	$2, %r12
	xorl	%r15d, %r15d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	16(%rsi), %rax
	movl	4(%rsi), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 4(%rsi)
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=2
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movzbl	(%rax), %edx
	movq	%r12, %rsi
	callq	_memcpy
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	movzbl	%al, %ecx
	addq	%rcx, %r12
	addl	%eax, %r15d
	movzbl	%r15b, %r15d
	cmpl	%r14d, %r15d
	leaq	LJTI0_0(%rip), %rdx
	movl	$1, %esi
	jae	LBB0_25
LBB0_21:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_AX25_HBIT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	testb	%al, 6(%r12)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	24(%rsi), %rax
	movl	8(%rsi), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 8(%rsi)
	jmp	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_29:
	movzbl	%r13b, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_FAC_NATIONAL_RAND,1,0          ## @FAC_NATIONAL_RAND
	.comm	_FAC_NATIONAL_DEST_DIGI,1,0     ## @FAC_NATIONAL_DEST_DIGI
	.comm	_AX25_ADDR_LEN,1,0              ## @AX25_ADDR_LEN
	.comm	_FAC_NATIONAL_SRC_DIGI,1,0      ## @FAC_NATIONAL_SRC_DIGI
	.comm	_FAC_NATIONAL_FAIL_CALL,1,0     ## @FAC_NATIONAL_FAIL_CALL
	.comm	_FAC_NATIONAL_FAIL_ADD,1,0      ## @FAC_NATIONAL_FAIL_ADD
	.comm	_ROSE_ADDR_LEN,1,0              ## @ROSE_ADDR_LEN
	.comm	_FAC_NATIONAL_DIGIS,1,0         ## @FAC_NATIONAL_DIGIS
	.comm	_AX25_HBIT,1,0                  ## @AX25_HBIT
	.no_dead_strip	_rose_parse_national
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rose_parse_national
_rose_parse_national:                   ; @rose_parse_national
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w25, #0
	mov	w22, #0
	add	x10, x1, #32
	ldrb	w8, [x0]
	add	x9, x1, #36
	stp	x10, x9, [sp]                   ; 16-byte Folded Spill
Lloh0:
	adrp	x28, _AX25_ADDR_LEN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _AX25_ADDR_LEN@GOTPAGEOFF]
Lloh2:
	adrp	x23, lJTI0_0@PAGE
Lloh3:
	add	x23, x23, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #4
	mov	w8, #4
	mov	w9, #4
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w9, w25
	sub	w19, w19, w8
	ldrb	w8, [x21]
	cmp	w8, #0
	ccmp	w19, #0, #4, ne
	b.le	LBB0_27
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	lsr	w9, w8, #6
	adr	x10, LBB0_1
	ldrb	w11, [x23, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #2
	mov	w8, #2
	mov	w9, #2
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh4:
	adrp	x9, _FAC_NATIONAL_RAND@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FAC_NATIONAL_RAND@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x21, #2]
	strb	w8, [x20]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #3
	mov	w8, #3
	mov	w9, #3
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w26, [x21, #1]
Lloh6:
	adrp	x9, _FAC_NATIONAL_DEST_DIGI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FAC_NATIONAL_DEST_DIGI@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w22, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #16]
	add	x1, x21, #2
	ldrb	w2, [x28]
	bl	_memcpy
	mov	w8, #1
	str	w8, [x20, #4]
	b	LBB0_26
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x9, _FAC_NATIONAL_SRC_DIGI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FAC_NATIONAL_SRC_DIGI@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	w22, LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #1
	b	LBB0_26
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh10:
	adrp	x9, _FAC_NATIONAL_FAIL_CALL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FAC_NATIONAL_FAIL_CALL@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x21, #2
	ldrb	w2, [x28]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_memcpy
	b	LBB0_26
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh12:
	adrp	x9, _FAC_NATIONAL_FAIL_ADD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FAC_NATIONAL_FAIL_ADD@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x21, #3
Lloh14:
	adrp	x8, _ROSE_ADDR_LEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ROSE_ADDR_LEN@GOTPAGEOFF]
	ldrb	w2, [x8]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_memcpy
	b	LBB0_26
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #24]
	add	x1, x21, #2
	ldrb	w2, [x28]
	bl	_memcpy
	mov	w8, #1
	str	w8, [x20, #8]
	b	LBB0_26
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh16:
	adrp	x9, _FAC_NATIONAL_DIGIS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FAC_NATIONAL_DIGIS@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	stp	wzr, wzr, [x20, #4]
	cbz	w26, LBB0_13
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #0
	add	x24, x21, #2
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=2
	ldr	x8, [x20, #16]
	ldr	w9, [x20, #4]
	add	w10, w9, #1
	str	w10, [x20, #4]
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=2
	add	x0, x8, w9, sxtw #2
	ldrb	w2, [x28]
	mov	x1, x24
	bl	_memcpy
	ldrb	w8, [x28]
	add	x24, x24, w8, uxtb
	add	w8, w27, w8
	and	w27, w8, #0xff
	mov	w22, #1
	cmp	w27, w26
	b.hs	LBB0_26
LBB0_24:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x24, #6]
Lloh18:
	adrp	x9, _AX25_HBIT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AX25_HBIT@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	ldr	x8, [x20, #24]
	ldr	w9, [x20, #8]
	add	w10, w9, #1
	str	w10, [x20, #8]
	b	LBB0_23
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x26, #2
	add	x21, x21, x8
	mov	x9, x8
	b	LBB0_2
LBB0_27:
	and	w0, w25, #0xff
	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
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
                                        ; -- End function
	.comm	_FAC_NATIONAL_RAND,1,0          ; @FAC_NATIONAL_RAND
	.comm	_FAC_NATIONAL_DEST_DIGI,1,0     ; @FAC_NATIONAL_DEST_DIGI
	.comm	_AX25_ADDR_LEN,1,0              ; @AX25_ADDR_LEN
	.comm	_FAC_NATIONAL_SRC_DIGI,1,0      ; @FAC_NATIONAL_SRC_DIGI
	.comm	_FAC_NATIONAL_FAIL_CALL,1,0     ; @FAC_NATIONAL_FAIL_CALL
	.comm	_FAC_NATIONAL_FAIL_ADD,1,0      ; @FAC_NATIONAL_FAIL_ADD
	.comm	_ROSE_ADDR_LEN,1,0              ; @ROSE_ADDR_LEN
	.comm	_FAC_NATIONAL_DIGIS,1,0         ; @FAC_NATIONAL_DIGIS
	.comm	_AX25_HBIT,1,0                  ; @AX25_HBIT
	.no_dead_strip	_rose_parse_national
.subsections_via_symbols
