	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_dv_to_prm_packet_reforamt_type
_mlx5_ib_dv_to_prm_packet_reforamt_type: ## @mlx5_ib_dv_to_prm_packet_reforamt_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %edi
	je	LBB0_6
## %bb.2:
	cmpl	$130, %edi
	jne	LBB0_7
## %bb.3:
	movq	_MLX5_REFORMAT_TYPE_L2_TO_L2_TUNNEL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_REFORMAT_TYPE_L2_TO_L2_TUNNEL,4,2 ## @MLX5_REFORMAT_TYPE_L2_TO_L2_TUNNEL
	.comm	_MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2,4,2 ## @MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2
	.comm	_MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL,4,2 ## @MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mlx5_ib_dv_to_prm_packet_reforamt_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_ib_dv_to_prm_packet_reforamt_type
_mlx5_ib_dv_to_prm_packet_reforamt_type: ; @mlx5_ib_dv_to_prm_packet_reforamt_type
	.cfi_startproc
; %bb.0:
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #0
Lloh0:
	adrp	x8, _MLX5_REFORMAT_TYPE_L2_TO_L2_TUNNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_REFORMAT_TYPE_L2_TO_L2_TUNNEL@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
Lloh2:
	adrp	x8, _MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
Lloh4:
	adrp	x8, _MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x1]
	ret
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_REFORMAT_TYPE_L2_TO_L2_TUNNEL,4,2 ; @MLX5_REFORMAT_TYPE_L2_TO_L2_TUNNEL
	.comm	_MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2,4,2 ; @MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2
	.comm	_MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL,4,2 ; @MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mlx5_ib_dv_to_prm_packet_reforamt_type
.subsections_via_symbols
