	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lo_clone_create
_lo_clone_create:                       ## @lo_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	_IFT_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_if_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_loname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_if_initname
	movq	_LOMTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_loioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_looutput@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_ifqmaxlen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_IFCAP_HWCSUM@GOTPCREL(%rip), %rax
	movq	_IFCAP_HWCSUM_IPV6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IFCAP_LINKSTATE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movl	%ecx, 4(%rbx)
	movq	_LO_CSUM_FEATURES@GOTPCREL(%rip), %rax
	movq	_LO_CSUM_FEATURES6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movq	%rbx, %rdi
	callq	_if_attach
	movq	_DLT_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_bpfattach
	movq	_V_loif@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, (%rcx)
	jmp	LBB0_4
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFT_LOOP,4,2                   ## @IFT_LOOP
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_loname,4,2                     ## @loname
	.comm	_LOMTU,4,2                      ## @LOMTU
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_loioctl,4,2                    ## @loioctl
	.comm	_looutput,4,2                   ## @looutput
	.comm	_ifqmaxlen,4,2                  ## @ifqmaxlen
	.comm	_IFCAP_HWCSUM,4,2               ## @IFCAP_HWCSUM
	.comm	_IFCAP_HWCSUM_IPV6,4,2          ## @IFCAP_HWCSUM_IPV6
	.comm	_IFCAP_LINKSTATE,4,2            ## @IFCAP_LINKSTATE
	.comm	_LO_CSUM_FEATURES,4,2           ## @LO_CSUM_FEATURES
	.comm	_LO_CSUM_FEATURES6,4,2          ## @LO_CSUM_FEATURES6
	.comm	_DLT_NULL,4,2                   ## @DLT_NULL
	.comm	_V_loif,8,3                     ## @V_loif
	.no_dead_strip	_lo_clone_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lo_clone_create
_lo_clone_create:                       ; @lo_clone_create
	.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, x1
Lloh0:
	adrp	x8, _IFT_LOOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFT_LOOP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_if_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _loname@GOTPAGE
Lloh4:
	ldr	x8, [x8, _loname@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_if_initname
Lloh6:
	adrp	x8, _LOMTU@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LOMTU@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #28]
Lloh9:
	adrp	x8, _IFF_LOOPBACK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh15:
	adrp	x8, _loioctl@GOTPAGE
Lloh16:
	ldr	x8, [x8, _loioctl@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _looutput@GOTPAGE
Lloh19:
	ldr	x9, [x9, _looutput@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _IFCAP_HWCSUM@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IFCAP_HWCSUM@GOTPAGEOFF]
	stp	w9, w8, [x19, #20]
Lloh23:
	ldr	w8, [x10]
Lloh24:
	adrp	x9, _IFCAP_HWCSUM_IPV6@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IFCAP_HWCSUM_IPV6@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _IFCAP_LINKSTATE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IFCAP_LINKSTATE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
	stp	w8, w8, [x19, #4]
Lloh30:
	adrp	x8, _LO_CSUM_FEATURES@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LO_CSUM_FEATURES@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _LO_CSUM_FEATURES6@GOTPAGE
Lloh34:
	ldr	x9, [x9, _LO_CSUM_FEATURES6@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _ifqmaxlen@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ifqmaxlen@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #12]
	mov	x0, x19
	bl	_if_attach
Lloh39:
	adrp	x8, _DLT_NULL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DLT_NULL@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_bpfattach
Lloh42:
	adrp	x8, _V_loif@GOTPAGE
Lloh43:
	ldr	x8, [x8, _V_loif@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh44:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
	str	x19, [x8]
LBB0_5:
	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 AdrpLdrGot	Lloh42, Lloh43
	.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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_IFT_LOOP,4,2                   ; @IFT_LOOP
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_loname,4,2                     ; @loname
	.comm	_LOMTU,4,2                      ; @LOMTU
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_loioctl,4,2                    ; @loioctl
	.comm	_looutput,4,2                   ; @looutput
	.comm	_ifqmaxlen,4,2                  ; @ifqmaxlen
	.comm	_IFCAP_HWCSUM,4,2               ; @IFCAP_HWCSUM
	.comm	_IFCAP_HWCSUM_IPV6,4,2          ; @IFCAP_HWCSUM_IPV6
	.comm	_IFCAP_LINKSTATE,4,2            ; @IFCAP_LINKSTATE
	.comm	_LO_CSUM_FEATURES,4,2           ; @LO_CSUM_FEATURES
	.comm	_LO_CSUM_FEATURES6,4,2          ; @LO_CSUM_FEATURES6
	.comm	_DLT_NULL,4,2                   ; @DLT_NULL
	.comm	_V_loif,8,3                     ; @V_loif
	.no_dead_strip	_lo_clone_create
.subsections_via_symbols
