	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ax25_ds_idletimer_expiry       ## -- Begin function ax25_ds_idletimer_expiry
	.p2align	4, 0x90
_ax25_ds_idletimer_expiry:              ## @ax25_ds_idletimer_expiry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_ax25_clear_queues
	movq	$0, 16(%rbx)
	movq	_AX25_STATE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_ax25_calculate_t1
	movq	%rbx, %rdi
	callq	_ax25_start_t1timer
	movq	%rbx, %rdi
	callq	_ax25_stop_t3timer
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	callq	_bh_lock_sock
	movq	_TCP_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rdi
	movl	%eax, 24(%rdi)
	movq	$0, 16(%rdi)
	movq	_SEND_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rdi)
	movq	_SOCK_DEAD@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	callq	*(%rdi)
	movq	(%rbx), %rdi
	movl	(%r14), %esi
	callq	_sock_set_flag
LBB0_3:
	movq	(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bh_unlock_sock                 ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX25_STATE_2,4,2               ## @AX25_STATE_2
	.comm	_TCP_CLOSE,4,2                  ## @TCP_CLOSE
	.comm	_SEND_SHUTDOWN,4,2              ## @SEND_SHUTDOWN
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ax25_ds_idletimer_expiry       ; -- Begin function ax25_ds_idletimer_expiry
	.p2align	2
_ax25_ds_idletimer_expiry:              ; @ax25_ds_idletimer_expiry
	.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
	bl	_ax25_clear_queues
	str	xzr, [x19, #16]
Lloh0:
	adrp	x8, _AX25_STATE_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AX25_STATE_2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_ax25_calculate_t1
	mov	x0, x19
	bl	_ax25_start_t1timer
	mov	x0, x19
	bl	_ax25_stop_t3timer
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
	bl	_bh_lock_sock
Lloh3:
	adrp	x8, _TCP_CLOSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCP_CLOSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x0, [x19]
	str	w8, [x0, #24]
	str	xzr, [x0, #16]
Lloh6:
	adrp	x8, _SEND_SHUTDOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEND_SHUTDOWN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
Lloh9:
	adrp	x20, _SOCK_DEAD@GOTPAGE
Lloh10:
	ldr	x20, [x20, _SOCK_DEAD@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sock_flag
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	ldr	x8, [x0]
	blr	x8
	ldr	x0, [x19]
	ldr	w1, [x20]
	bl	_sock_set_flag
LBB0_3:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bh_unlock_sock
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AX25_STATE_2,4,2               ; @AX25_STATE_2
	.comm	_TCP_CLOSE,4,2                  ; @TCP_CLOSE
	.comm	_SEND_SHUTDOWN,4,2              ; @SEND_SHUTDOWN
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
.subsections_via_symbols
