	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_clone_rsm
_bbr_clone_rsm:                         ## @bbr_clone_rsm
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%ecx, (%rsi)
	movl	4(%rdx), %eax
	movl	%eax, 4(%rsi)
	movl	8(%rdx), %eax
	movl	%eax, 8(%rsi)
	movq	_BBR_HAS_SYN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	76(%r14), %edx
	movq	%rdi, %r15
	movl	%edx, 76(%rsi)
	movq	_BBR_HAS_FIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, 76(%r14)
	movl	72(%r14), %edx
	movl	%edx, 72(%rsi)
	movq	$0, 64(%rsi)
	movl	60(%r14), %edx
	movl	%edx, 60(%rsi)
	movl	56(%r14), %edx
	movl	%edx, 56(%rsi)
	movups	40(%r14), %xmm0
	movups	%xmm0, 40(%rsi)
	movups	24(%r14), %xmm0
	movups	%xmm0, 24(%rsi)
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	16(%r14), %rax
	movq	16(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	8(%rbx), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_2
## %bb.3:
	movl	(%rbx), %ecx
LBB0_4:
	movl	%ecx, 4(%r14)
	movq	16(%r15), %rax
	movq	(%rax), %rdi
	subq	8(%r15), %rdi
	movl	4(%r15), %esi
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	cmpl	$0, 12(%r14)
	jne	LBB0_7
## %bb.5:
	movl	4(%r14), %eax
	subl	(%r14), %eax
	cmpl	%ecx, %eax
	jg	LBB0_7
## %bb.6:
	incl	(%r15)
	movl	$1, 12(%r14)
LBB0_7:
	movl	4(%rbx), %eax
	subl	(%rbx), %eax
	cmpl	%ecx, %eax
	jg	LBB0_9
## %bb.8:
	incl	(%r15)
	movl	$1, 12(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BBR_HAS_SYN,4,2                ## @BBR_HAS_SYN
	.comm	_BBR_HAS_FIN,4,2                ## @BBR_HAS_FIN
	.no_dead_strip	_bbr_clone_rsm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_clone_rsm
_bbr_clone_rsm:                         ; @bbr_clone_rsm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldp	w8, w9, [x2, #4]
	stp	w3, w8, [x1]
Lloh0:
	adrp	x8, _BBR_HAS_SYN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BBR_HAS_SYN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w11, w10, [x2, #72]
	bic	w8, w10, w8
Lloh3:
	adrp	x10, _BBR_HAS_FIN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BBR_HAS_FIN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	str	w8, [x1, #76]
	ldr	w8, [x2, #76]
	bic	w8, w8, w10
	str	w9, [x1, #8]
	str	w8, [x2, #76]
	str	w11, [x1, #72]
	str	xzr, [x1, #64]
	ldr	d0, [x2, #56]
	str	d0, [x1, #56]
	ldur	q0, [x2, #40]
	stur	q0, [x1, #40]
	ldur	q0, [x2, #24]
	stur	q0, [x1, #24]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	ldr	x9, [x21, #16]
	ldr	x10, [x19, #16]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldr	w12, [x9, x11]
	str	w12, [x10, x11]
	add	x8, x8, #1
	ldrsw	x11, [x19, #8]
	cmp	x8, x11
	b.lt	LBB0_2
; %bb.3:
	ldr	w3, [x19]
LBB0_4:
	str	w3, [x21, #4]
	ldp	x9, x8, [x20, #8]
	ldr	x8, [x8]
	sub	x0, x8, x9
	ldr	w1, [x20, #4]
	bl	_min
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #3
	ldr	w9, [x21, #12]
	cbnz	w9, LBB0_7
; %bb.5:
	ldp	w10, w9, [x21]
	sub	w9, w9, w10
	cmp	w9, w8
	b.gt	LBB0_7
; %bb.6:
	ldr	w9, [x20]
	add	w9, w9, #1
	str	w9, [x20]
	mov	w9, #1
	str	w9, [x21, #12]
LBB0_7:
	ldp	w10, w9, [x19]
	sub	w9, w9, w10
	cmp	w9, w8
	b.gt	LBB0_9
; %bb.8:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BBR_HAS_SYN,4,2                ; @BBR_HAS_SYN
	.comm	_BBR_HAS_FIN,4,2                ; @BBR_HAS_FIN
	.no_dead_strip	_bbr_clone_rsm
.subsections_via_symbols
