	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macsec_decrypt
_macsec_decrypt:                        ## @macsec_decrypt
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%r8), %r12d
	callq	_macsec_skb_cb
	movl	$0, (%rax)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_share_check
	testq	%rax, %rax
	je	LBB0_21
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_skb_cow_data
	movl	%eax, %r15d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_kfree_skb
	movl	%r15d, %edi
	jmp	LBB0_14
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_3:
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%r15d, %ecx
	callq	_macsec_alloc_req
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	16(%rbx), %rax
	movq	-64(%rbp), %r14
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %edi
	callq	_ntohl
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_macsec_fill_iv
	movq	-48(%rbp), %rdi
	movl	%r15d, %esi
	callq	_sg_init_table
	movq	-48(%rbp), %rsi
	movl	(%rbx), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_skb_to_sgvec
	movl	%eax, %r14d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_aead_request_free
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_13:
	movl	%r14d, %edi
	jmp	LBB0_14
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_14:
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_20:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_MACSEC_TCI_E@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_macsec_skb_cb
	movl	16(%rax), %edi
	callq	_macsec_hdr_len
	subl	%eax, %r14d
	movq	-48(%rbp), %rdx
	movq	-64(%rbp), %r8
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rdx, %rsi
	movl	%r14d, %ecx
	callq	_aead_request_set_crypt
	movq	%rbx, %rdi
	callq	_macsec_skb_cb
	movl	16(%rax), %edi
	callq	_macsec_hdr_len
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_aead_request_set_ad
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skb_unshare
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_12
## %bb.10:
	movq	%r13, %rdi
	callq	_aead_request_free
	jmp	LBB0_5
LBB0_11:
	movq	-48(%rbp), %rdx
	movq	-64(%rbp), %r8
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rdx, %rsi
	movl	%r12d, %ecx
	callq	_aead_request_set_crypt
	movl	(%rbx), %esi
	subl	%r12d, %esi
	movq	%r13, %rdi
	callq	_aead_request_set_ad
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_12:
	movq	%rbx, %rdi
	callq	_macsec_skb_cb
	movq	%r13, 8(%rax)
	movq	%r15, 8(%rbx)
	movq	_macsec_decrypt_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_aead_request_set_callback
	movq	%r15, %rdi
	callq	_dev_hold
	movq	%r13, %rdi
	callq	_crypto_aead_decrypt
	movl	%eax, %r14d
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	je	LBB0_13
## %bb.15:
	testl	%r14d, %r14d
	je	LBB0_18
## %bb.16:
	movq	_EBADMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	je	LBB0_19
## %bb.17:
	movq	%rbx, %rdi
	callq	_kfree_skb
	movl	%r14d, %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
	jmp	LBB0_19
LBB0_18:
	movq	%rbx, %rdi
	callq	_macsec_skb_cb
	movl	$1, (%rax)
LBB0_19:
	movq	%r15, %rdi
	callq	_dev_put
	movq	%r13, %rdi
	callq	_aead_request_free
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MACSEC_TCI_E,4,2               ## @MACSEC_TCI_E
	.comm	_macsec_decrypt_done,4,2        ## @macsec_decrypt_done
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.no_dead_strip	_macsec_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macsec_decrypt
_macsec_decrypt:                        ; @macsec_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w22, [x4]
	bl	_macsec_skb_cb
	str	wzr, [x0]
Lloh0:
	adrp	x26, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_skb_share_check
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x2, sp, #16
	mov	w1, #0
	bl	_skb_cow_data
	mov	x24, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_kfree_skb
	mov	x0, x24
	b	LBB0_9
LBB0_3:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_PTR
LBB0_4:
	ldr	w0, [x21]
	add	x1, sp, #8
	add	x2, sp, #24
	mov	x3, x24
	bl	_macsec_alloc_req
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	ldr	x27, [x19, #16]
	ldr	x25, [sp, #8]
	ldr	w0, [x27, #4]
	bl	_ntohl
	mov	x2, x0
	mov	x0, x25
	mov	x1, x23
	bl	_macsec_fill_iv
	ldr	x0, [sp, #24]
	mov	x1, x24
	bl	_sg_init_table
	ldr	x1, [sp, #24]
	ldr	w3, [x19]
	mov	x0, x19
	mov	w2, #0
	bl	_skb_to_sgvec
	mov	x23, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.6:
	mov	x0, x21
	bl	_aead_request_free
	mov	x0, x19
	bl	_kfree_skb
	mov	x0, x23
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_kfree_skb
LBB0_8:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	bl	_ERR_PTR
	mov	x19, x0
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	ldr	w8, [x27]
Lloh8:
	adrp	x9, _MACSEC_TCI_E@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MACSEC_TCI_E@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
	ldr	w22, [x19]
	mov	x0, x19
	bl	_macsec_skb_cb
	ldr	w0, [x0, #16]
	bl	_macsec_hdr_len
	sub	w3, w22, w0
	ldr	x1, [sp, #24]
	ldr	x4, [sp, #8]
	mov	x0, x21
	mov	x2, x1
	bl	_aead_request_set_crypt
	mov	x0, x19
	bl	_macsec_skb_cb
	ldr	w0, [x0, #16]
	bl	_macsec_hdr_len
	mov	x1, x0
	mov	x0, x21
	bl	_aead_request_set_ad
	ldr	w1, [x26]
	mov	x0, x19
	bl	_skb_unshare
	mov	x19, x0
	cbnz	x0, LBB0_15
; %bb.13:
	mov	x0, x21
	bl	_aead_request_free
	b	LBB0_8
LBB0_14:
	ldr	x1, [sp, #24]
	ldr	x4, [sp, #8]
	mov	x0, x21
	mov	x2, x1
	mov	x3, x22
	bl	_aead_request_set_crypt
	ldr	w8, [x19]
	sub	w1, w8, w22
	mov	x0, x21
	bl	_aead_request_set_ad
LBB0_15:
	mov	x0, x19
	bl	_macsec_skb_cb
	str	x21, [x0, #8]
	str	x20, [x19, #8]
Lloh11:
	adrp	x8, _macsec_decrypt_done@GOTPAGE
Lloh12:
	ldr	x8, [x8, _macsec_decrypt_done@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x19
	bl	_aead_request_set_callback
	mov	x0, x20
	bl	_dev_hold
	mov	x0, x21
	bl	_crypto_aead_decrypt
	mov	x22, x0
Lloh14:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x22
	b	LBB0_9
LBB0_17:
	cbz	w22, LBB0_20
; %bb.18:
Lloh17:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmn	w22, w8
	b.eq	LBB0_21
; %bb.19:
	mov	x0, x19
	bl	_kfree_skb
	mov	x0, x22
	bl	_ERR_PTR
	mov	x19, x0
	b	LBB0_21
LBB0_20:
	mov	x0, x19
	bl	_macsec_skb_cb
	mov	w8, #1
	str	w8, [x0]
LBB0_21:
	mov	x0, x20
	bl	_dev_put
	mov	x0, x21
	bl	_aead_request_free
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MACSEC_TCI_E,4,2               ; @MACSEC_TCI_E
	.comm	_macsec_decrypt_done,4,2        ; @macsec_decrypt_done
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.no_dead_strip	_macsec_decrypt
.subsections_via_symbols
