	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enc_bpftap
_enc_bpftap:                            ## @enc_bpftap
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_HHOOK_TYPE_IPSEC_IN@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_V_bpf_mask_in@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_10
LBB0_2:
	movq	_HHOOK_TYPE_IPSEC_OUT@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_V_bpf_mask_out@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_10
LBB0_4:
	movl	(%r15), %edi
	callq	_bpf_peers_present
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movl	%r12d, -48(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	$0, -44(%rbp)
	movq	(%rbx), %rcx
	movq	_SADB_EALG_NONE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.6:
	movq	_M_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
LBB0_7:
	movq	8(%rbx), %rcx
	movq	_SADB_AALG_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.8:
	movq	_M_AUTH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)
LBB0_9:
	movl	(%r15), %edi
	leaq	-48(%rbp), %rsi
	movl	$12, %edx
	movq	%r14, %rcx
	callq	_bpf_mtap2
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HHOOK_TYPE_IPSEC_IN,8,3        ## @HHOOK_TYPE_IPSEC_IN
	.comm	_V_bpf_mask_in,4,2              ## @V_bpf_mask_in
	.comm	_HHOOK_TYPE_IPSEC_OUT,8,3       ## @HHOOK_TYPE_IPSEC_OUT
	.comm	_V_bpf_mask_out,4,2             ## @V_bpf_mask_out
	.comm	_SADB_EALG_NONE,8,3             ## @SADB_EALG_NONE
	.comm	_M_CONF,4,2                     ## @M_CONF
	.comm	_SADB_AALG_NONE,8,3             ## @SADB_AALG_NONE
	.comm	_M_AUTH,4,2                     ## @M_AUTH
	.no_dead_strip	_enc_bpftap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enc_bpftap
_enc_bpftap:                            ; @enc_bpftap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x5
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _HHOOK_TYPE_IPSEC_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HHOOK_TYPE_IPSEC_IN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _V_bpf_mask_in@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_bpf_mask_in@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w4
	b.eq	LBB0_10
LBB0_2:
Lloh6:
	adrp	x8, _HHOOK_TYPE_IPSEC_OUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HHOOK_TYPE_IPSEC_OUT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x3
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _V_bpf_mask_out@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V_bpf_mask_out@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w4
	b.eq	LBB0_10
LBB0_4:
	ldr	w0, [x20]
	bl	_bpf_peers_present
	cbz	x0, LBB0_10
; %bb.5:
	mov	w8, #0
	ldr	w9, [x21, #16]
	stp	wzr, w9, [sp, #4]
	str	w22, [sp]
	ldr	x9, [x21]
Lloh12:
	adrp	x10, _SADB_EALG_NONE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SADB_EALG_NONE@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _M_CONF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _M_CONF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #4]
LBB0_7:
	ldr	x9, [x21, #8]
Lloh18:
	adrp	x10, _SADB_AALG_NONE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SADB_AALG_NONE@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_9
; %bb.8:
Lloh21:
	adrp	x9, _M_AUTH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _M_AUTH@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #4]
LBB0_9:
	ldr	w0, [x20]
	mov	x1, sp
	mov	w2, #12
	mov	x3, x19
	bl	_bpf_mtap2
LBB0_10:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_HHOOK_TYPE_IPSEC_IN,8,3        ; @HHOOK_TYPE_IPSEC_IN
	.comm	_V_bpf_mask_in,4,2              ; @V_bpf_mask_in
	.comm	_HHOOK_TYPE_IPSEC_OUT,8,3       ; @HHOOK_TYPE_IPSEC_OUT
	.comm	_V_bpf_mask_out,4,2             ; @V_bpf_mask_out
	.comm	_SADB_EALG_NONE,8,3             ; @SADB_EALG_NONE
	.comm	_M_CONF,4,2                     ; @M_CONF
	.comm	_SADB_AALG_NONE,8,3             ; @SADB_AALG_NONE
	.comm	_M_AUTH,4,2                     ; @M_AUTH
	.no_dead_strip	_enc_bpftap
.subsections_via_symbols
