	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipsec_clone_create
_ipsec_clone_create:                    ## @ipsec_clone_create
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_M_IPSEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r15
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_IFT_TUNNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_if_alloc
	movq	%rax, %rbx
	movq	%rax, (%r15)
	movq	%r15, 32(%rax)
	movq	_ipsecname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_if_initname
	movq	$0, 24(%rbx)
	movq	_IPSEC_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rax
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_ipsec_ioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_ipsec_transmit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_ipsec_qflush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ipsec_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_if_attach
	movq	_DLT_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_bpfattach
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IPSEC,4,2                    ## @M_IPSEC
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_curthread,8,3                  ## @curthread
	.comm	_IFT_TUNNEL,4,2                 ## @IFT_TUNNEL
	.comm	_ipsecname,4,2                  ## @ipsecname
	.comm	_IPSEC_MTU,4,2                  ## @IPSEC_MTU
	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_ipsec_ioctl,4,2                ## @ipsec_ioctl
	.comm	_ipsec_transmit,4,2             ## @ipsec_transmit
	.comm	_ipsec_qflush,4,2               ## @ipsec_qflush
	.comm	_ipsec_output,4,2               ## @ipsec_output
	.comm	_DLT_NULL,4,2                   ## @DLT_NULL
	.no_dead_strip	_ipsec_clone_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipsec_clone_create
_ipsec_clone_create:                    ; @ipsec_clone_create
	.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, x1
Lloh0:
	adrp	x8, _M_IPSEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_IPSEC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #16
	bl	_malloc
	mov	x20, x0
Lloh9:
	adrp	x8, _curthread@GOTPAGE
Lloh10:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x0, #8]
Lloh12:
	adrp	x8, _IFT_TUNNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IFT_TUNNEL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_if_alloc
	mov	x21, x0
	str	x0, [x20]
	str	x20, [x0, #32]
Lloh15:
	adrp	x8, _ipsecname@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ipsecname@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_if_initname
	str	xzr, [x21, #24]
Lloh18:
	adrp	x8, _IPSEC_MTU@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IPSEC_MTU@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x21, #20]
Lloh21:
	adrp	x8, _IFF_POINTOPOINT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x21]
Lloh27:
	adrp	x8, _ipsec_ioctl@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ipsec_ioctl@GOTPAGEOFF]
Lloh29:
	adrp	x9, _ipsec_transmit@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ipsec_transmit@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #12]
Lloh33:
	adrp	x8, _ipsec_qflush@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ipsec_qflush@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _ipsec_output@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ipsec_output@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #4]
	mov	x0, x21
	bl	_if_attach
Lloh39:
	adrp	x8, _DLT_NULL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DLT_NULL@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #4
	bl	_bpfattach
	mov	w0, #0
	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	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IPSEC,4,2                    ; @M_IPSEC
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_curthread,8,3                  ; @curthread
	.comm	_IFT_TUNNEL,4,2                 ; @IFT_TUNNEL
	.comm	_ipsecname,4,2                  ; @ipsecname
	.comm	_IPSEC_MTU,4,2                  ; @IPSEC_MTU
	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_ipsec_ioctl,4,2                ; @ipsec_ioctl
	.comm	_ipsec_transmit,4,2             ; @ipsec_transmit
	.comm	_ipsec_qflush,4,2               ; @ipsec_qflush
	.comm	_ipsec_output,4,2               ; @ipsec_output
	.comm	_DLT_NULL,4,2                   ; @DLT_NULL
	.no_dead_strip	_ipsec_clone_create
.subsections_via_symbols
