	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_ipsec_parse_proto_keys
_ixgbevf_ipsec_parse_proto_keys:        ## @ixgbevf_ipsec_parse_proto_keys
	.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	(%rdi), %rax
	movq	8(%rdi), %r14
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rdx, %rbx
	movq	_IXGBE_IPSEC_AUTH_BITS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, (%rax)
	jne	LBB0_5
## %bb.6:
	movq	%rsi, %r15
	movq	8(%rax), %r13
	movl	16(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	24(%rax), %rdi
	movq	_aes_gcm_name@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_IXGBE_IPSEC_KEY_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%ecx, %edx
	jle	LBB0_12
## %bb.9:
	movl	16(%r13), %eax
	jmp	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	jne	LBB0_13
LBB0_10:
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	callq	_memcpy
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported IPsec algorithm\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IXGBE_IPSEC_AUTH_BITS,8,3      ## @IXGBE_IPSEC_AUTH_BITS
L_.str.1:                               ## @.str.1
	.asciz	"IPsec offload requires %d bit authentication\n"

	.comm	_aes_gcm_name,4,2               ## @aes_gcm_name
L_.str.2:                               ## @.str.2
	.asciz	"Unsupported IPsec algorithm - please use %s\n"

	.comm	_IXGBE_IPSEC_KEY_BITS,4,2       ## @IXGBE_IPSEC_KEY_BITS
L_.str.3:                               ## @.str.3
	.asciz	"IPsec hw offload only supports keys up to 128 bits with a 32 bit salt\n"

	.no_dead_strip	_ixgbevf_ipsec_parse_proto_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_ipsec_parse_proto_keys
_ixgbevf_ipsec_parse_proto_keys:        ; @ixgbevf_ipsec_parse_proto_keys
	.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
	ldp	x8, x19, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x10, [x8]
Lloh0:
	adrp	x9, _IXGBE_IPSEC_AUTH_BITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_IPSEC_AUTH_BITS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x10, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x21, x2
	mov	x20, x1
	ldr	x22, [x8, #8]
	ldr	w23, [x8, #16]
	ldr	x0, [x8, #24]
Lloh3:
	adrp	x24, _aes_gcm_name@GOTPAGE
Lloh4:
	ldr	x24, [x24, _aes_gcm_name@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w8, [x24]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
	str	x9, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_netdev_err
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
LBB0_8:
Lloh14:
	adrp	x8, _IXGBE_IPSEC_KEY_BITS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IXGBE_IPSEC_KEY_BITS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w23, w8
	b.le	LBB0_10
; %bb.9:
	ldr	w8, [x22, #16]
	b	LBB0_12
LBB0_10:
	b.ne	LBB0_13
; %bb.11:
	mov	w8, #0
LBB0_12:
	str	w8, [x21]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #16
	bl	_memcpy
	mov	w0, #0
	b	LBB0_7
LBB0_13:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported IPsec algorithm\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IXGBE_IPSEC_AUTH_BITS,8,3      ; @IXGBE_IPSEC_AUTH_BITS
l_.str.1:                               ; @.str.1
	.asciz	"IPsec offload requires %d bit authentication\n"

	.comm	_aes_gcm_name,4,2               ; @aes_gcm_name
l_.str.2:                               ; @.str.2
	.asciz	"Unsupported IPsec algorithm - please use %s\n"

	.comm	_IXGBE_IPSEC_KEY_BITS,4,2       ; @IXGBE_IPSEC_KEY_BITS
l_.str.3:                               ; @.str.3
	.asciz	"IPsec hw offload only supports keys up to 128 bits with a 32 bit salt\n"

	.no_dead_strip	_ixgbevf_ipsec_parse_proto_keys
.subsections_via_symbols
