	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function translate_active_width
_translate_active_width:                ## @translate_active_width
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	callq	_to_mdev
	movq	_MLX5_IB_WIDTH_1X@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_IB_WIDTH_1X@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_2:
	movq	_MLX5_IB_WIDTH_2X@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_IB_WIDTH_2X@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_4:
	movq	_MLX5_IB_WIDTH_4X@GOTPCREL(%rip), %rcx
	movq	_IB_WIDTH_4X@GOTPCREL(%rip), %r15
	testl	%ebx, (%rcx)
	jne	LBB0_10
## %bb.5:
	movq	_MLX5_IB_WIDTH_8X@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_IB_WIDTH_8X@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_7:
	movq	_MLX5_IB_WIDTH_12X@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_IB_WIDTH_12X@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_mlx5_ib_dbg
LBB0_10:
	movl	(%r15), %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_IB_WIDTH_1X,4,2           ## @MLX5_IB_WIDTH_1X
	.comm	_IB_WIDTH_1X,4,2                ## @IB_WIDTH_1X
	.comm	_MLX5_IB_WIDTH_2X,4,2           ## @MLX5_IB_WIDTH_2X
	.comm	_IB_WIDTH_2X,4,2                ## @IB_WIDTH_2X
	.comm	_MLX5_IB_WIDTH_4X,4,2           ## @MLX5_IB_WIDTH_4X
	.comm	_IB_WIDTH_4X,4,2                ## @IB_WIDTH_4X
	.comm	_MLX5_IB_WIDTH_8X,4,2           ## @MLX5_IB_WIDTH_8X
	.comm	_IB_WIDTH_8X,4,2                ## @IB_WIDTH_8X
	.comm	_MLX5_IB_WIDTH_12X,4,2          ## @MLX5_IB_WIDTH_12X
	.comm	_IB_WIDTH_12X,4,2               ## @IB_WIDTH_12X
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid active_width %d, setting width to default value: 4x\n"

	.no_dead_strip	_translate_active_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function translate_active_width
_translate_active_width:                ; @translate_active_width
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_to_mdev
Lloh0:
	adrp	x8, _MLX5_IB_WIDTH_1X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_IB_WIDTH_1X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb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_12X@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_mlx5_ib_dbg
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_IB_WIDTH_1X,4,2           ; @MLX5_IB_WIDTH_1X
	.comm	_IB_WIDTH_1X,4,2                ; @IB_WIDTH_1X
	.comm	_MLX5_IB_WIDTH_2X,4,2           ; @MLX5_IB_WIDTH_2X
	.comm	_IB_WIDTH_2X,4,2                ; @IB_WIDTH_2X
	.comm	_MLX5_IB_WIDTH_4X,4,2           ; @MLX5_IB_WIDTH_4X
	.comm	_IB_WIDTH_4X,4,2                ; @IB_WIDTH_4X
	.comm	_MLX5_IB_WIDTH_8X,4,2           ; @MLX5_IB_WIDTH_8X
	.comm	_IB_WIDTH_8X,4,2                ; @IB_WIDTH_8X
	.comm	_MLX5_IB_WIDTH_12X,4,2          ; @MLX5_IB_WIDTH_12X
	.comm	_IB_WIDTH_12X,4,2               ; @IB_WIDTH_12X
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid active_width %d, setting width to default value: 4x\n"

	.no_dead_strip	_translate_active_width
.subsections_via_symbols
