	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tos_tg6
_tos_tg6:                               ## @tos_tg6
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rsi), %r15
	callq	_ipv6_hdr
	movq	%rax, %rdi
	callq	_ipv6_get_dsfield
	movl	(%r15), %ebx
	andl	%eax, %ebx
	xorl	4(%r15), %ebx
	movq	_XT_CONTINUE@GOTPCREL(%rip), %r15
	cmpl	%ebx, %eax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_skb_make_writable
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_ipv6_hdr
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_ipv6_change_dsfield
	jmp	LBB0_4
LBB0_2:
	movq	_NF_DROP@GOTPCREL(%rip), %r15
LBB0_4:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NF_DROP,4,2                    ## @NF_DROP
	.comm	_XT_CONTINUE,4,2                ## @XT_CONTINUE
	.no_dead_strip	_tos_tg6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tos_tg6
_tos_tg6:                               ; @tos_tg6
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x1]
	bl	_ipv6_hdr
	bl	_ipv6_get_dsfield
	ldp	w8, w9, [x20]
	and	w8, w8, w0
	eor	w20, w8, w9
	cmp	w0, w20
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #4
	bl	_skb_make_writable
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_ipv6_hdr
	mov	w1, #0
	mov	x2, x20
	bl	_ipv6_change_dsfield
LBB0_3:
Lloh0:
	adrp	x8, _XT_CONTINUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XT_CONTINUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _NF_DROP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NF_DROP@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NF_DROP,4,2                    ; @NF_DROP
	.comm	_XT_CONTINUE,4,2                ; @XT_CONTINUE
	.no_dead_strip	_tos_tg6
.subsections_via_symbols
