	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rose_timer_expiry
_rose_timer_expiry:                     ## @rose_timer_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	_rose_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_bh_lock_sock
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_ROSE_CLEAR_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rose_write_internal
	movl	$130, (%r14)
	movq	%rbx, %rdi
	callq	_rose_start_t3timer
	jmp	LBB0_6
LBB0_4:
	movl	4(%r14), %eax
	movq	_ROSE_COND_ACK_PENDING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_6
## %bb.5:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	callq	_rose_enquiry_response
	jmp	LBB0_6
LBB0_3:
	movq	8(%r14), %rax
	decl	(%rax)
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	movl	$-1, %ecx
	callq	_rose_disconnect
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bh_unlock_sock                 ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_ROSE_CLEAR_REQUEST,4,2         ## @ROSE_CLEAR_REQUEST
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_ROSE_COND_ACK_PENDING,4,2      ## @ROSE_COND_ACK_PENDING
	.no_dead_strip	_rose_timer_expiry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rose_timer_expiry
_rose_timer_expiry:                     ; @rose_timer_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	_rose_sk
	mov	x20, x0
	mov	x0, x19
	bl	_bh_lock_sock
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _ROSE_CLEAR_REQUEST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ROSE_CLEAR_REQUEST@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rose_write_internal
	mov	w8, #130
	str	w8, [x20]
	mov	x0, x19
	bl	_rose_start_t3timer
	b	LBB0_6
LBB0_3:
	ldr	w8, [x20, #4]
Lloh5:
	adrp	x9, _ROSE_COND_ACK_PENDING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ROSE_COND_ACK_PENDING@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	bic	w8, w8, w9
	str	w8, [x20, #4]
	mov	x0, x19
	bl	_rose_enquiry_response
	b	LBB0_6
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
Lloh8:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	mov	w3, #-1
	bl	_rose_disconnect
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bh_unlock_sock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_ROSE_CLEAR_REQUEST,4,2         ; @ROSE_CLEAR_REQUEST
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_ROSE_COND_ACK_PENDING,4,2      ; @ROSE_COND_ACK_PENDING
	.no_dead_strip	_rose_timer_expiry
.subsections_via_symbols
