	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_read_env
_mlx5_read_env:                         ## @mlx5_read_env
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_mlx5_enable_sandy_bridge_fix
LBB0_3:
	movl	%eax, (%r14)
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_atoi
	movq	_mlx5_stall_num_loop@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	callq	_atoi
	movq	_mlx5_stall_cq_poll_min@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rdi
	callq	_atoi
	movq	_mlx5_stall_cq_poll_max@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_9:
	leaq	L_.str.5(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %rdi
	callq	_atoi
	movq	_mlx5_stall_cq_inc_step@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_11:
	leaq	L_.str.6(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rdi
	callq	_atoi
	movq	_mlx5_stall_cq_dec_step@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_13:
	movl	$0, 4(%r14)
	movq	$0, 8(%r14)
	movq	_mlx5_stall_num_loop@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jns	LBB0_15
## %bb.14:
	movl	$1, 4(%r14)
	movq	_mlx5_stall_cq_poll_min@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MLX5_STALL_CQ_POLL"

L_.str.1:                               ## @.str.1
	.asciz	"0"

L_.str.2:                               ## @.str.2
	.asciz	"MLX5_STALL_NUM_LOOP"

	.comm	_mlx5_stall_num_loop,8,3        ## @mlx5_stall_num_loop
L_.str.3:                               ## @.str.3
	.asciz	"MLX5_STALL_CQ_POLL_MIN"

	.comm	_mlx5_stall_cq_poll_min,8,3     ## @mlx5_stall_cq_poll_min
L_.str.4:                               ## @.str.4
	.asciz	"MLX5_STALL_CQ_POLL_MAX"

	.comm	_mlx5_stall_cq_poll_max,8,3     ## @mlx5_stall_cq_poll_max
L_.str.5:                               ## @.str.5
	.asciz	"MLX5_STALL_CQ_INC_STEP"

	.comm	_mlx5_stall_cq_inc_step,8,3     ## @mlx5_stall_cq_inc_step
L_.str.6:                               ## @.str.6
	.asciz	"MLX5_STALL_CQ_DEC_STEP"

	.comm	_mlx5_stall_cq_dec_step,8,3     ## @mlx5_stall_cq_dec_step
	.no_dead_strip	_mlx5_read_env
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_read_env
_mlx5_read_env:                         ; @mlx5_read_env
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_mlx5_enable_sandy_bridge_fix
LBB0_3:
	str	w0, [x19]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
Lloh6:
	adrp	x20, _mlx5_stall_num_loop@GOTPAGE
Lloh7:
	ldr	x20, [x20, _mlx5_stall_num_loop@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_atoi
	str	x0, [x20]
LBB0_5:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getenv
Lloh10:
	adrp	x21, _mlx5_stall_cq_poll_min@GOTPAGE
Lloh11:
	ldr	x21, [x21, _mlx5_stall_cq_poll_min@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_atoi
	str	x0, [x21]
LBB0_7:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_9
; %bb.8:
	bl	_atoi
Lloh14:
	adrp	x8, _mlx5_stall_cq_poll_max@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mlx5_stall_cq_poll_max@GOTPAGEOFF]
Lloh16:
	str	x0, [x8]
LBB0_9:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_11
; %bb.10:
	bl	_atoi
Lloh19:
	adrp	x8, _mlx5_stall_cq_inc_step@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mlx5_stall_cq_inc_step@GOTPAGEOFF]
Lloh21:
	str	x0, [x8]
LBB0_11:
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_13
; %bb.12:
	bl	_atoi
Lloh24:
	adrp	x8, _mlx5_stall_cq_dec_step@GOTPAGE
Lloh25:
	ldr	x8, [x8, _mlx5_stall_cq_dec_step@GOTPAGEOFF]
Lloh26:
	str	x0, [x8]
LBB0_13:
	str	wzr, [x19, #4]
	str	xzr, [x19, #8]
	ldr	x8, [x20]
	tbz	x8, #63, LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	x8, [x21]
	str	x8, [x19, #8]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MLX5_STALL_CQ_POLL"

l_.str.1:                               ; @.str.1
	.asciz	"0"

l_.str.2:                               ; @.str.2
	.asciz	"MLX5_STALL_NUM_LOOP"

	.comm	_mlx5_stall_num_loop,8,3        ; @mlx5_stall_num_loop
l_.str.3:                               ; @.str.3
	.asciz	"MLX5_STALL_CQ_POLL_MIN"

	.comm	_mlx5_stall_cq_poll_min,8,3     ; @mlx5_stall_cq_poll_min
l_.str.4:                               ; @.str.4
	.asciz	"MLX5_STALL_CQ_POLL_MAX"

	.comm	_mlx5_stall_cq_poll_max,8,3     ; @mlx5_stall_cq_poll_max
l_.str.5:                               ; @.str.5
	.asciz	"MLX5_STALL_CQ_INC_STEP"

	.comm	_mlx5_stall_cq_inc_step,8,3     ; @mlx5_stall_cq_inc_step
l_.str.6:                               ; @.str.6
	.asciz	"MLX5_STALL_CQ_DEC_STEP"

	.comm	_mlx5_stall_cq_dec_step,8,3     ; @mlx5_stall_cq_dec_step
	.no_dead_strip	_mlx5_read_env
.subsections_via_symbols
