	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function memodevent
_memodevent:                            ## @memodevent
	.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
	cmpl	$128, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_4
## %bb.2:
	movq	_me_srcaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_WAITOK@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_ip_encap_register_srcaddr
	movq	_me_srcaddrtab@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r14), %edx
	movq	_me_encap_cfg@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_ip_encap_attach
	movq	_ecookie@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_5
LBB0_3:
	movq	_ecookie@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ip_encap_detach
	movq	_me_srcaddrtab@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ip_encap_unregister_srcaddr
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_me_srcaddr,4,2                 ## @me_srcaddr
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_me_srcaddrtab,4,2              ## @me_srcaddrtab
	.comm	_me_encap_cfg,4,2               ## @me_encap_cfg
	.comm	_ecookie,4,2                    ## @ecookie
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_memodevent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function memodevent
_memodevent:                            ; @memodevent
	.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
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _me_srcaddr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _me_srcaddr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x19, _M_WAITOK@GOTPAGE
Lloh4:
	ldr	x19, [x19, _M_WAITOK@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x1, #0
	bl	_ip_encap_register_srcaddr
Lloh5:
	adrp	x8, _me_srcaddrtab@GOTPAGE
Lloh6:
	ldr	x8, [x8, _me_srcaddrtab@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	ldr	w2, [x19]
Lloh8:
	adrp	x0, _me_encap_cfg@GOTPAGE
Lloh9:
	ldr	x0, [x0, _me_encap_cfg@GOTPAGEOFF]
	mov	x1, #0
	bl	_ip_encap_attach
	mov	x8, x0
	mov	w0, #0
Lloh10:
	adrp	x9, _ecookie@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ecookie@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
	b	LBB0_5
LBB0_3:
Lloh13:
	adrp	x8, _ecookie@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ecookie@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_ip_encap_detach
Lloh16:
	adrp	x8, _me_srcaddrtab@GOTPAGE
Lloh17:
	ldr	x8, [x8, _me_srcaddrtab@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_ip_encap_unregister_srcaddr
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_me_srcaddr,4,2                 ; @me_srcaddr
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_me_srcaddrtab,4,2              ; @me_srcaddrtab
	.comm	_me_encap_cfg,4,2               ; @me_encap_cfg
	.comm	_ecookie,4,2                    ; @ecookie
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_memodevent
.subsections_via_symbols
