	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_create_pkt_fwd_rule
_ice_create_pkt_fwd_rule:               ## @ice_create_pkt_fwd_rule
	.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	%rsi, %r13
	movq	%rdi, %r12
	callq	_ice_hw_to_dev
	movq	_ICE_SW_RULE_RX_TX_ETH_HDR_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%eax, %edi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_ice_hw_to_dev
	movl	(%rbx), %edx
	movl	%eax, %edi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	leaq	8(%rax), %rsi
	movups	(%r13), %xmm0
	movups	%xmm0, 8(%rax)
	movl	$1, (%rax)
	movq	_ICE_INVAL_LG_ACT_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_ICE_INVAL_SW_MARKER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_ICE_INVAL_COUNTER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_ice_aqc_opc_add_sw_rules@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_ice_fill_sw_rule
	movl	(%r15), %edx
	movl	(%r13), %r8d
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	xorl	%r9d, %r9d
	callq	_ice_aq_sw_rules
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_ice_hw_to_dev
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_devm_kfree
	movl	%r15d, %r13d
	jmp	LBB0_7
LBB0_1:
	movq	_ICE_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_8
LBB0_3:
	movq	_ICE_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_7
LBB0_6:
	movl	24(%r14), %edi
	callq	_le16_to_cpu
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movl	24(%r14), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%rbx)
	movl	8(%rbx), %esi
	movq	(%r12), %rax
	addq	$4, %rbx
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_list_add
LBB0_7:
	movq	%r12, %rdi
	callq	_ice_hw_to_dev
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_devm_kfree
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_SW_RULE_RX_TX_ETH_HDR_SIZE,4,2 ## @ICE_SW_RULE_RX_TX_ETH_HDR_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ICE_ERR_NO_MEMORY,4,2          ## @ICE_ERR_NO_MEMORY
	.comm	_ICE_INVAL_LG_ACT_INDEX,4,2     ## @ICE_INVAL_LG_ACT_INDEX
	.comm	_ICE_INVAL_SW_MARKER_ID,4,2     ## @ICE_INVAL_SW_MARKER_ID
	.comm	_ICE_INVAL_COUNTER_ID,4,2       ## @ICE_INVAL_COUNTER_ID
	.comm	_ice_aqc_opc_add_sw_rules,4,2   ## @ice_aqc_opc_add_sw_rules
	.no_dead_strip	_ice_create_pkt_fwd_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_create_pkt_fwd_rule
_ice_create_pkt_fwd_rule:               ; @ice_create_pkt_fwd_rule
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	bl	_ice_hw_to_dev
Lloh0:
	adrp	x23, _ICE_SW_RULE_RX_TX_ETH_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ICE_SW_RULE_RX_TX_ETH_HDR_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_ice_hw_to_dev
	ldr	w2, [x22]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x22, x0
	add	x1, x0, #8
	ldr	q0, [x21]
	stur	q0, [x0, #8]
	mov	w8, #1
	str	w8, [x0]
Lloh4:
	adrp	x8, _ICE_INVAL_LG_ACT_INDEX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICE_INVAL_LG_ACT_INDEX@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #36]
Lloh7:
	adrp	x8, _ICE_INVAL_SW_MARKER_ID@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ICE_INVAL_SW_MARKER_ID@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _ICE_INVAL_COUNTER_ID@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ICE_INVAL_COUNTER_ID@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #28]
Lloh13:
	adrp	x24, _ice_aqc_opc_add_sw_rules@GOTPAGE
Lloh14:
	ldr	x24, [x24, _ice_aqc_opc_add_sw_rules@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_ice_fill_sw_rule
	ldr	w2, [x23]
	ldr	w4, [x24]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	mov	x5, #0
	bl	_ice_aq_sw_rules
	mov	x23, x0
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_ice_hw_to_dev
	mov	x1, x22
	bl	_devm_kfree
	b	LBB0_7
LBB0_4:
Lloh15:
	adrp	x8, _ICE_ERR_NO_MEMORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ICE_ERR_NO_MEMORY@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	b	LBB0_8
LBB0_5:
Lloh18:
	adrp	x8, _ICE_ERR_NO_MEMORY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ICE_ERR_NO_MEMORY@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x20, #24]
	bl	_le16_to_cpu
	str	x0, [x21, #8]
	ldr	w0, [x20, #24]
	bl	_le16_to_cpu
	str	x0, [x22, #16]
	ldr	w8, [x22, #8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	add	x0, x22, #4
	add	x1, x9, x8, lsl #2
	bl	_list_add
LBB0_7:
	mov	x0, x19
	bl	_ice_hw_to_dev
	mov	x1, x20
	bl	_devm_kfree
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_SW_RULE_RX_TX_ETH_HDR_SIZE,4,2 ; @ICE_SW_RULE_RX_TX_ETH_HDR_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ICE_ERR_NO_MEMORY,4,2          ; @ICE_ERR_NO_MEMORY
	.comm	_ICE_INVAL_LG_ACT_INDEX,4,2     ; @ICE_INVAL_LG_ACT_INDEX
	.comm	_ICE_INVAL_SW_MARKER_ID,4,2     ; @ICE_INVAL_SW_MARKER_ID
	.comm	_ICE_INVAL_COUNTER_ID,4,2       ; @ICE_INVAL_COUNTER_ID
	.comm	_ice_aqc_opc_add_sw_rules,4,2   ; @ice_aqc_opc_add_sw_rules
	.no_dead_strip	_ice_create_pkt_fwd_rule
.subsections_via_symbols
