	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ax25_addr_parse                ## -- Begin function ax25_addr_parse
	.p2align	4, 0x90
_ax25_addr_parse:                       ## @ax25_addr_parse
	.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
	cmpl	$14, %esi
	jge	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_2:
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	16(%rbp), %rsi
	testq	%r9, %r9
	je	LBB0_7
## %bb.3:
	movl	$0, (%r9)
	movq	_AX25_CBIT@GOTPCREL(%rip), %rdx
	movb	(%rdx), %al
	testb	%al, 6(%r15)
	je	LBB0_5
## %bb.4:
	movq	_AX25_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r9)
	movb	(%rdx), %al
LBB0_5:
	testb	%al, 13(%r15)
	je	LBB0_7
## %bb.6:
	movq	_AX25_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r9)
LBB0_7:
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movzbl	13(%r15), %eax
	notl	%eax
	movq	_AX25_DAMA_FLAG@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	andl	%eax, %edx
	movl	%edx, (%rsi)
LBB0_9:
	testq	%rcx, %rcx
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	je	LBB0_11
## %bb.10:
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	-48(%rbp), %r8                  ## 8-byte Reload
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	leaq	7(%r15), %rsi
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	-48(%rbp), %r8                  ## 8-byte Reload
LBB0_13:
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rax
	leaq	(%r15,%rax,2), %r13
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	movq	%rcx, (%r8)
	movq	_AX25_EBIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	testb	%cl, -1(%r15,%rax,2)
	je	LBB0_16
## %bb.14:
	movq	%r13, %rax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	addq	%rax, %rax
	subl	%eax, %r12d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	$0, (%rax,%r15,4)
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, %rsi
	movq	_AX25_EBIT@GOTPCREL(%rip), %rdx
	movslq	(%r14), %rcx
	leaq	(%rcx,%r13), %rax
	subl	%ecx, %r12d
	movzbl	(%rdx), %edx
	addq	$4, %rbx
	incq	%r15
	testb	%dl, -1(%r13,%rcx)
	movq	%rax, %r13
	jne	LBB0_15
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	_AX25_MAX_DIGIS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_1
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$0, %eax
	cmpl	$7, %r12d
	jl	LBB0_15
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	16(%r8), %rdi
	addq	%rbx, %rdi
	movq	%rsi, %r14
	movl	(%rsi), %edx
	movq	%r13, %rsi
	callq	_memcpy
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	leal	1(%r15), %eax
	movl	%eax, 4(%r8)
	movq	_AX25_HBIT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movq	8(%r8), %rax
	testb	%cl, 6(%r13)
	je	LBB0_17
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, (%rax,%r15,4)
	movl	%r15d, (%r8)
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_CBIT,1,0                  ## @AX25_CBIT
	.comm	_AX25_COMMAND,4,2               ## @AX25_COMMAND
	.comm	_AX25_RESPONSE,4,2              ## @AX25_RESPONSE
	.comm	_AX25_DAMA_FLAG,1,0             ## @AX25_DAMA_FLAG
	.comm	_AX25_ADDR_LEN,4,2              ## @AX25_ADDR_LEN
	.comm	_AX25_EBIT,1,0                  ## @AX25_EBIT
	.comm	_AX25_MAX_DIGIS,4,2             ## @AX25_MAX_DIGIS
	.comm	_AX25_HBIT,1,0                  ## @AX25_HBIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ax25_addr_parse                ; -- Begin function ax25_addr_parse
	.p2align	2
_ax25_addr_parse:                       ; @ax25_addr_parse
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w1, #14
	b.ge	LBB0_2
LBB0_1:
	mov	x20, #0
	b	LBB0_14
LBB0_2:
	mov	x19, x4
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	cbz	x5, LBB0_7
; %bb.3:
	str	wzr, [x5]
	ldrb	w10, [x20, #6]
Lloh0:
	adrp	x9, _AX25_CBIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AX25_CBIT@GOTPAGEOFF]
	ldrb	w8, [x9]
	tst	w8, w10
	b.eq	LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _AX25_COMMAND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AX25_COMMAND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x5]
	ldrb	w8, [x9]
LBB0_5:
	ldrb	w9, [x20, #13]
	tst	w8, w9
	b.eq	LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _AX25_RESPONSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AX25_RESPONSE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x5]
LBB0_7:
	cbz	x6, LBB0_9
; %bb.8:
	ldrb	w8, [x20, #13]
Lloh8:
	adrp	x9, _AX25_DAMA_FLAG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AX25_DAMA_FLAG@GOTPAGEOFF]
	ldrb	w9, [x9]
	bic	w8, w9, w8
	str	w8, [x6]
LBB0_9:
Lloh10:
	adrp	x23, _AX25_ADDR_LEN@GOTPAGE
Lloh11:
	ldr	x23, [x23, _AX25_ADDR_LEN@GOTPAGEOFF]
	cbz	x3, LBB0_11
; %bb.10:
	ldr	w2, [x23]
	mov	x0, x3
	mov	x1, x20
	bl	_memcpy
LBB0_11:
	cbz	x22, LBB0_13
; %bb.12:
	add	x1, x20, #7
	ldr	w2, [x23]
	mov	x0, x22
	bl	_memcpy
LBB0_13:
	ldrsw	x8, [x23]
	lsl	x8, x8, #1
	add	x20, x20, x8
	movi	d0, #0x000000ffffffff
	str	d0, [x19]
	ldurb	w9, [x20, #-1]
Lloh12:
	adrp	x22, _AX25_EBIT@GOTPAGE
Lloh13:
	ldr	x22, [x22, _AX25_EBIT@GOTPAGEOFF]
	ldrb	w10, [x22]
	tst	w10, w9
	b.eq	LBB0_15
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x24, #0
	mov	x25, #0
	sub	w21, w21, w8
Lloh14:
	adrp	x26, _AX25_MAX_DIGIS@GOTPAGE
Lloh15:
	ldr	x26, [x26, _AX25_MAX_DIGIS@GOTPAGEOFF]
Lloh16:
	adrp	x27, _AX25_HBIT@GOTPAGE
Lloh17:
	ldr	x27, [x27, _AX25_HBIT@GOTPAGEOFF]
	mov	w28, #1
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	str	wzr, [x8, x25, lsl #2]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldrsw	x8, [x23]
	add	x20, x20, x8
	sub	w21, w21, w8
	ldurb	w8, [x20, #-1]
	ldrb	w9, [x22]
	add	x24, x24, #4
	add	x25, x25, #1
	tst	w9, w8
	b.ne	LBB0_14
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x26]
	cmp	x25, x8
	ccmp	w21, #7, #8, lt
	b.lt	LBB0_1
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x24
	ldr	w2, [x23]
	mov	x1, x20
	bl	_memcpy
	add	w8, w25, #1
	str	w8, [x19, #4]
	ldrb	w9, [x20, #6]
	ldrb	w10, [x27]
	ldr	x8, [x19, #8]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	str	w28, [x8, x25, lsl #2]
	str	w25, [x19]
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_CBIT,1,0                  ; @AX25_CBIT
	.comm	_AX25_COMMAND,4,2               ; @AX25_COMMAND
	.comm	_AX25_RESPONSE,4,2              ; @AX25_RESPONSE
	.comm	_AX25_DAMA_FLAG,1,0             ; @AX25_DAMA_FLAG
	.comm	_AX25_ADDR_LEN,4,2              ; @AX25_ADDR_LEN
	.comm	_AX25_EBIT,1,0                  ; @AX25_EBIT
	.comm	_AX25_MAX_DIGIS,4,2             ; @AX25_MAX_DIGIS
	.comm	_AX25_HBIT,1,0                  ; @AX25_HBIT
.subsections_via_symbols
