	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ax25_std_establish_data_link   ## -- Begin function ax25_std_establish_data_link
	.p2align	4, 0x90
_ax25_std_establish_data_link:          ## @ax25_std_establish_data_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$0, (%rdi)
	movq	$0, 16(%rdi)
	movq	8(%rdi), %rax
	movq	_AX25_MODULUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_AX25_SABM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AX25_SABME@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	_AX25_POLLON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AX25_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_ax25_send_control
	movq	%rbx, %rdi
	callq	_ax25_calculate_t1
	movq	%rbx, %rdi
	callq	_ax25_stop_idletimer
	movq	%rbx, %rdi
	callq	_ax25_stop_t3timer
	movq	%rbx, %rdi
	callq	_ax25_stop_t2timer
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ax25_start_t1timer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_MODULUS,8,3               ## @AX25_MODULUS
	.comm	_AX25_SABM,4,2                  ## @AX25_SABM
	.comm	_AX25_POLLON,4,2                ## @AX25_POLLON
	.comm	_AX25_COMMAND,4,2               ## @AX25_COMMAND
	.comm	_AX25_SABME,4,2                 ## @AX25_SABME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ax25_std_establish_data_link   ; -- Begin function ax25_std_establish_data_link
	.p2align	2
_ax25_std_establish_data_link:          ; @ax25_std_establish_data_link
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	wzr, [x0]
	str	xzr, [x0, #16]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _AX25_MODULUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AX25_MODULUS@GOTPAGEOFF]
Lloh2:
	adrp	x10, _AX25_SABM@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AX25_SABM@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _AX25_SABME@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AX25_SABME@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _AX25_POLLON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AX25_POLLON@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _AX25_COMMAND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AX25_COMMAND@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	bl	_ax25_send_control
	mov	x0, x19
	bl	_ax25_calculate_t1
	mov	x0, x19
	bl	_ax25_stop_idletimer
	mov	x0, x19
	bl	_ax25_stop_t3timer
	mov	x0, x19
	bl	_ax25_stop_t2timer
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ax25_start_t1timer
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_MODULUS,8,3               ; @AX25_MODULUS
	.comm	_AX25_SABM,4,2                  ; @AX25_SABM
	.comm	_AX25_POLLON,4,2                ; @AX25_POLLON
	.comm	_AX25_COMMAND,4,2               ; @AX25_COMMAND
	.comm	_AX25_SABME,4,2                 ; @AX25_SABME
.subsections_via_symbols
