	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_flow_action_create_packet_reformat_ctx
_mlx5_ib_flow_action_create_packet_reformat_ctx: ## @mlx5_ib_flow_action_create_packet_reformat_ctx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r13
	movl	%ecx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-48(%rbp), %rsi
	movl	%edx, %edi
	callq	_mlx5_ib_ft_type_to_namespace
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	leaq	-44(%rbp), %rsi
	movl	%ebx, %edi
	callq	_mlx5_ib_dv_to_prm_packet_reforamt_type
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%r14), %edi
	movl	-44(%rbp), %esi
	movl	-48(%rbp), %r8d
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_mlx5_packet_reformat_alloc
	movl	%eax, 12(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	12(%r15), %edi
	callq	_PTR_ERR
	jmp	LBB0_5
LBB0_4:
	movq	_MLX5_IB_FLOW_ACTION_PACKET_REFORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r14, (%r15)
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_IB_FLOW_ACTION_PACKET_REFORMAT,4,2 ## @MLX5_IB_FLOW_ACTION_PACKET_REFORMAT
	.no_dead_strip	_mlx5_ib_flow_action_create_packet_reformat_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_ib_flow_action_create_packet_reformat_ctx
_mlx5_ib_flow_action_create_packet_reformat_ctx: ; @mlx5_ib_flow_action_create_packet_reformat_ctx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x5
	mov	x21, x4
	mov	x23, x3
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #12
	mov	x0, x2
	bl	_mlx5_ib_ft_type_to_namespace
	cbnz	w0, LBB0_5
; %bb.1:
	add	x1, sp, #8
	mov	x0, x23
	bl	_mlx5_ib_dv_to_prm_packet_reforamt_type
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w0, [x20]
	ldp	w1, w4, [sp, #8]
	mov	x2, x22
	mov	x3, x21
	bl	_mlx5_packet_reformat_alloc
	str	w0, [x19, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #12]
	bl	_PTR_ERR
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _MLX5_IB_FLOW_ACTION_PACKET_REFORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_IB_FLOW_ACTION_PACKET_REFORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	x20, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_IB_FLOW_ACTION_PACKET_REFORMAT,4,2 ; @MLX5_IB_FLOW_ACTION_PACKET_REFORMAT
	.no_dead_strip	_mlx5_ib_flow_action_create_packet_reformat_ctx
.subsections_via_symbols
