	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macsec_validate_skb
_macsec_validate_skb:                   ## @macsec_validate_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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movl	(%rdi), %r14d
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_MACSEC_TCI_SC@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%edi, %edi
	andl	(%r12), %eax
	setne	%dil
	callq	_macsec_extra_len
	cmpl	$17, (%rbx)
	jl	LBB0_9
## %bb.2:
	movl	(%r12), %ecx
	movq	_MACSEC_TCI_VERSION@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_9
## %bb.4:
	movq	_MACSEC_TCI_ES@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_6
## %bb.5:
	movq	_MACSEC_TCI_SCB@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_8
LBB0_6:
	testl	%ecx, (%r15)
	jne	LBB0_9
LBB0_8:
	cmpq	$0, 16(%r12)
	je	LBB0_11
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpl	$0, 8(%r12)
	je	LBB0_9
## %bb.12:
	addl	%r13d, %r13d
	subl	%r13d, %r14d
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	4(%r12), %ecx
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.13:
	addl	%eax, %ecx
	cmpl	%ecx, %r14d
	sete	%al
	jmp	LBB0_10
LBB0_15:
	movq	_MIN_NON_SHORT_LEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	cmpl	%eax, %r14d
	setge	%al
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MACSEC_TCI_SC,4,2              ## @MACSEC_TCI_SC
	.comm	_MACSEC_TCI_VERSION,4,2         ## @MACSEC_TCI_VERSION
	.comm	_MACSEC_TCI_ES,4,2              ## @MACSEC_TCI_ES
	.comm	_MACSEC_TCI_SCB,4,2             ## @MACSEC_TCI_SCB
	.comm	_MIN_NON_SHORT_LEN,4,2          ## @MIN_NON_SHORT_LEN
	.no_dead_strip	_macsec_validate_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macsec_validate_skb
_macsec_validate_skb:                   ; @macsec_validate_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, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w8, [x21]
Lloh3:
	adrp	x24, _MACSEC_TCI_SC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MACSEC_TCI_SC@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	cset	w0, ne
	bl	_macsec_extra_len
	ldr	w8, [x20]
	cmp	w8, #17
	b.lt	LBB0_6
; %bb.1:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _MACSEC_TCI_VERSION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MACSEC_TCI_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.2:
Lloh8:
	adrp	x9, _MACSEC_TCI_ES@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MACSEC_TCI_ES@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x9, _MACSEC_TCI_SCB@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MACSEC_TCI_SCB@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_6
LBB0_5:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	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_8:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_6
; %bb.9:
	sub	w8, w22, w23, lsl #1
	add	w9, w0, w19
	ldr	w10, [x21, #4]
	cbz	w10, LBB0_11
; %bb.10:
	add	w9, w10, w9
	cmp	w8, w9
	cset	w0, eq
	b	LBB0_7
LBB0_11:
Lloh14:
	adrp	x10, _MIN_NON_SHORT_LEN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MIN_NON_SHORT_LEN@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	add	w9, w10, w9
	cmp	w8, w9
	cset	w0, ge
	b	LBB0_7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MACSEC_TCI_SC,4,2              ; @MACSEC_TCI_SC
	.comm	_MACSEC_TCI_VERSION,4,2         ; @MACSEC_TCI_VERSION
	.comm	_MACSEC_TCI_ES,4,2              ; @MACSEC_TCI_ES
	.comm	_MACSEC_TCI_SCB,4,2             ; @MACSEC_TCI_SCB
	.comm	_MIN_NON_SHORT_LEN,4,2          ; @MIN_NON_SHORT_LEN
	.no_dead_strip	_macsec_validate_skb
.subsections_via_symbols
