	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecn_tg
_ecn_tg:                                ## @ecn_tg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movl	(%rbx), %eax
	movq	_IPT_ECN_OP_SET_IP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_set_ect_ip
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movl	(%rbx), %eax
LBB0_3:
	movq	_IPT_ECN_OP_SET_ECE@GOTPCREL(%rip), %rcx
	movq	_IPT_ECN_OP_SET_CWR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_ip_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_set_ect_tcp
	testl	%eax, %eax
	je	LBB0_8
LBB0_6:
	movq	_XT_CONTINUE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_NF_DROP@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPT_ECN_OP_SET_IP,4,2          ## @IPT_ECN_OP_SET_IP
	.comm	_NF_DROP,4,2                    ## @NF_DROP
	.comm	_IPT_ECN_OP_SET_ECE,4,2         ## @IPT_ECN_OP_SET_ECE
	.comm	_IPT_ECN_OP_SET_CWR,4,2         ## @IPT_ECN_OP_SET_CWR
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_XT_CONTINUE,4,2                ## @XT_CONTINUE
	.no_dead_strip	_ecn_tg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecn_tg
_ecn_tg:                                ; @ecn_tg
	.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	x20, x0
	ldr	x19, [x1]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IPT_ECN_OP_SET_IP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPT_ECN_OP_SET_IP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_set_ect_ip
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w8, [x19]
LBB0_3:
Lloh3:
	adrp	x9, _IPT_ECN_OP_SET_ECE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPT_ECN_OP_SET_ECE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _IPT_ECN_OP_SET_CWR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IPT_ECN_OP_SET_CWR@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_ip_hdr
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_set_ect_tcp
	cbz	w0, LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _XT_CONTINUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XT_CONTINUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _NF_DROP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NF_DROP@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IPT_ECN_OP_SET_IP,4,2          ; @IPT_ECN_OP_SET_IP
	.comm	_NF_DROP,4,2                    ; @NF_DROP
	.comm	_IPT_ECN_OP_SET_ECE,4,2         ; @IPT_ECN_OP_SET_ECE
	.comm	_IPT_ECN_OP_SET_CWR,4,2         ; @IPT_ECN_OP_SET_CWR
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_XT_CONTINUE,4,2                ; @XT_CONTINUE
	.no_dead_strip	_ecn_tg
.subsections_via_symbols
