	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_dpipe_table_host_match_action_prepare
_mlxsw_sp_dpipe_table_host_match_action_prepare: ## @mlxsw_sp_dpipe_table_host_match_action_prepare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT@GOTPCREL(%rip), %r8
	movq	(%r8), %rcx
	leaq	(%rax,%rax,2), %rax
	movq	%rcx, 16(%rdi,%rax,8)
	movq	_mlxsw_sp_dpipe_header_metadata@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rdi,%rax,8)
	movq	_MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rdi,%rax,8)
	movq	_MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r8), %rcx
	leaq	(%rax,%rax,2), %rax
	movq	%rcx, 16(%rdi,%rax,8)
	cmpl	$129, %edx
	je	LBB0_1
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_5
## %bb.3:
	movq	_DEVLINK_DPIPE_FIELD_IPV6_DST_IP@GOTPCREL(%rip), %rcx
	movq	_devlink_dpipe_header_ipv6@GOTPCREL(%rip), %rdx
	jmp	LBB0_4
LBB0_1:
	movq	_DEVLINK_DPIPE_FIELD_IPV4_DST_IP@GOTPCREL(%rip), %rcx
	movq	_devlink_dpipe_header_ipv4@GOTPCREL(%rip), %rdx
LBB0_4:
	movq	%rdx, 8(%rdi,%rax,8)
	movl	(%rcx), %ecx
	movl	%ecx, (%rdi,%rax,8)
	movq	_DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
	movq	_devlink_dpipe_header_ethernet@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rsi)
	movq	_DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	popq	%rbp
	retq
LBB0_5:
	movl	$1, %edi
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF,8,3 ## @MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF
	.comm	_DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT,8,3 ## @DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT
	.comm	_mlxsw_sp_dpipe_header_metadata,4,2 ## @mlxsw_sp_dpipe_header_metadata
	.comm	_MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT,4,2 ## @MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT
	.comm	_MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP,8,3 ## @MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP
	.comm	_devlink_dpipe_header_ipv4,4,2  ## @devlink_dpipe_header_ipv4
	.comm	_DEVLINK_DPIPE_FIELD_IPV4_DST_IP,4,2 ## @DEVLINK_DPIPE_FIELD_IPV4_DST_IP
	.comm	_devlink_dpipe_header_ipv6,4,2  ## @devlink_dpipe_header_ipv6
	.comm	_DEVLINK_DPIPE_FIELD_IPV6_DST_IP,4,2 ## @DEVLINK_DPIPE_FIELD_IPV6_DST_IP
	.comm	_DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY,4,2 ## @DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY
	.comm	_devlink_dpipe_header_ethernet,4,2 ## @devlink_dpipe_header_ethernet
	.comm	_DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC,4,2 ## @DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC
	.no_dead_strip	_mlxsw_sp_dpipe_table_host_match_action_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_dpipe_table_host_match_action_prepare
_mlxsw_sp_dpipe_table_host_match_action_prepare: ; @mlxsw_sp_dpipe_table_host_match_action_prepare
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT@GOTPAGEOFF]
	ldr	x10, [x9]
	mov	w11, #24
	madd	x8, x8, x11, x0
Lloh5:
	adrp	x12, _mlxsw_sp_dpipe_header_metadata@GOTPAGE
Lloh6:
	ldr	x12, [x12, _mlxsw_sp_dpipe_header_metadata@GOTPAGEOFF]
	stp	x12, x10, [x8, #8]
Lloh7:
	adrp	x10, _MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
Lloh10:
	adrp	x12, _MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP@GOTPAGE
Lloh11:
	ldr	x12, [x12, _MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP@GOTPAGEOFF]
	str	w10, [x8]
Lloh12:
	ldr	x8, [x12]
	ldr	x9, [x9]
	madd	x10, x8, x11, x0
	str	x9, [x10, #16]
	cmp	w2, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_5
; %bb.2:
Lloh13:
	adrp	x9, _DEVLINK_DPIPE_FIELD_IPV6_DST_IP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DEVLINK_DPIPE_FIELD_IPV6_DST_IP@GOTPAGEOFF]
Lloh15:
	adrp	x10, _devlink_dpipe_header_ipv6@GOTPAGE
Lloh16:
	ldr	x10, [x10, _devlink_dpipe_header_ipv6@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x9, _DEVLINK_DPIPE_FIELD_IPV4_DST_IP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DEVLINK_DPIPE_FIELD_IPV4_DST_IP@GOTPAGEOFF]
Lloh19:
	adrp	x10, _devlink_dpipe_header_ipv4@GOTPAGE
Lloh20:
	ldr	x10, [x10, _devlink_dpipe_header_ipv4@GOTPAGEOFF]
LBB0_4:
	mov	w11, #24
	madd	x8, x8, x11, x0
	str	x10, [x8, #8]
	ldr	w9, [x9]
	str	w9, [x8]
Lloh21:
	adrp	x8, _DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _devlink_dpipe_header_ethernet@GOTPAGE
Lloh25:
	ldr	x9, [x9, _devlink_dpipe_header_ethernet@GOTPAGEOFF]
	str	w8, [x1, #16]
	str	x9, [x1, #8]
Lloh26:
	adrp	x8, _DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x1]
	ret
LBB0_5:
	mov	w0, #1
	b	_WARN_ON
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF,8,3 ; @MLXSW_SP_DPIPE_TABLE_HOST_MATCH_RIF
	.comm	_DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT,8,3 ; @DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT
	.comm	_mlxsw_sp_dpipe_header_metadata,4,2 ; @mlxsw_sp_dpipe_header_metadata
	.comm	_MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT,4,2 ; @MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT
	.comm	_MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP,8,3 ; @MLXSW_SP_DPIPE_TABLE_HOST_MATCH_DIP
	.comm	_devlink_dpipe_header_ipv4,4,2  ; @devlink_dpipe_header_ipv4
	.comm	_DEVLINK_DPIPE_FIELD_IPV4_DST_IP,4,2 ; @DEVLINK_DPIPE_FIELD_IPV4_DST_IP
	.comm	_devlink_dpipe_header_ipv6,4,2  ; @devlink_dpipe_header_ipv6
	.comm	_DEVLINK_DPIPE_FIELD_IPV6_DST_IP,4,2 ; @DEVLINK_DPIPE_FIELD_IPV6_DST_IP
	.comm	_DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY,4,2 ; @DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY
	.comm	_devlink_dpipe_header_ethernet,4,2 ; @devlink_dpipe_header_ethernet
	.comm	_DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC,4,2 ; @DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC
	.no_dead_strip	_mlxsw_sp_dpipe_table_host_match_action_prepare
.subsections_via_symbols
