	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rose_rx_call_request           ## -- Begin function rose_rx_call_request
	.p2align	4, 0x90
_rose_rx_call_request:                  ## @rose_rx_call_request
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	$0, 16(%rdi)
	leaq	-80(%rbp), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	(%r15), %rax
	movl	12(%rax), %ecx
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$15, %edx
	incq	%rdx
	shrq	%rdx
	andl	$15, %ecx
	incq	%rcx
	shrq	%rcx
	addq	%rdx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$16, %rdi
	movq	%r14, %rsi
	callq	_rose_parse_facilities
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-60(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_rose_find_listener
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_sk_acceptq_is_full
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movq	_ROSE_NETWORK_CONGESTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	$120, %ecx
	callq	_rose_transmit_clear_request
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_1:
	movq	_ROSE_INVALID_FACILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	$76, %ecx
	callq	_rose_transmit_clear_request
LBB0_17:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_rose_make_new
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rdi
	movq	%r12, %rbx
	movq	%rax, 16(%r15)
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_rose_sk
	movq	%rax, %r12
	movl	%r13d, (%rax)
	movl	-44(%rbp), %eax
	movl	%eax, 148(%r12)
	movl	-48(%rbp), %eax
	movl	%eax, 144(%r12)
	movl	-80(%rbp), %eax
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	movq	-56(%rbp), %rax
	movq	136(%r12), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	-80(%rbp), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_8
LBB0_9:
	movl	-60(%rbp), %eax
	movl	%eax, 132(%r12)
	movl	-64(%rbp), %eax
	movl	%eax, 128(%r12)
	movl	-76(%rbp), %eax
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	jle	LBB0_12
## %bb.10:
	movq	-72(%rbp), %rax
	movq	120(%r12), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	-76(%rbp), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_11
LBB0_12:
	movq	%rbx, 64(%r12)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 112(%r12)
	movups	-80(%rbp), %xmm0
	movups	-64(%rbp), %xmm1
	movups	%xmm0, 72(%r12)
	movups	%xmm1, 88(%r12)
	movq	-48(%rbp), %rax
	movq	%rax, 104(%r12)
	incl	(%rbx)
	movq	%r14, %rdi
	callq	_rose_sk
	cmpq	$0, 56(%rax)
	je	LBB0_14
## %bb.13:
	movq	_ROSE_STATE_5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_14:
	movq	_ROSE_CALL_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_rose_write_internal
	movq	_ROSE_STATE_3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	%rbx, %rdi
	callq	_rose_start_idletimer
LBB0_15:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 28(%r12)
	movups	%xmm0, 12(%r12)
	movl	$0, 44(%r12)
	incl	12(%r14)
	movq	%rbx, %rdi
	callq	_rose_insert_socket
	movq	%r14, %rdi
	addq	$8, %rdi
	movq	%r15, %rsi
	callq	_skb_queue_head
	movq	%rbx, %rdi
	callq	_rose_start_heartbeat
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	*(%r14)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ROSE_INVALID_FACILITY,4,2      ## @ROSE_INVALID_FACILITY
	.comm	_ROSE_NETWORK_CONGESTION,4,2    ## @ROSE_NETWORK_CONGESTION
	.comm	_TCP_ESTABLISHED,4,2            ## @TCP_ESTABLISHED
	.comm	_ROSE_STATE_5,4,2               ## @ROSE_STATE_5
	.comm	_ROSE_CALL_ACCEPTED,4,2         ## @ROSE_CALL_ACCEPTED
	.comm	_ROSE_STATE_3,4,2               ## @ROSE_STATE_3
	.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	_rose_rx_call_request           ; -- Begin function rose_rx_call_request
	.p2align	2
_rose_rx_call_request:                  ; @rose_rx_call_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x25, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	str	xzr, [x0, #16]
	add	x20, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	x8, [x19]
	ldr	w9, [x8, #12]
	ubfx	x10, x9, #4, #4
	add	x10, x10, #1
	lsr	x10, x10, #1
	and	x9, x9, #0xf
	add	x9, x9, #1
	add	x9, x10, x9, lsr #1
	add	x8, x8, x9, lsl #2
	add	x0, x8, #16
	add	x1, sp, #8
	bl	_rose_parse_facilities
	cbz	w0, LBB0_4
; %bb.1:
	add	x0, x20, #20
	add	x1, x20, #16
	bl	_rose_find_listener
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
	bl	_sk_acceptq_is_full
	cbz	x0, LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _ROSE_NETWORK_CONGESTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROSE_NETWORK_CONGESTION@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x25
	mov	w3, #120
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _ROSE_INVALID_FACILITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROSE_INVALID_FACILITY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x25
	mov	w3, #76
LBB0_5:
	bl	_rose_transmit_clear_request
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	mov	x0, x20
	bl	_rose_make_new
	cbz	x0, LBB0_3
; %bb.8:
	mov	x23, x0
	str	x0, [x19, #16]
Lloh6:
	adrp	x8, _TCP_ESTABLISHED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	bl	_rose_sk
	mov	x24, x0
	str	w25, [x0]
	ldr	d0, [sp, #40]
	str	d0, [x0, #144]
	ldr	w8, [sp, #8]
	str	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x8, #0
	ldr	x9, [sp, #32]
	ldr	x10, [x24, #136]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldr	w12, [x9, x11]
	str	w12, [x10, x11]
	add	x8, x8, #1
	ldrsw	x11, [sp, #8]
	cmp	x8, x11
	b.lt	LBB0_10
LBB0_11:
	ldr	d0, [sp, #24]
	str	d0, [x24, #128]
	ldr	w8, [sp, #12]
	str	w8, [x24, #8]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x8, #0
	ldr	x9, [sp, #16]
	ldr	x10, [x24, #120]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldr	w12, [x9, x11]
	str	w12, [x10, x11]
	add	x8, x8, #1
	ldrsw	x11, [sp, #12]
	cmp	x8, x11
	b.lt	LBB0_13
LBB0_14:
	str	x21, [x24, #64]
	ldur	q0, [sp, #8]
	ldur	q1, [sp, #24]
	stur	q0, [x24, #72]
	stur	q1, [x24, #88]
	ldr	x8, [sp, #40]
	stp	x8, x22, [x24, #104]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	x0, x20
	bl	_rose_sk
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_16
; %bb.15:
Lloh9:
	adrp	x8, _ROSE_STATE_5@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROSE_STATE_5@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x24, #48]
	b	LBB0_17
LBB0_16:
Lloh12:
	adrp	x8, _ROSE_CALL_ACCEPTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ROSE_CALL_ACCEPTED@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_rose_write_internal
Lloh15:
	adrp	x8, _ROSE_STATE_3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROSE_STATE_3@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x24, #48]
	mov	x0, x23
	bl	_rose_start_idletimer
LBB0_17:
	str	wzr, [x24, #44]
	movi.2d	v0, #0000000000000000
	stur	q0, [x24, #28]
	stur	q0, [x24, #12]
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	mov	x0, x23
	bl	_rose_insert_socket
	add	x0, x20, #8
	mov	x1, x19
	bl	_skb_queue_head
	mov	x0, x23
	bl	_rose_start_heartbeat
Lloh18:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sock_flag
	cbnz	w0, LBB0_19
; %bb.18:
	ldr	x8, [x20]
	ldr	w1, [x19, #8]
	mov	x0, x20
	blr	x8
LBB0_19:
	mov	w0, #1
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ROSE_INVALID_FACILITY,4,2      ; @ROSE_INVALID_FACILITY
	.comm	_ROSE_NETWORK_CONGESTION,4,2    ; @ROSE_NETWORK_CONGESTION
	.comm	_TCP_ESTABLISHED,4,2            ; @TCP_ESTABLISHED
	.comm	_ROSE_STATE_5,4,2               ; @ROSE_STATE_5
	.comm	_ROSE_CALL_ACCEPTED,4,2         ; @ROSE_CALL_ACCEPTED
	.comm	_ROSE_STATE_3,4,2               ; @ROSE_STATE_3
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
.subsections_via_symbols
