	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disc_clone_create
_disc_clone_create:                     ## @disc_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_M_DISC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$8, %edi
	callq	_malloc
	movq	%rax, %r15
	movq	_IFT_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_if_alloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, 40(%rax)
	movq	_discname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_if_initname
	movq	_DSMTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_discioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_discoutput@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	$20, 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
	jmp	LBB0_3
LBB0_1:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_free
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_DISC,4,2                     ## @M_DISC
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_IFT_LOOP,4,2                   ## @IFT_LOOP
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_discname,4,2                   ## @discname
	.comm	_DSMTU,4,2                      ## @DSMTU
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_discioctl,4,2                  ## @discioctl
	.comm	_discoutput,4,2                 ## @discoutput
	.comm	_DLT_NULL,4,2                   ## @DLT_NULL
	.no_dead_strip	_disc_clone_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disc_clone_create
_disc_clone_create:                     ; @disc_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	x20, x1
Lloh0:
	adrp	x22, _M_DISC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_DISC@GOTPAGEOFF]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #8
	bl	_malloc
	mov	x21, x0
Lloh8:
	adrp	x8, _IFT_LOOP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IFT_LOOP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_if_alloc
	str	x0, [x21]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	str	x21, [x0, #40]
Lloh11:
	adrp	x8, _discname@GOTPAGE
Lloh12:
	ldr	x8, [x8, _discname@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_if_initname
Lloh14:
	adrp	x8, _DSMTU@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DSMTU@GOTPAGEOFF]
Lloh16:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _IFF_MULTICAST@GOTPAGE
Lloh21:
	ldr	x10, [x10, _IFF_MULTICAST@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w9, w10, w9
	mov	w10, #20
	str	w9, [x19]
Lloh23:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh26:
	adrp	x8, _discioctl@GOTPAGE
Lloh27:
	ldr	x8, [x8, _discioctl@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _discoutput@GOTPAGE
Lloh30:
	ldr	x9, [x9, _discoutput@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	stp	xzr, xzr, [x19, #8]
	str	w10, [x19, #4]
	mov	x0, x19
	bl	_if_attach
Lloh32:
	adrp	x8, _DLT_NULL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DLT_NULL@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_bpfattach
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_free
Lloh35:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
LBB0_3:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_M_DISC,4,2                     ; @M_DISC
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_IFT_LOOP,4,2                   ; @IFT_LOOP
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_discname,4,2                   ; @discname
	.comm	_DSMTU,4,2                      ; @DSMTU
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_discioctl,4,2                  ; @discioctl
	.comm	_discoutput,4,2                 ; @discoutput
	.comm	_DLT_NULL,4,2                   ; @DLT_NULL
	.no_dead_strip	_disc_clone_create
.subsections_via_symbols
