	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_raw_packet_qp_tir
_create_raw_packet_qp_tir:              ## @create_raw_packet_qp_tir
	.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
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_create_tir_in@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movslq	(%r13), %rbx
	movq	_uid@GOTPCREL(%rip), %rax
	movq	%r12, %r14
	movl	(%rax), %r12d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_to_mpd
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_MLX5_SET
	movl	(%r13), %edi
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %r12
	movq	_disp_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_TIRC_DISP_TYPE_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_MLX5_SET
	movq	_inline_rqn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %ecx
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_MLX5_SET
	movq	_transport_domain@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_MLX5_SET
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %eax
	movq	_MLX5_QP_FLAG_TUNNEL_OFFLOADS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_tunneled_offload_en@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r12, %rsi
	movl	$1, %ecx
	callq	_MLX5_SET
	movl	(%r15), %eax
LBB0_4:
	movq	_MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	andl	%eax, %ecx
	movq	_MLX5_TIRC_SELF_LB_BLOCK_BLOCK_UNICAST@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmovnel	%esi, %ecx
	movq	_MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%eax, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	_MLX5_TIRC_SELF_LB_BLOCK_BLOCK_MULTICAST@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_6:
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.7:
	orl	%eax, %edx
	movl	%edx, (%r15)
	movl	%esi, %ecx
LBB0_8:
	orl	%edi, %ecx
	movq	_self_lb_block@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_MLX5_SET
	movl	(%rbx), %edi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movl	16(%rbp), %r8d
	callq	_mlx5_core_create_tir_out
	movl	%eax, %ebx
	movq	_create_tir_out@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	_tirn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_MLX5_GET
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testl	%ebx, %ebx
	jne	LBB0_12
## %bb.9:
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_MLX5_GET
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_mlx5_ib_enable_lb
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r14d
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_destroy_raw_packet_qp_tir
	movl	%r14d, %ebx
LBB0_12:
	movq	%r15, %rdi
	callq	_kvfree
	jmp	LBB0_13
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_create_tir_in,4,2              ## @create_tir_in
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_uid,4,2                        ## @uid
	.comm	_ctx,4,2                        ## @ctx
	.comm	_disp_type,4,2                  ## @disp_type
	.comm	_MLX5_TIRC_DISP_TYPE_DIRECT,4,2 ## @MLX5_TIRC_DISP_TYPE_DIRECT
	.comm	_inline_rqn,4,2                 ## @inline_rqn
	.comm	_transport_domain,4,2           ## @transport_domain
	.comm	_MLX5_QP_FLAG_TUNNEL_OFFLOADS,4,2 ## @MLX5_QP_FLAG_TUNNEL_OFFLOADS
	.comm	_tunneled_offload_en,4,2        ## @tunneled_offload_en
	.comm	_MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC,4,2 ## @MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC
	.comm	_MLX5_TIRC_SELF_LB_BLOCK_BLOCK_UNICAST,4,2 ## @MLX5_TIRC_SELF_LB_BLOCK_BLOCK_UNICAST
	.comm	_MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC,4,2 ## @MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC
	.comm	_MLX5_TIRC_SELF_LB_BLOCK_BLOCK_MULTICAST,4,2 ## @MLX5_TIRC_SELF_LB_BLOCK_BLOCK_MULTICAST
	.comm	_self_lb_block,4,2              ## @self_lb_block
	.comm	_create_tir_out,4,2             ## @create_tir_out
	.comm	_tirn,4,2                       ## @tirn
	.no_dead_strip	_create_raw_packet_qp_tir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_raw_packet_qp_tir
_create_raw_packet_qp_tir:              ; @create_raw_packet_qp_tir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x26, x6
	mov	x23, x5
	mov	x19, x4
	mov	x27, x3
	mov	x28, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x24, _create_tir_in@GOTPAGE
Lloh1:
	ldr	x24, [x24, _create_tir_in@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_MLX5_ST_SZ_BYTES
	mov	x25, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kvzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	ldrsw	x26, [x24]
Lloh5:
	adrp	x8, _uid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _uid@GOTPAGEOFF]
	mov	x0, x19
Lloh7:
	ldr	w19, [x8]
	str	x0, [sp]                        ; 8-byte Folded Spill
	bl	_to_mpd
	ldr	w3, [x0]
	mov	x0, x26
	mov	x1, x20
	mov	x2, x19
	bl	_MLX5_SET
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _ctx@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_ADDR_OF
	mov	x26, x0
Lloh11:
	adrp	x8, _disp_type@GOTPAGE
Lloh12:
	ldr	x8, [x8, _disp_type@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _MLX5_TIRC_DISP_TYPE_DIRECT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MLX5_TIRC_DISP_TYPE_DIRECT@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x1, x0
	bl	_MLX5_SET
Lloh17:
	adrp	x8, _inline_rqn@GOTPAGE
Lloh18:
	ldr	x8, [x8, _inline_rqn@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	ldr	w3, [x21, #8]
	mov	x0, x26
	mov	x1, x26
	bl	_MLX5_SET
Lloh20:
	adrp	x8, _transport_domain@GOTPAGE
Lloh21:
	ldr	x8, [x8, _transport_domain@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x26
	mov	x1, x26
	mov	x3, x28
	bl	_MLX5_SET
	ldr	w8, [x27]
Lloh23:
	adrp	x9, _MLX5_QP_FLAG_TUNNEL_OFFLOADS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MLX5_QP_FLAG_TUNNEL_OFFLOADS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh26:
	adrp	x8, _tunneled_offload_en@GOTPAGE
Lloh27:
	ldr	x8, [x8, _tunneled_offload_en@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x26
	mov	x1, x26
	mov	w3, #1
	bl	_MLX5_SET
	ldr	w8, [x27]
LBB0_3:
Lloh29:
	adrp	x9, _MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x10, _MLX5_TIRC_SELF_LB_BLOCK_BLOCK_UNICAST@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MLX5_TIRC_SELF_LB_BLOCK_BLOCK_UNICAST@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w11, wzr, w10, eq
Lloh35:
	adrp	x12, _MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC@GOTPAGE
Lloh36:
	ldr	x12, [x12, _MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC@GOTPAGEOFF]
Lloh37:
	ldr	w12, [x12]
Lloh38:
	adrp	x13, _MLX5_TIRC_SELF_LB_BLOCK_BLOCK_MULTICAST@GOTPAGE
Lloh39:
	ldr	x13, [x13, _MLX5_TIRC_SELF_LB_BLOCK_BLOCK_MULTICAST@GOTPAGEOFF]
Lloh40:
	ldr	w13, [x13]
	tst	w12, w8
	csel	w12, wzr, w13, eq
	ldr	x13, [x22, #8]
	cbz	x13, LBB0_5
; %bb.4:
	orr	w8, w9, w8
	str	w8, [x27]
	mov	x11, x10
LBB0_5:
	orr	w3, w11, w12
Lloh41:
	adrp	x19, _self_lb_block@GOTPAGE
Lloh42:
	ldr	x19, [x19, _self_lb_block@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x0, x26
	mov	x1, x26
	bl	_MLX5_SET
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x25
	mov	x3, x23
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
	bl	_mlx5_core_create_tir_out
	mov	x24, x0
Lloh43:
	adrp	x8, _create_tir_out@GOTPAGE
Lloh44:
	ldr	x8, [x8, _create_tir_out@GOTPAGEOFF]
Lloh45:
	ldrsw	x0, [x8]
Lloh46:
	adrp	x8, _tirn@GOTPAGE
Lloh47:
	ldr	x8, [x8, _tirn@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_MLX5_GET
	str	x0, [x21]
	cbz	w24, LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_kvfree
	b	LBB0_8
LBB0_7:
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_8:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	ldr	w2, [x19]
	mov	x0, x26
	mov	x1, x26
	bl	_MLX5_GET
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x22
	mov	w1, #0
	mov	w2, #1
	bl	_mlx5_ib_enable_lb
	mov	x24, x0
	cbz	w0, LBB0_6
; %bb.11:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	ldr	x3, [sp]                        ; 8-byte Folded Reload
	bl	_destroy_raw_packet_qp_tir
	b	LBB0_6
LBB0_12:
	mov	w24, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_create_tir_in,4,2              ; @create_tir_in
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_uid,4,2                        ; @uid
	.comm	_ctx,4,2                        ; @ctx
	.comm	_disp_type,4,2                  ; @disp_type
	.comm	_MLX5_TIRC_DISP_TYPE_DIRECT,4,2 ; @MLX5_TIRC_DISP_TYPE_DIRECT
	.comm	_inline_rqn,4,2                 ; @inline_rqn
	.comm	_transport_domain,4,2           ; @transport_domain
	.comm	_MLX5_QP_FLAG_TUNNEL_OFFLOADS,4,2 ; @MLX5_QP_FLAG_TUNNEL_OFFLOADS
	.comm	_tunneled_offload_en,4,2        ; @tunneled_offload_en
	.comm	_MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC,4,2 ; @MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_UC
	.comm	_MLX5_TIRC_SELF_LB_BLOCK_BLOCK_UNICAST,4,2 ; @MLX5_TIRC_SELF_LB_BLOCK_BLOCK_UNICAST
	.comm	_MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC,4,2 ; @MLX5_QP_FLAG_TIR_ALLOW_SELF_LB_MC
	.comm	_MLX5_TIRC_SELF_LB_BLOCK_BLOCK_MULTICAST,4,2 ; @MLX5_TIRC_SELF_LB_BLOCK_BLOCK_MULTICAST
	.comm	_self_lb_block,4,2              ; @self_lb_block
	.comm	_create_tir_out,4,2             ; @create_tir_out
	.comm	_tirn,4,2                       ; @tirn
	.no_dead_strip	_create_raw_packet_qp_tir
.subsections_via_symbols
