	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_delay_drop
_init_delay_drop:                       ## @init_delay_drop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_IB_RAW_PACKET_CAP_DELAY_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 40(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	addq	$32, %rdi
	callq	_mutex_init
	movq	%rbx, 24(%rbx)
	movl	$0, (%rbx)
	movq	_MLX5_MAX_DELAY_DROP_TIMEOUT_MS@GOTPCREL(%rip), %rax
	imull	$1000, (%rax), %eax             ## imm = 0x3E8
	movl	%eax, 4(%rbx)
	leaq	16(%rbx), %rdi
	movq	_delay_drop_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	12(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	8(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	callq	_delay_drop_debugfs_init
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mlx5_ib_warn                   ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_RAW_PACKET_CAP_DELAY_DROP,4,2 ## @IB_RAW_PACKET_CAP_DELAY_DROP
	.comm	_MLX5_MAX_DELAY_DROP_TIMEOUT_MS,4,2 ## @MLX5_MAX_DELAY_DROP_TIMEOUT_MS
	.comm	_delay_drop_handler,4,2         ## @delay_drop_handler
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to init delay drop debugfs\n"

	.no_dead_strip	_init_delay_drop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_delay_drop
_init_delay_drop:                       ; @init_delay_drop
	.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
	ldr	w8, [x0, #40]
Lloh0:
	adrp	x9, _IB_RAW_PACKET_CAP_DELAY_DROP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_RAW_PACKET_CAP_DELAY_DROP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, x0, #32
	bl	_mutex_init
	str	x19, [x19, #24]
	str	wzr, [x19]
Lloh3:
	adrp	x8, _MLX5_MAX_DELAY_DROP_TIMEOUT_MS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_MAX_DELAY_DROP_TIMEOUT_MS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1000
	mul	w8, w8, w9
	str	w8, [x19, #4]
	add	x0, x19, #16
Lloh6:
	adrp	x8, _delay_drop_handler@GOTPAGE
Lloh7:
	ldr	x8, [x8, _delay_drop_handler@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #12
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #8
	mov	w1, #0
	bl	_atomic_set
	mov	x0, x19
	bl	_delay_drop_debugfs_init
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx5_ib_warn
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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_RAW_PACKET_CAP_DELAY_DROP,4,2 ; @IB_RAW_PACKET_CAP_DELAY_DROP
	.comm	_MLX5_MAX_DELAY_DROP_TIMEOUT_MS,4,2 ; @MLX5_MAX_DELAY_DROP_TIMEOUT_MS
	.comm	_delay_drop_handler,4,2         ; @delay_drop_handler
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to init delay drop debugfs\n"

	.no_dead_strip	_init_delay_drop
.subsections_via_symbols
