	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_parse_tlv
_ip6_parse_tlv:                         ## @ip6_parse_tlv
	.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	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_skb_network_header
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_skb_network_header_len
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_skb_transport_header
	movl	4(%rax), %r13d
	leal	8(,%r13,8), %r14d
	movq	%r15, %rdi
	callq	_skb_transport_offset
	movslq	%r14d, %r14
	addq	%rax, %r14
	movq	%r15, %rdi
	callq	_skb_headlen
	cmpq	%rax, %r14
	jg	LBB0_13
## %bb.1:
	shll	$3, %r13d
	orl	$6, %r13d
	jle	LBB0_13
## %bb.2:
	addl	$2, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r14d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%r14d, %ebx
	subl	%r14d, %r13d
	jle	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movslq	%ebx, %rax
	movzbl	1(%r12,%rax), %r14d
	addl	$2, %r14d
	movb	(%r12,%rax), %al
	cmpb	$-128, %al
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$-127, %al
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r13d, %r14d
	ja	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rdx
	addq	$16, %rcx
	cmpb	%al, (%rdx)
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	*-8(%rcx)
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_14
LBB0_11:
	je	LBB0_12
LBB0_13:
	movq	%r15, %rdi
	callq	_kfree_skb
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$1, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ip6_parse_tlv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_parse_tlv
_ip6_parse_tlv:                         ; @ip6_parse_tlv
	.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
	mov	x0, x1
	bl	_skb_network_header
	mov	x21, x0
	mov	x0, x19
	bl	_skb_network_header_len
	mov	x22, x0
	mov	x0, x19
	bl	_skb_transport_header
	ldr	w8, [x0, #4]
	lsl	w23, w8, #3
	add	w24, w23, #8
	mov	x0, x19
	bl	_skb_transport_offset
	add	x24, x0, w24, sxtw
	mov	x0, x19
	bl	_skb_headlen
	cmp	x24, x0
	orr	w23, w23, #0x6
	ccmp	w23, #1, #8, le
	b.ge	LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_kfree_skb
	mov	w0, #0
LBB0_2:
	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_3:
	add	w22, w22, #2
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w24, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w24, w22
	sub	w23, w23, w24
	cmp	w23, #0
	b.le	LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	add	x8, x21, w22, sxtw
	ldrb	w9, [x8, #1]
	add	w24, w9, #2
	ldrb	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w24, w23
	b.hi	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x9, x20
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x9], #16
	cmp	w10, w8
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x9, #-8]
	mov	x0, x19
	mov	x1, x22
	blr	x8
	cbnz	w0, LBB0_5
	b	LBB0_2
LBB0_12:
	cbnz	w23, LBB0_1
; %bb.13:
	mov	w0, #1
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ip6_parse_tlv
.subsections_via_symbols
