	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ax25_addr_build                ## -- Begin function ax25_addr_build
	.p2align	4, 0x90
_ax25_addr_build:                       ## @ax25_addr_build
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %ebx
	movq	%rcx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	_AX25_EBIT@GOTPCREL(%rip), %rcx
	movq	_AX25_CBIT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	(%rcx), %cl
	orb	%al, %cl
	notb	%cl
	andb	6(%r12), %cl
	movq	_AX25_SSSID_SPARE@GOTPCREL(%rip), %r15
	orb	(%r15), %cl
	movb	%cl, 6(%r12)
	movq	_AX25_COMMAND@GOTPCREL(%rip), %rdx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	cmpl	%ebx, (%rdx)
	jne	LBB0_2
## %bb.1:
	orb	%al, %cl
	movb	%cl, 6(%r12)
LBB0_2:
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	leaq	(%r12,%rbx), %r13
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movq	_AX25_CBIT@GOTPCREL(%rip), %rsi
	movb	(%rsi), %cl
	movq	_AX25_EBIT@GOTPCREL(%rip), %rax
	orb	(%rax), %cl
	notb	%cl
	andb	6(%r12,%rbx), %cl
	movb	%cl, 6(%r12,%rbx)
	movb	(%r15), %al
	notb	%al
	andb	%cl, %al
	movb	%al, 6(%r12,%rbx)
	movq	_AX25_MODULUS@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_AX25_ESSID_SPARE@GOTPCREL(%rip), %r15
LBB0_4:
	orb	(%r15), %al
	movb	%al, 6(%r12,%rbx)
	movq	_AX25_RESPONSE@GOTPCREL(%rip), %rcx
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rcx)
	jne	LBB0_6
## %bb.5:
	orb	(%rsi), %al
	movb	%al, 6(%r13)
LBB0_6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.9:
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	addq	%rdx, %r13
	leal	(%rdx,%rbx), %r15d
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.11:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	notb	%cl
	andb	6(%r13), %cl
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_AX25_EBIT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	movl	%eax, %edx
	notb	%dl
	andb	%cl, %dl
	movq	_AX25_SSSID_SPARE@GOTPCREL(%rip), %rcx
	orb	(%rcx), %dl
	movb	%dl, 6(%r13)
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	addq	%rdx, %r13
	addl	%edx, %r15d
	incq	%r12
	movslq	(%r14), %rcx
	addq	$4, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rsi
	addq	%rbx, %rsi
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	8(%r14), %rax
	cmpq	$0, (%rax,%rbx,2)
	movq	_AX25_HBIT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	orb	6(%r13), %cl
	jmp	LBB0_15
LBB0_8:
	movq	_AX25_EBIT@GOTPCREL(%rip), %rcx
	orb	(%rcx), %al
	movb	%al, 6(%r13)
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	addl	%r15d, %r15d
	jmp	LBB0_17
LBB0_10:
	movq	_AX25_EBIT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
LBB0_16:
	orb	%al, -1(%r13)
LBB0_17:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_ADDR_LEN,4,2              ## @AX25_ADDR_LEN
	.comm	_AX25_EBIT,1,0                  ## @AX25_EBIT
	.comm	_AX25_CBIT,1,0                  ## @AX25_CBIT
	.comm	_AX25_SSSID_SPARE,1,0           ## @AX25_SSSID_SPARE
	.comm	_AX25_COMMAND,4,2               ## @AX25_COMMAND
	.comm	_AX25_MODULUS,4,2               ## @AX25_MODULUS
	.comm	_AX25_ESSID_SPARE,1,0           ## @AX25_ESSID_SPARE
	.comm	_AX25_RESPONSE,4,2              ## @AX25_RESPONSE
	.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_build                ; -- Begin function ax25_addr_build
	.p2align	2
_ax25_addr_build:                       ; @ax25_addr_build
	.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
	mov	x21, x5
	mov	x20, x4
	mov	x19, x3
	mov	x8, x2
	mov	x24, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _AX25_ADDR_LEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AX25_ADDR_LEN@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x1, x8
	bl	_memcpy
Lloh2:
	adrp	x26, _AX25_EBIT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _AX25_EBIT@GOTPAGEOFF]
	ldrb	w9, [x26]
Lloh4:
	adrp	x28, _AX25_CBIT@GOTPAGE
Lloh5:
	ldr	x28, [x28, _AX25_CBIT@GOTPAGEOFF]
	ldrb	w8, [x28]
	orr	w9, w8, w9
	ldrb	w10, [x23, #6]
	bic	w9, w10, w9
Lloh6:
	adrp	x27, _AX25_SSSID_SPARE@GOTPAGE
Lloh7:
	ldr	x27, [x27, _AX25_SSSID_SPARE@GOTPAGEOFF]
	ldrb	w10, [x27]
	orr	w9, w10, w9
	strb	w9, [x23, #6]
Lloh8:
	adrp	x10, _AX25_COMMAND@GOTPAGE
Lloh9:
	ldr	x10, [x10, _AX25_COMMAND@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w10, w20
	b.ne	LBB0_2
; %bb.1:
	orr	w8, w9, w8
	strb	w8, [x23, #6]
LBB0_2:
	ldrsw	x22, [x25]
	add	x23, x23, x22
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	bl	_memcpy
	ldrb	w8, [x26]
	ldrb	w9, [x28]
	orr	w8, w9, w8
	ldrb	w9, [x23, #6]
	bic	w8, w9, w8
	strb	w8, [x23, #6]
	ldrb	w9, [x27]
	bic	w8, w8, w9
	strb	w8, [x23, #6]
Lloh11:
	adrp	x9, _AX25_MODULUS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AX25_MODULUS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _AX25_ESSID_SPARE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _AX25_ESSID_SPARE@GOTPAGEOFF]
	cmp	w9, w21
	csel	x9, x27, x10, eq
	ldrb	w9, [x9]
	orr	w8, w9, w8
	strb	w8, [x23, #6]
Lloh16:
	adrp	x9, _AX25_RESPONSE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _AX25_RESPONSE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w9, w20
	b.ne	LBB0_4
; %bb.3:
	ldrb	w9, [x28]
	orr	w8, w9, w8
	strb	w8, [x23, #6]
LBB0_4:
	cbz	x19, LBB0_12
; %bb.5:
	ldr	w9, [x19]
	cbz	w9, LBB0_12
; %bb.6:
	ldrsw	x2, [x25]
	add	x21, x23, x2
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	add	w20, w2, w22
	cmp	w9, #0
	b.le	LBB0_13
; %bb.7:
	mov	x22, #0
	mov	x23, #0
Lloh19:
	adrp	x24, _AX25_HBIT@GOTPAGE
Lloh20:
	ldr	x24, [x24, _AX25_HBIT@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w9, [x21, #6]
	bic	w9, w9, w8
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x26]
	bic	w9, w9, w8
	ldrb	w10, [x27]
	orr	w9, w10, w9
	strb	w9, [x21, #6]
	ldrsw	x2, [x25]
	add	x21, x21, x2
	add	w20, w2, w20
	add	x23, x23, #1
	ldrsw	x9, [x19]
	add	x22, x22, #4
	cmp	x23, x9
	b.ge	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x1, x8, x22
	mov	x0, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	x9, [x8, x23, lsl #3]
	ldrb	w8, [x24]
	cbz	x9, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w9, [x21, #6]
	orr	w9, w9, w8
	b	LBB0_9
LBB0_12:
	ldrb	w9, [x26]
	orr	w8, w8, w9
	strb	w8, [x23, #6]
	ldr	w8, [x25]
	lsl	w20, w8, #1
	b	LBB0_15
LBB0_13:
	ldrb	w8, [x26]
LBB0_14:
	ldurb	w9, [x21, #-1]
	orr	w8, w9, w8
	sturb	w8, [x21, #-1]
LBB0_15:
	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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_ADDR_LEN,4,2              ; @AX25_ADDR_LEN
	.comm	_AX25_EBIT,1,0                  ; @AX25_EBIT
	.comm	_AX25_CBIT,1,0                  ; @AX25_CBIT
	.comm	_AX25_SSSID_SPARE,1,0           ; @AX25_SSSID_SPARE
	.comm	_AX25_COMMAND,4,2               ; @AX25_COMMAND
	.comm	_AX25_MODULUS,4,2               ; @AX25_MODULUS
	.comm	_AX25_ESSID_SPARE,1,0           ; @AX25_ESSID_SPARE
	.comm	_AX25_RESPONSE,4,2              ; @AX25_RESPONSE
	.comm	_AX25_HBIT,1,0                  ; @AX25_HBIT
.subsections_via_symbols
