	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_update_pkt_fwd_rule
_ice_update_pkt_fwd_rule:               ## @ice_update_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, %r15
	movq	%rdi, %r14
	callq	_ice_hw_to_dev
	movq	_ICE_SW_RULE_RX_TX_ETH_HDR_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	_ice_aqc_opc_update_sw_rules@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_ice_fill_sw_rule
	movl	(%r15), %edi
	callq	_cpu_to_le16
	movl	%eax, (%rbx)
	movl	(%r12), %edx
	movl	(%r13), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	xorl	%r9d, %r9d
	callq	_ice_aq_sw_rules
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_ice_hw_to_dev
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_devm_kfree
	movl	%r15d, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_ICE_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	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_aqc_opc_update_sw_rules,4,2 ## @ice_aqc_opc_update_sw_rules
	.no_dead_strip	_ice_update_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_update_pkt_fwd_rule
_ice_update_pkt_fwd_rule:               ; @ice_update_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	x22, _ICE_SW_RULE_RX_TX_ETH_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ICE_SW_RULE_RX_TX_ETH_HDR_SIZE@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x23, _ice_aqc_opc_update_sw_rules@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ice_aqc_opc_update_sw_rules@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ice_fill_sw_rule
	ldr	w0, [x21]
	bl	_cpu_to_le16
	str	w0, [x20]
	ldr	w2, [x22]
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	mov	x5, #0
	bl	_ice_aq_sw_rules
	mov	x21, x0
	mov	x0, x19
	bl	_ice_hw_to_dev
	mov	x1, x20
	bl	_devm_kfree
	mov	x0, x21
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _ICE_ERR_NO_MEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ICE_ERR_NO_MEMORY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.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_aqc_opc_update_sw_rules,4,2 ; @ice_aqc_opc_update_sw_rules
	.no_dead_strip	_ice_update_pkt_fwd_rule
.subsections_via_symbols
