	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_ipv6
_set_ipv6:                              ## @set_ipv6
	.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, %r14
	movq	%rdi, %r12
	callq	_skb_network_offset
	leaq	16(%rax), %rsi
	movq	%r12, %rdi
	callq	_make_writable
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	%r12, %rdi
	callq	_ipv6_hdr
	movq	%rax, %r15
	leaq	12(%rax), %r13
	leaq	8(%rax), %rbx
	movl	20(%r14), %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	16(%r14), %esi
	movl	20(%r14), %ecx
	movq	%r12, %rdi
	movq	%r13, %rdx
	movl	$1, %r8d
	callq	_set_ipv6_addr
LBB0_3:
	movl	12(%r14), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	$0, -48(%rbp)
	movq	_IP6_FH_F_SKIP_RH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	4(%r15), %edi
	callq	_ipv6_ext_hdr
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_NEXTHDR_ROUTING@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %r8
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_ipv6_find_hdr
	xorl	%r8d, %r8d
	cmpq	(%r13), %rax
	setne	%r8b
	jmp	LBB0_7
LBB0_5:
	movl	$1, %r8d
LBB0_7:
	movl	12(%r14), %ecx
	movl	16(%r14), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_set_ipv6_addr
LBB0_8:
	movl	8(%r14), %esi
	movq	%r15, %rdi
	callq	_set_ipv6_tc
	movl	4(%r14), %edi
	callq	_ntohl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_set_ipv6_fl
	movl	(%r14), %eax
	movl	%eax, (%r15)
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IP6_FH_F_SKIP_RH,4,2           ## @IP6_FH_F_SKIP_RH
	.comm	_NEXTHDR_ROUTING,8,3            ## @NEXTHDR_ROUTING
	.no_dead_strip	_set_ipv6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_ipv6
_set_ipv6:                              ; @set_ipv6
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_skb_network_offset
	add	x1, x0, #16
	mov	x0, x20
	bl	_make_writable
	mov	x22, x0
	bl	_unlikely
	cbnz	x0, LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_ipv6_hdr
	mov	x21, x0
	add	x23, x0, #12
	add	x22, x0, #8
	ldr	w0, [x19, #20]
	mov	x1, x23
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_3
; %bb.2:
	ldp	w1, w3, [x19, #16]
	mov	x0, x20
	mov	x2, x23
	mov	w4, #1
	bl	_set_ipv6_addr
LBB0_3:
	ldr	w0, [x19, #12]
	mov	x1, x22
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_8
; %bb.4:
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _IP6_FH_F_SKIP_RH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP6_FH_F_SKIP_RH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w0, [x21, #4]
	bl	_ipv6_ext_hdr
	cbz	x0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x23, _NEXTHDR_ROUTING@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NEXTHDR_ROUTING@GOTPAGEOFF]
	ldr	x2, [x23]
	add	x1, sp, #12
	add	x4, sp, #8
	mov	x0, x20
	mov	x3, #0
	bl	_ipv6_find_hdr
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w4, ne
	b	LBB0_7
LBB0_6:
	mov	w4, #1
LBB0_7:
	ldp	w3, w1, [x19, #12]
	mov	x0, x20
	mov	x2, x22
	bl	_set_ipv6_addr
LBB0_8:
	ldr	w1, [x19, #8]
	mov	x0, x21
	bl	_set_ipv6_tc
	ldr	w0, [x19, #4]
	bl	_ntohl
	mov	x1, x0
	mov	x0, x21
	bl	_set_ipv6_fl
	mov	w22, #0
	ldr	w8, [x19]
	str	w8, [x21]
LBB0_9:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IP6_FH_F_SKIP_RH,4,2           ; @IP6_FH_F_SKIP_RH
	.comm	_NEXTHDR_ROUTING,8,3            ; @NEXTHDR_ROUTING
	.no_dead_strip	_set_ipv6
.subsections_via_symbols
