	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_ipsec_handle_tx_skb      ## -- Begin function mlx5e_ipsec_handle_tx_skb
	.p2align	4, 0x90
_mlx5e_ipsec_handle_tx_skb:             ## @mlx5e_ipsec_handle_tx_skb
	.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	%rdx, %rbx
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_xfrm_offload
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_skb_sec_path
	xorl	%edi, %edi
	cmpl	$1, (%rax)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rdi
	addq	$16, %rdi
	jmp	LBB0_16
LBB0_3:
	movq	%rbx, %rdi
	callq	_xfrm_input_state
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%r12), %rdi
	addq	$12, %rdi
	jmp	LBB0_16
LBB0_5:
	cmpq	$0, (%r13)
	je	LBB0_6
## %bb.7:
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	xorl	%edi, %edi
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	xorl	%edi, %edi
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	setne	%dil
	jmp	LBB0_9
LBB0_6:
	movl	$1, %edi
LBB0_9:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%r12), %rdi
	addq	$8, %rdi
	jmp	LBB0_16
LBB0_11:
	movq	%rbx, %rdi
	callq	_skb_is_gso
	testl	%eax, %eax
	je	LBB0_12
LBB0_14:
	movq	%rbx, %rdi
	callq	_mlx5e_ipsec_add_metadata
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	(%r12), %rdi
	jmp	LBB0_16
LBB0_12:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_mlx5e_ipsec_remove_trailer
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	(%r12), %rdi
	addq	$4, %rdi
LBB0_16:
	callq	_atomic64_inc
	movq	%rbx, %rdi
	callq	_kfree_skb
	xorl	%ebx, %ebx
LBB0_17:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	8(%r13), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_mlx5e_ipsec_set_swp
	movq	(%r13), %rax
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	*(%rax)
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_mlx5e_ipsec_set_metadata
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_ipsec_handle_tx_skb      ; -- Begin function mlx5e_ipsec_handle_tx_skb
	.p2align	2
_mlx5e_ipsec_handle_tx_skb:             ; @mlx5e_ipsec_handle_tx_skb
	.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	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x19
	bl	_xfrm_offload
	cbz	x0, LBB0_17
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_skb_sec_path
	ldr	w8, [x0]
	cmp	w8, #1
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x22]
	add	x0, x8, #16
	b	LBB0_16
LBB0_3:
	mov	x0, x19
	bl	_xfrm_input_state
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x22]
	add	x0, x8, #12
	b	LBB0_16
LBB0_5:
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x24, [x19]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	b.ne	LBB0_10
; %bb.7:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_9
	b	LBB0_11
LBB0_8:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_11
LBB0_9:
	ldr	x8, [x22]
	add	x0, x8, #8
	b	LBB0_16
LBB0_10:
	ldr	x24, [x19]
Lloh3:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_9
LBB0_11:
	mov	x0, x19
	bl	_skb_is_gso
	cbz	w0, LBB0_14
LBB0_12:
	mov	x0, x19
	bl	_mlx5e_ipsec_add_metadata
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.13:
	ldr	x0, [x22]
	b	LBB0_16
LBB0_14:
	mov	x0, x19
	mov	x1, x23
	bl	_mlx5e_ipsec_remove_trailer
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.15:
	ldr	x8, [x22]
	add	x0, x8, #4
LBB0_16:
	bl	_atomic64_inc
	mov	x0, x19
	bl	_kfree_skb
	mov	x19, #0
LBB0_17:
	mov	x0, x19
	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
LBB0_18:
	ldr	w2, [x23, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_mlx5e_ipsec_set_swp
	ldr	x8, [x23]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	blr	x8
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_mlx5e_ipsec_set_metadata
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
.subsections_via_symbols
