	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_mtu_to_ib_mtu
_mlx5_mtu_to_ib_mtu:                    ## @mlx5_mtu_to_ib_mtu
	.cfi_startproc
## %bb.0:
	cmpl	$1023, %edi                     ## imm = 0x3FF
	jle	LBB0_1
## %bb.4:
	cmpl	$1024, %edi                     ## imm = 0x400
	je	LBB0_8
## %bb.5:
	cmpl	$2048, %edi                     ## imm = 0x800
	je	LBB0_9
## %bb.6:
	cmpl	$4096, %edi                     ## imm = 0x1000
	jne	LBB0_10
## %bb.7:
	movl	$5, %eax
	retq
LBB0_1:
	movl	$1, %eax
	cmpl	$256, %edi                      ## imm = 0x100
	je	LBB0_11
## %bb.2:
	cmpl	$512, %edi                      ## imm = 0x200
	jne	LBB0_10
## %bb.3:
	movl	$2, %eax
	retq
LBB0_8:
	movl	$3, %eax
	retq
LBB0_9:
	movl	$4, %eax
	retq
LBB0_10:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movl	$-1, %eax
	popq	%rbp
LBB0_11:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid mtu\n"

	.no_dead_strip	_mlx5_mtu_to_ib_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_mtu_to_ib_mtu
_mlx5_mtu_to_ib_mtu:                    ; @mlx5_mtu_to_ib_mtu
	.cfi_startproc
; %bb.0:
	cmp	w0, #1023
	b.le	LBB0_5
; %bb.1:
	cmp	w0, #1024
	b.eq	LBB0_8
; %bb.2:
	cmp	w0, #2048
	b.eq	LBB0_9
; %bb.3:
	cmp	w0, #1, lsl #12                 ; =4096
	b.ne	LBB0_11
; %bb.4:
	mov	w0, #5
	ret
LBB0_5:
	cmp	w0, #256
	b.eq	LBB0_10
; %bb.6:
	cmp	w0, #512
	b.ne	LBB0_11
; %bb.7:
	mov	w0, #2
	ret
LBB0_8:
	mov	w0, #3
	ret
LBB0_9:
	mov	w0, #4
	ret
LBB0_10:
	mov	w0, #1
	ret
LBB0_11:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid mtu\n"

	.no_dead_strip	_mlx5_mtu_to_ib_mtu
.subsections_via_symbols
