	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_modify_tirs_lro
_mlx5e_modify_tirs_lro:                 ## @mlx5e_modify_tirs_lro
	.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, %r13
	movq	32(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_modify_tir_in@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	movl	(%rbx), %edi
	movq	_bitmask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_MLX5_SET
	movl	(%rbx), %edi
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_MLX5_ADDR_OF
	leaq	24(%r13), %rdi
	movq	%rax, %rsi
	callq	_mlx5e_build_tir_ctx_lro
	movq	_MLX5E_NUM_INDIR_TIRS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.2:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%r15,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%r12d, %ecx
	callq	_mlx5_core_modify_tir
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	_MLX5E_NUM_INDIR_TIRS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_5:
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.6:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%r15,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%r12d, %ecx
	callq	_mlx5_core_modify_tir
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	cmpq	%rax, %r15
	jl	LBB0_7
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_11:
	movl	%eax, %ebx
LBB0_13:
	movq	%r14, %rdi
	callq	_kvfree
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_modify_tir_in,4,2              ## @modify_tir_in
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bitmask,4,2                    ## @bitmask
	.comm	_ctx,4,2                        ## @ctx
	.comm	_MLX5E_NUM_INDIR_TIRS,4,2       ## @MLX5E_NUM_INDIR_TIRS
	.no_dead_strip	_mlx5e_modify_tirs_lro
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_modify_tirs_lro
_mlx5e_modify_tirs_lro:                 ; @mlx5e_modify_tirs_lro
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldr	x21, [x0, #32]
Lloh0:
	adrp	x23, _modify_tir_in@GOTPAGE
Lloh1:
	ldr	x23, [x23, _modify_tir_in@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_MLX5_ST_SZ_BYTES
	mov	x22, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kvzalloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w0, [x23]
Lloh5:
	adrp	x8, _bitmask@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bitmask@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x19
	mov	w3, #1
	bl	_MLX5_SET
	ldr	w0, [x23]
Lloh8:
	adrp	x8, _ctx@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_MLX5_ADDR_OF
	mov	x1, x0
	add	x0, x20, #24
	bl	_mlx5e_build_tir_ctx_lro
Lloh11:
	adrp	x24, _MLX5E_NUM_INDIR_TIRS@GOTPAGE
Lloh12:
	ldr	x24, [x24, _MLX5E_NUM_INDIR_TIRS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x25, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w1, [x8, x25, lsl #2]
	mov	x0, x21
	mov	x2, x19
	mov	x3, x22
	bl	_mlx5_core_modify_tir
	cbnz	w0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x24]
	cmp	x25, x8
	b.lt	LBB0_3
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x24, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x21
	mov	x2, x19
	mov	x3, x22
	bl	_mlx5_core_modify_tir
	cbnz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20]
	cmp	x24, x8
	b.lt	LBB0_7
LBB0_9:
	mov	w23, #0
	b	LBB0_12
LBB0_10:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_13
LBB0_11:
	mov	x23, x0
LBB0_12:
	mov	x0, x19
	bl	_kvfree
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_modify_tir_in,4,2              ; @modify_tir_in
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bitmask,4,2                    ; @bitmask
	.comm	_ctx,4,2                        ; @ctx
	.comm	_MLX5E_NUM_INDIR_TIRS,4,2       ; @MLX5E_NUM_INDIR_TIRS
	.no_dead_strip	_mlx5e_modify_tirs_lro
.subsections_via_symbols
