	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_chip
_enable_chip:                           ## @enable_chip
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_PSC_GLOBAL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pio_send_control
	cmpq	$0, (%r14)
	jle	LBB0_15
## %bb.1:
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r14d, %r13d
	orl	%r13d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_hfi1_rcvctrl
	movl	(%r15), %edi
	callq	_sc_enable
	movq	%r15, %rdi
	callq	_hfi1_rcd_put
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_hfi1_rcd_get_by_index
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	_HFI1_RCVCTRL_INTRAVAIL_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_HFI1_RCVCTRL_CTXT_ENB@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	4(%r15), %edi
	movq	_DMA_RTAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HFI1_CAP_KGET_MASK
	movq	_HFI1_RCVCTRL_TAILUPD_ENB@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_HFI1_RCVCTRL_TAILUPD_DIS@GOTPCREL(%rip), %rcx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	(%rcx), %r12d
	movl	4(%r15), %edi
	movq	_MULTI_PKT_EGR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HFI1_CAP_KGET_MASK
	xorl	%r14d, %r14d
	movl	$0, %r13d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_HFI1_RCVCTRL_ONE_PKT_EGR_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %edi
	movq	_NODROP_RHQ_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HFI1_CAP_KGET_MASK
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_HFI1_RCVCTRL_NO_RHQ_DROP_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%ecx, %r13d
	movl	4(%r15), %edi
	movq	_NODROP_EGR_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HFI1_CAP_KGET_MASK
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_HFI1_RCVCTRL_NO_EGR_DROP_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%ecx, %r13d
	movq	_TID_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HFI1_CAP_IS_KSET
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_HFI1_RCVCTRL_TIDFLOW_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_13
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSC_GLOBAL_ENABLE,4,2          ## @PSC_GLOBAL_ENABLE
	.comm	_HFI1_RCVCTRL_CTXT_ENB,4,2      ## @HFI1_RCVCTRL_CTXT_ENB
	.comm	_HFI1_RCVCTRL_INTRAVAIL_ENB,4,2 ## @HFI1_RCVCTRL_INTRAVAIL_ENB
	.comm	_DMA_RTAIL,4,2                  ## @DMA_RTAIL
	.comm	_HFI1_RCVCTRL_TAILUPD_ENB,4,2   ## @HFI1_RCVCTRL_TAILUPD_ENB
	.comm	_HFI1_RCVCTRL_TAILUPD_DIS,4,2   ## @HFI1_RCVCTRL_TAILUPD_DIS
	.comm	_MULTI_PKT_EGR,4,2              ## @MULTI_PKT_EGR
	.comm	_HFI1_RCVCTRL_ONE_PKT_EGR_ENB,4,2 ## @HFI1_RCVCTRL_ONE_PKT_EGR_ENB
	.comm	_NODROP_RHQ_FULL,4,2            ## @NODROP_RHQ_FULL
	.comm	_HFI1_RCVCTRL_NO_RHQ_DROP_ENB,4,2 ## @HFI1_RCVCTRL_NO_RHQ_DROP_ENB
	.comm	_NODROP_EGR_FULL,4,2            ## @NODROP_EGR_FULL
	.comm	_HFI1_RCVCTRL_NO_EGR_DROP_ENB,4,2 ## @HFI1_RCVCTRL_NO_EGR_DROP_ENB
	.comm	_TID_RDMA,4,2                   ## @TID_RDMA
	.comm	_HFI1_RCVCTRL_TIDFLOW_ENB,4,2   ## @HFI1_RCVCTRL_TIDFLOW_ENB
	.no_dead_strip	_enable_chip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_chip
_enable_chip:                           ; @enable_chip
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _PSC_GLOBAL_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSC_GLOBAL_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pio_send_control
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, #0
Lloh3:
	adrp	x22, _NODROP_RHQ_FULL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NODROP_RHQ_FULL@GOTPAGEOFF]
Lloh5:
	adrp	x23, _HFI1_RCVCTRL_NO_RHQ_DROP_ENB@GOTPAGE
Lloh6:
	ldr	x23, [x23, _HFI1_RCVCTRL_NO_RHQ_DROP_ENB@GOTPAGEOFF]
Lloh7:
	adrp	x24, _NODROP_EGR_FULL@GOTPAGE
Lloh8:
	ldr	x24, [x24, _NODROP_EGR_FULL@GOTPAGEOFF]
Lloh9:
	adrp	x25, _HFI1_RCVCTRL_NO_EGR_DROP_ENB@GOTPAGE
Lloh10:
	ldr	x25, [x25, _HFI1_RCVCTRL_NO_EGR_DROP_ENB@GOTPAGEOFF]
Lloh11:
	adrp	x26, _TID_RDMA@GOTPAGE
Lloh12:
	ldr	x26, [x26, _TID_RDMA@GOTPAGEOFF]
Lloh13:
	adrp	x27, _HFI1_RCVCTRL_TIDFLOW_ENB@GOTPAGE
Lloh14:
	ldr	x27, [x27, _HFI1_RCVCTRL_TIDFLOW_ENB@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hfi1_rcd_get_by_index
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
Lloh15:
	adrp	x8, _HFI1_RCVCTRL_CTXT_ENB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HFI1_RCVCTRL_CTXT_ENB@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _HFI1_RCVCTRL_INTRAVAIL_ENB@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HFI1_RCVCTRL_INTRAVAIL_ENB@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w28, w9, w8
	ldr	w0, [x0, #4]
Lloh21:
	adrp	x8, _DMA_RTAIL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMA_RTAIL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_HFI1_CAP_KGET_MASK
	cmp	x0, #0
Lloh24:
	adrp	x8, _HFI1_RCVCTRL_TAILUPD_ENB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HFI1_RCVCTRL_TAILUPD_ENB@GOTPAGEOFF]
Lloh26:
	adrp	x9, _HFI1_RCVCTRL_TAILUPD_DIS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _HFI1_RCVCTRL_TAILUPD_DIS@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	orr	w28, w28, w8
	ldr	w0, [x21, #4]
Lloh28:
	adrp	x8, _MULTI_PKT_EGR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MULTI_PKT_EGR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_HFI1_CAP_KGET_MASK
Lloh31:
	adrp	x8, _HFI1_RCVCTRL_ONE_PKT_EGR_ENB@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HFI1_RCVCTRL_ONE_PKT_EGR_ENB@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w8, wzr, eq
	orr	w28, w28, w8
	ldr	w0, [x21, #4]
	ldr	w1, [x22]
	bl	_HFI1_CAP_KGET_MASK
	ldr	w8, [x23]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w28, w28, w8
	ldr	w0, [x21, #4]
	ldr	w1, [x24]
	bl	_HFI1_CAP_KGET_MASK
	ldr	w8, [x25]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w28, w28, w8
	ldr	w0, [x26]
	bl	_HFI1_CAP_IS_KSET
	ldr	w8, [x27]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w1, w28, w8
	mov	x0, x19
	mov	x2, x21
	bl	_hfi1_rcvctrl
	ldr	w0, [x21]
	bl	_sc_enable
	mov	x0, x21
	bl	_hfi1_rcd_put
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PSC_GLOBAL_ENABLE,4,2          ; @PSC_GLOBAL_ENABLE
	.comm	_HFI1_RCVCTRL_CTXT_ENB,4,2      ; @HFI1_RCVCTRL_CTXT_ENB
	.comm	_HFI1_RCVCTRL_INTRAVAIL_ENB,4,2 ; @HFI1_RCVCTRL_INTRAVAIL_ENB
	.comm	_DMA_RTAIL,4,2                  ; @DMA_RTAIL
	.comm	_HFI1_RCVCTRL_TAILUPD_ENB,4,2   ; @HFI1_RCVCTRL_TAILUPD_ENB
	.comm	_HFI1_RCVCTRL_TAILUPD_DIS,4,2   ; @HFI1_RCVCTRL_TAILUPD_DIS
	.comm	_MULTI_PKT_EGR,4,2              ; @MULTI_PKT_EGR
	.comm	_HFI1_RCVCTRL_ONE_PKT_EGR_ENB,4,2 ; @HFI1_RCVCTRL_ONE_PKT_EGR_ENB
	.comm	_NODROP_RHQ_FULL,4,2            ; @NODROP_RHQ_FULL
	.comm	_HFI1_RCVCTRL_NO_RHQ_DROP_ENB,4,2 ; @HFI1_RCVCTRL_NO_RHQ_DROP_ENB
	.comm	_NODROP_EGR_FULL,4,2            ; @NODROP_EGR_FULL
	.comm	_HFI1_RCVCTRL_NO_EGR_DROP_ENB,4,2 ; @HFI1_RCVCTRL_NO_EGR_DROP_ENB
	.comm	_TID_RDMA,4,2                   ; @TID_RDMA
	.comm	_HFI1_RCVCTRL_TIDFLOW_ENB,4,2   ; @HFI1_RCVCTRL_TIDFLOW_ENB
	.no_dead_strip	_enable_chip
.subsections_via_symbols
