	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxe_freeze
_rxe_freeze:                            ## @rxe_freeze
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_RCV_CTRL_RCV_PORT_ENABLE_SMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clear_rcvctrl
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_HFI1_RCVCTRL_CTXT_DIS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hfi1_rcd_get_by_index
	movq	%rax, %r15
	movl	(%r12), %esi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_hfi1_rcvctrl
	movq	%r15, %rdi
	callq	_hfi1_rcd_put
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCV_CTRL_RCV_PORT_ENABLE_SMASK,4,2 ## @RCV_CTRL_RCV_PORT_ENABLE_SMASK
	.comm	_HFI1_RCVCTRL_CTXT_DIS,4,2      ## @HFI1_RCVCTRL_CTXT_DIS
	.no_dead_strip	_rxe_freeze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxe_freeze
_rxe_freeze:                            ; @rxe_freeze
	.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	x19, x0
Lloh0:
	adrp	x8, _RCV_CTRL_RCV_PORT_ENABLE_SMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCV_CTRL_RCV_PORT_ENABLE_SMASK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_clear_rcvctrl
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh3:
	adrp	x22, _HFI1_RCVCTRL_CTXT_DIS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _HFI1_RCVCTRL_CTXT_DIS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hfi1_rcd_get_by_index
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_hfi1_rcvctrl
	mov	x0, x21
	bl	_hfi1_rcd_put
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RCV_CTRL_RCV_PORT_ENABLE_SMASK,4,2 ; @RCV_CTRL_RCV_PORT_ENABLE_SMASK
	.comm	_HFI1_RCVCTRL_CTXT_DIS,4,2      ; @HFI1_RCVCTRL_CTXT_DIS
	.no_dead_strip	_rxe_freeze
.subsections_via_symbols
