	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip4ip6_dscp_ecn_decapsulate
_ip4ip6_dscp_ecn_decapsulate:           ## @ip4ip6_dscp_ecn_decapsulate
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_ipv6_get_dsfield
	movq	_INET_ECN_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_IP6_TNL_F_RCV_DSCP_COPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_ip_hdr
	movl	(%r12), %esi
	movl	%eax, %edi
	movl	%ebx, %edx
	callq	_ipv4_change_dsfield
LBB0_2:
	movl	%ebx, %edi
	callq	_INET_ECN_is_ce
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_ip_hdr
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IP_ECN_set_ce                  ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INET_ECN_MASK,4,2              ## @INET_ECN_MASK
	.comm	_IP6_TNL_F_RCV_DSCP_COPY,4,2    ## @IP6_TNL_F_RCV_DSCP_COPY
	.no_dead_strip	_ip4ip6_dscp_ecn_decapsulate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip4ip6_dscp_ecn_decapsulate
_ip4ip6_dscp_ecn_decapsulate:           ; @ip4ip6_dscp_ecn_decapsulate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x0
	mov	x0, x1
	bl	_ipv6_get_dsfield
Lloh0:
	adrp	x22, _INET_ECN_MASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _INET_ECN_MASK@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w20, w0, w8
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _IP6_TNL_F_RCV_DSCP_COPY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IP6_TNL_F_RCV_DSCP_COPY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ip_hdr
	ldr	w1, [x22]
	mov	x2, x20
	bl	_ipv4_change_dsfield
LBB0_2:
	mov	x0, x20
	bl	_INET_ECN_is_ce
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ip_hdr
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_IP_ECN_set_ce
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INET_ECN_MASK,4,2              ; @INET_ECN_MASK
	.comm	_IP6_TNL_F_RCV_DSCP_COPY,4,2    ; @IP6_TNL_F_RCV_DSCP_COPY
	.no_dead_strip	_ip4ip6_dscp_ecn_decapsulate
.subsections_via_symbols
