	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxkad_verify_packet_encrypt
_rxkad_verify_packet_encrypt:           ## @rxkad_verify_packet_encrypt
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %esi
	leaq	L_.str(%rip), %rdi
	callq	__enter
	movq	%r13, %rdi
	callq	_rxrpc_skb
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	leaq	-120(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_skb_cow_data
	testl	%eax, %eax
	js	LBB0_15
## %bb.1:
	movl	%eax, %r12d
	leaq	-64(%rbp), %r14
	xorl	%edi, %edi
	cmpl	$5, %eax
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leal	(,%r12,4), %edi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_15
LBB0_3:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_sg_init_table
	movl	(%r13), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_skb_to_sgvec
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movl	-72(%rbp), %eax
	movl	%eax, -104(%rbp)
	movq	$0, -112(%rbp)
	movl	(%r13), %ecx
	leaq	-112(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	callq	_crypto_blkcipher_decrypt_iv
	leaq	-64(%rbp), %rax
	cmpq	%rax, %r14
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_kfree
LBB0_5:
	xorl	%r15d, %r15d
	leaq	-80(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %ecx
	callq	_skb_copy_bits
	movq	_RXKADDATALEN@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	js	LBB0_10
## %bb.6:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_skb_pull
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_BUG
LBB0_8:
	movl	-80(%rbp), %edi
	callq	_ntohl
	movl	%eax, %r14d
	movl	%eax, %ebx
	shrl	$16, %ebx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	xorl	(%rax), %edi
	callq	_ntohl
	movzwl	%ax, %eax
	cmpl	%eax, %ebx
	jne	LBB0_9
## %bb.11:
	movzwl	%r14w, %esi
	cmpl	(%r13), %esi
	jg	LBB0_10
## %bb.12:
	jge	LBB0_14
## %bb.13:
	movl	%esi, (%r13)
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	__leave
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	__leave
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_9:
	movq	_RXKADSEALEDINCON@GOTPCREL(%rip), %r12
LBB0_10:
	movl	(%r12), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	__leave
	movq	_EPROTO@GOTPCREL(%rip), %rax
LBB0_16:
	subl	(%rax), %r15d
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",{%d}"

	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_RXKADSEALEDINCON,4,2           ## @RXKADSEALEDINCON
L_.str.1:                               ## @.str.1
	.asciz	" = 0 [dlen=%x]"

	.comm	_RXKADDATALEN,4,2               ## @RXKADDATALEN
L_.str.2:                               ## @.str.2
	.asciz	" = -EPROTO"

	.comm	_EPROTO,4,2                     ## @EPROTO
L_.str.3:                               ## @.str.3
	.asciz	" = -ENOMEM"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rxkad_verify_packet_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxkad_verify_packet_encrypt
_rxkad_verify_packet_encrypt:           ; @rxkad_verify_packet_encrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	w1, [x1]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__enter
	mov	x0, x20
	bl	_rxrpc_skb
	mov	x21, x0
	add	x2, sp, #16
	mov	x0, x20
	mov	w1, #0
	bl	_skb_cow_data
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x24, x0
	add	x25, sp, #56
	cmp	w0, #4
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	lsl	w0, w24, #2
Lloh5:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x23, x0
	cbnz	x0, LBB0_5
LBB0_3:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__leave
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_4:
	add	x23, sp, #56
LBB0_5:
	mov	x0, x23
	mov	x1, x24
	bl	_sg_init_table
	ldr	w3, [x20]
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	bl	_skb_to_sgvec
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x22]
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	stp	w9, w8, [sp, #40]
	str	xzr, [sp, #32]
	ldr	w3, [x20]
	add	x0, sp, #32
	mov	x1, x23
	mov	x2, x23
	bl	_crypto_blkcipher_decrypt_iv
	cmp	x23, x25
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x23
	bl	_kfree
LBB0_7:
	add	x2, sp, #48
	mov	x0, x20
	mov	w1, #0
	mov	w3, #4
	bl	_skb_copy_bits
	tbnz	x0, #63, LBB0_12
; %bb.8:
	mov	x0, x20
	mov	w1, #4
	bl	_skb_pull
	cbnz	w0, LBB0_10
; %bb.9:
	bl	_BUG
LBB0_10:
	ldr	w0, [sp, #48]
	bl	_ntohl
	mov	x22, x0
	lsr	w23, w0, #16
	ldp	w8, w9, [x21]
	eor	w0, w9, w8
	bl	_ntohl
	cmp	w23, w0, uxth
	b.ne	LBB0_13
; %bb.11:
	and	w8, w22, #0xffff
	ldr	w9, [x20]
	cmp	w8, w9
	b.le	LBB0_18
LBB0_12:
Lloh12:
	adrp	x8, _RXKADDATALEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RXKADDATALEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh14:
	adrp	x8, _RXKADSEALEDINCON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RXKADSEALEDINCON@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__leave
Lloh18:
	adrp	x8, _EPROTO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldr	x8, [sp, #72]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.17:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_18:
	b.ge	LBB0_20
; %bb.19:
	str	w8, [x20]
LBB0_20:
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__leave
	mov	w0, #0
	b	LBB0_16
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",{%d}"

	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_RXKADSEALEDINCON,4,2           ; @RXKADSEALEDINCON
l_.str.1:                               ; @.str.1
	.asciz	" = 0 [dlen=%x]"

	.comm	_RXKADDATALEN,4,2               ; @RXKADDATALEN
l_.str.2:                               ; @.str.2
	.asciz	" = -EPROTO"

	.comm	_EPROTO,4,2                     ; @EPROTO
l_.str.3:                               ; @.str.3
	.asciz	" = -ENOMEM"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rxkad_verify_packet_encrypt
.subsections_via_symbols
