	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_state1_machine
_x25_state1_machine:                    ## @x25_state1_machine
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$128, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_7
## %bb.2:
	movq	%r14, %rdi
	callq	_x25_sk
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_x25_stop_timer
	movl	$0, (%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 28(%r15)
	movq	_X25_STATE_3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_X25_STD_MIN_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	movq	(%rbx), %rdi
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	_x25_addr_ntoa
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_pull
	leaq	20(%r15), %rsi
	leaq	16(%r15), %rdx
	leaq	12(%r15), %rcx
	movq	%rbx, %rdi
	callq	_x25_parse_facilities
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_pull
	movl	8(%rbx), %edx
	testl	%edx, %edx
	js	LBB0_4
## %bb.3:
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_skb_copy_from_linear_data
	movl	8(%rbx), %eax
	movl	%eax, 4(%r15)
LBB0_4:
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	callq	*(%r14)
	jmp	LBB0_7
LBB0_6:
	movq	_X25_CLEAR_CONFIRMATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_x25_write_internal
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	12(%rax), %edx
	movl	16(%rax), %ecx
	movq	%r14, %rdi
	callq	_x25_disconnect
LBB0_7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X25_STATE_3,4,2                ## @X25_STATE_3
	.comm	_TCP_ESTABLISHED,4,2            ## @TCP_ESTABLISHED
	.comm	_X25_STD_MIN_LEN,4,2            ## @X25_STD_MIN_LEN
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.comm	_X25_CLEAR_CONFIRMATION,4,2     ## @X25_CLEAR_CONFIRMATION
	.comm	_ECONNREFUSED,4,2               ## @ECONNREFUSED
	.no_dead_strip	_x25_state1_machine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_state1_machine
_x25_state1_machine:                    ; @x25_state1_machine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	cmp	w2, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_x25_sk
	mov	x21, x0
	mov	x0, x19
	bl	_x25_stop_timer
	str	wzr, [x21]
	stur	xzr, [x21, #36]
	stur	xzr, [x21, #28]
Lloh0:
	adrp	x8, _X25_STATE_3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X25_STATE_3@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TCP_ESTABLISHED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
	str	w8, [x21, #24]
Lloh5:
	ldr	w8, [x9]
	str	w8, [x19, #8]
Lloh6:
	adrp	x8, _X25_STD_MIN_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X25_STD_MIN_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skb_pull
	ldr	x0, [x20]
	add	x1, sp, #8
	mov	x2, sp
	bl	_x25_addr_ntoa
	mov	x1, x0
	mov	x0, x20
	bl	_skb_pull
	add	x1, x21, #20
	add	x2, x21, #16
	add	x3, x21, #12
	mov	x0, x20
	bl	_x25_parse_facilities
	mov	x1, x0
	mov	x0, x20
	bl	_skb_pull
	ldr	w2, [x20, #8]
	tbnz	w2, #31, LBB0_4
; %bb.3:
	ldr	w1, [x21, #8]
	mov	x0, x20
	bl	_skb_copy_from_linear_data
	ldr	w8, [x20, #8]
	str	w8, [x21, #4]
LBB0_4:
Lloh9:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _X25_CLEAR_CONFIRMATION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _X25_CLEAR_CONFIRMATION@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_x25_write_internal
Lloh15:
	adrp	x8, _ECONNREFUSED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ECONNREFUSED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldp	w2, w3, [x8, #12]
	mov	x0, x19
	bl	_x25_disconnect
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_X25_STATE_3,4,2                ; @X25_STATE_3
	.comm	_TCP_ESTABLISHED,4,2            ; @TCP_ESTABLISHED
	.comm	_X25_STD_MIN_LEN,4,2            ; @X25_STD_MIN_LEN
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.comm	_X25_CLEAR_CONFIRMATION,4,2     ; @X25_CLEAR_CONFIRMATION
	.comm	_ECONNREFUSED,4,2               ; @ECONNREFUSED
	.no_dead_strip	_x25_state1_machine
.subsections_via_symbols
