	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_ste_build_ipv6_l3_l4_tag
_dr_ste_build_ipv6_l3_l4_tag:           ## @dr_ste_build_ipv6_l3_l4_tag
	.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
	leaq	8(%rdi), %rbx
	cmpq	$0, (%rsi)
	cmoveq	%rdi, %rbx
	movq	(%rdx), %r14
	movq	_eth_l4@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_dst_port@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_tcp_dport@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movq	_src_port@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_tcp_sport@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movl	(%r12), %edx
	movq	_udp_dport@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movl	(%r13), %edx
	movq	_udp_sport@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movq	_protocol@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ip_protocol@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movq	_fragmented@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_frag@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movq	_dscp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ip_dscp@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movq	_ecn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ip_ecn@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	movl	(%r15), %edi
	movq	_ipv6_hop_limit@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ttl_hoplimit@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_DR_STE_SET_TAG
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_DR_STE_SET_TCP_FLAGS
	movq	$0, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eth_l4,4,2                     ## @eth_l4
	.comm	_dst_port,4,2                   ## @dst_port
	.comm	_tcp_dport,4,2                  ## @tcp_dport
	.comm	_src_port,4,2                   ## @src_port
	.comm	_tcp_sport,4,2                  ## @tcp_sport
	.comm	_udp_dport,4,2                  ## @udp_dport
	.comm	_udp_sport,4,2                  ## @udp_sport
	.comm	_protocol,4,2                   ## @protocol
	.comm	_ip_protocol,4,2                ## @ip_protocol
	.comm	_fragmented,4,2                 ## @fragmented
	.comm	_frag,4,2                       ## @frag
	.comm	_dscp,4,2                       ## @dscp
	.comm	_ip_dscp,4,2                    ## @ip_dscp
	.comm	_ecn,4,2                        ## @ecn
	.comm	_ip_ecn,4,2                     ## @ip_ecn
	.comm	_ipv6_hop_limit,4,2             ## @ipv6_hop_limit
	.comm	_ttl_hoplimit,4,2               ## @ttl_hoplimit
	.no_dead_strip	_dr_ste_build_ipv6_l3_l4_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_ste_build_ipv6_l3_l4_tag
_dr_ste_build_ipv6_l3_l4_tag:           ; @dr_ste_build_ipv6_l3_l4_tag
	.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
	ldr	x8, [x1]
	add	x9, x0, #8
	cmp	x8, #0
	csel	x19, x0, x9, eq
	ldr	x20, [x2]
Lloh0:
	adrp	x21, _eth_l4@GOTPAGE
Lloh1:
	ldr	x21, [x21, _eth_l4@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _dst_port@GOTPAGE
Lloh3:
	ldr	x22, [x22, _dst_port@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh4:
	adrp	x8, _tcp_dport@GOTPAGE
Lloh5:
	ldr	x8, [x8, _tcp_dport@GOTPAGEOFF]
Lloh6:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
Lloh7:
	adrp	x23, _src_port@GOTPAGE
Lloh8:
	ldr	x23, [x23, _src_port@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh9:
	adrp	x8, _tcp_sport@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tcp_sport@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
	ldr	w2, [x22]
Lloh12:
	adrp	x8, _udp_dport@GOTPAGE
Lloh13:
	ldr	x8, [x8, _udp_dport@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
	ldr	w2, [x23]
Lloh15:
	adrp	x8, _udp_sport@GOTPAGE
Lloh16:
	ldr	x8, [x8, _udp_sport@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
Lloh18:
	adrp	x8, _protocol@GOTPAGE
Lloh19:
	ldr	x8, [x8, _protocol@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _ip_protocol@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ip_protocol@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
Lloh24:
	adrp	x8, _fragmented@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fragmented@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x8, _frag@GOTPAGE
Lloh28:
	ldr	x8, [x8, _frag@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
Lloh30:
	adrp	x8, _dscp@GOTPAGE
Lloh31:
	ldr	x8, [x8, _dscp@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x8, _ip_dscp@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ip_dscp@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
Lloh36:
	adrp	x8, _ecn@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ecn@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x8, _ip_ecn@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ip_ecn@GOTPAGEOFF]
Lloh41:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	w0, [x21]
Lloh42:
	adrp	x8, _ipv6_hop_limit@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ipv6_hop_limit@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
Lloh45:
	adrp	x8, _ttl_hoplimit@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ttl_hoplimit@GOTPAGEOFF]
Lloh47:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_DR_STE_SET_TAG
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, x19
	bl	_DR_STE_SET_TCP_FLAGS
	str	xzr, [x19]
LBB0_2:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_eth_l4,4,2                     ; @eth_l4
	.comm	_dst_port,4,2                   ; @dst_port
	.comm	_tcp_dport,4,2                  ; @tcp_dport
	.comm	_src_port,4,2                   ; @src_port
	.comm	_tcp_sport,4,2                  ; @tcp_sport
	.comm	_udp_dport,4,2                  ; @udp_dport
	.comm	_udp_sport,4,2                  ; @udp_sport
	.comm	_protocol,4,2                   ; @protocol
	.comm	_ip_protocol,4,2                ; @ip_protocol
	.comm	_fragmented,4,2                 ; @fragmented
	.comm	_frag,4,2                       ; @frag
	.comm	_dscp,4,2                       ; @dscp
	.comm	_ip_dscp,4,2                    ; @ip_dscp
	.comm	_ecn,4,2                        ; @ecn
	.comm	_ip_ecn,4,2                     ; @ip_ecn
	.comm	_ipv6_hop_limit,4,2             ; @ipv6_hop_limit
	.comm	_ttl_hoplimit,4,2               ; @ttl_hoplimit
	.no_dead_strip	_dr_ste_build_ipv6_l3_l4_tag
.subsections_via_symbols
