	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_ste_remove_middle_ste
_dr_ste_remove_middle_ste:              ## @dr_ste_remove_middle_ste
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_miss_list_node@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_list_prev_entry
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	4(%r13), %edi
	callq	_mlx5dr_ste_get_miss_addr
	movl	4(%rbx), %edi
	movl	%eax, %esi
	callq	_mlx5dr_ste_set_miss_addr
	movq	_DR_STE_SIZE_REDUCED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %ecx
	movl	$1, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_mlx5dr_send_fill_and_append_ste_send_info
	movq	%r13, %rdi
	callq	_list_del_init
	decl	4(%r14)
	decl	(%r14)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_miss_list_node,4,2             ## @miss_list_node
	.comm	_DR_STE_SIZE_REDUCED,4,2        ## @DR_STE_SIZE_REDUCED
	.no_dead_strip	_dr_ste_remove_middle_ste
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_ste_remove_middle_ste
_dr_ste_remove_middle_ste:              ; @dr_ste_remove_middle_ste
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _miss_list_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _miss_list_node@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_list_prev_entry
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #4]
	bl	_mlx5dr_ste_get_miss_addr
	mov	x1, x0
	ldr	w0, [x23, #4]
	bl	_mlx5dr_ste_set_miss_addr
Lloh3:
	adrp	x8, _DR_STE_SIZE_REDUCED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DR_STE_SIZE_REDUCED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w3, [x23, #4]
	mov	x0, x23
	mov	w2, #0
	mov	x4, x22
	mov	x5, x21
	mov	w6, #1
	bl	_mlx5dr_send_fill_and_append_ste_send_info
	mov	x0, x20
	bl	_list_del_init
	ldr	d0, [x19]
	movi.2d	v1, #0xffffffffffffffff
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_miss_list_node,4,2             ; @miss_list_node
	.comm	_DR_STE_SIZE_REDUCED,4,2        ; @DR_STE_SIZE_REDUCED
	.no_dead_strip	_dr_ste_remove_middle_ste
.subsections_via_symbols
