	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfi1_pkt_base_sdma_integrity
_hfi1_pkt_base_sdma_integrity:          ## @hfi1_pkt_base_sdma_integrity
	.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	_NO_INTEGRITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HFI1_CAP_IS_KSET
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_BYPASS_BAD_PKT_LEN_SMASK@GOTPCREL(%rip), %rax
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_BYPASS_PACKETS_SMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_IB_PACKETS_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_BAD_PKT_LEN_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_BYPASS_PACKETS_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_IB_PACKETS_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_IPV6_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_CHECK_BYPASS_VL_MAPPING_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_CHECK_VL_MAPPING_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_CHECK_OPCODE_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_CHECK_SLID_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_CHECK_VL_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_STATIC_RATE_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HFI1_CAP_IS_KSET
	xorl	%r12d, %r12d
	movl	$0, %r15d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_SEND_DMA_CHECK_ENABLE_DISALLOW_PBC_STATIC_RATE_CONTROL_SMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_3:
	movq	%r14, %rdi
	callq	_is_ax
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	orl	%r12d, %r15d
	orl	%r15d, %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_INTEGRITY,4,2               ## @NO_INTEGRITY
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_BYPASS_BAD_PKT_LEN_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_BYPASS_BAD_PKT_LEN_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_BYPASS_PACKETS_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_BYPASS_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_IB_PACKETS_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_IB_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_BAD_PKT_LEN_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_BAD_PKT_LEN_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_BYPASS_PACKETS_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_BYPASS_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_IB_PACKETS_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_IB_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_IPV6_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_IPV6_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_BYPASS_VL_MAPPING_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_CHECK_BYPASS_VL_MAPPING_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_VL_MAPPING_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_CHECK_VL_MAPPING_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_OPCODE_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_CHECK_OPCODE_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_SLID_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_CHECK_SLID_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_VL_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_CHECK_VL_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK
	.comm	_STATIC_RATE_CTRL,4,2           ## @STATIC_RATE_CTRL
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_PBC_STATIC_RATE_CONTROL_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_DISALLOW_PBC_STATIC_RATE_CONTROL_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK,4,2 ## @SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK
	.no_dead_strip	_hfi1_pkt_base_sdma_integrity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfi1_pkt_base_sdma_integrity
_hfi1_pkt_base_sdma_integrity:          ; @hfi1_pkt_base_sdma_integrity
	.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
Lloh0:
	adrp	x8, _NO_INTEGRITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NO_INTEGRITY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_HFI1_CAP_IS_KSET
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _SEND_DMA_CHECK_ENABLE_DISALLOW_BYPASS_BAD_PKT_LEN_SMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEND_DMA_CHECK_ENABLE_DISALLOW_BYPASS_BAD_PKT_LEN_SMASK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_BYPASS_PACKETS_SMASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_BYPASS_PACKETS_SMASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_IB_PACKETS_SMASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_IB_PACKETS_SMASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_BAD_PKT_LEN_SMASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_BAD_PKT_LEN_SMASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_BYPASS_PACKETS_SMASK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_BYPASS_PACKETS_SMASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_IB_PACKETS_SMASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_IB_PACKETS_SMASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_IPV6_SMASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_IPV6_SMASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_SMASK@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_SMASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh26:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_CHECK_BYPASS_VL_MAPPING_SMASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_CHECK_BYPASS_VL_MAPPING_SMASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_CHECK_VL_MAPPING_SMASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_CHECK_VL_MAPPING_SMASK@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _SEND_DMA_CHECK_ENABLE_CHECK_OPCODE_SMASK@GOTPAGE
Lloh34:
	ldr	x10, [x10, _SEND_DMA_CHECK_ENABLE_CHECK_OPCODE_SMASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh35:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_CHECK_SLID_SMASK@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_CHECK_SLID_SMASK@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _SEND_DMA_CHECK_ENABLE_CHECK_VL_SMASK@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SEND_DMA_CHECK_ENABLE_CHECK_VL_SMASK@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
Lloh42:
	adrp	x10, _SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK@GOTPAGE
Lloh43:
	ldr	x10, [x10, _SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh44:
	ldr	w9, [x10]
	orr	w20, w8, w9
Lloh45:
	adrp	x8, _STATIC_RATE_CTRL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _STATIC_RATE_CTRL@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_HFI1_CAP_IS_KSET
Lloh48:
	adrp	x8, _SEND_DMA_CHECK_ENABLE_DISALLOW_PBC_STATIC_RATE_CONTROL_SMASK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SEND_DMA_CHECK_ENABLE_DISALLOW_PBC_STATIC_RATE_CONTROL_SMASK@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w8, wzr, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_is_ax
Lloh51:
	adrp	x8, _SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w0, w20, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_INTEGRITY,4,2               ; @NO_INTEGRITY
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_BYPASS_BAD_PKT_LEN_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_BYPASS_BAD_PKT_LEN_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_BYPASS_PACKETS_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_BYPASS_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_IB_PACKETS_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_LONG_IB_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_BAD_PKT_LEN_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_BAD_PKT_LEN_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_BYPASS_PACKETS_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_BYPASS_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_IB_PACKETS_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_TOO_SMALL_IB_PACKETS_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_IPV6_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_IPV6_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_RAW_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_BYPASS_VL_MAPPING_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_CHECK_BYPASS_VL_MAPPING_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_VL_MAPPING_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_CHECK_VL_MAPPING_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_OPCODE_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_CHECK_OPCODE_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_SLID_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_CHECK_SLID_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_VL_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_CHECK_VL_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK
	.comm	_STATIC_RATE_CTRL,4,2           ; @STATIC_RATE_CTRL
	.comm	_SEND_DMA_CHECK_ENABLE_DISALLOW_PBC_STATIC_RATE_CONTROL_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_DISALLOW_PBC_STATIC_RATE_CONTROL_SMASK
	.comm	_SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK,4,2 ; @SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK
	.no_dead_strip	_hfi1_pkt_base_sdma_integrity
.subsections_via_symbols
