	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipfw_clone_create
_ipfw_clone_create:                     ## @ipfw_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_PFLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_if_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_ipfwname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_if_initname
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movq	_IFF_SIMPLEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	$65536, 4(%rbx)                 ## imm = 0x10000
	movq	_ipfw_bpf_ioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_ipfw_bpf_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_ETHER_HDR_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_if_attach
	movq	_DLT_EN10MB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_bpfattach
	movq	_V_log_if@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_bpfdetach
	movq	%rbx, %rdi
	callq	_if_detach
	movq	%rbx, %rdi
	callq	_if_free
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, (%rax)
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFT_PFLOG,4,2                  ## @IFT_PFLOG
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_ipfwname,4,2                   ## @ipfwname
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_IFF_SIMPLEX,4,2                ## @IFF_SIMPLEX
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_ipfw_bpf_ioctl,4,2             ## @ipfw_bpf_ioctl
	.comm	_ipfw_bpf_output,4,2            ## @ipfw_bpf_output
	.comm	_ETHER_HDR_LEN,4,2              ## @ETHER_HDR_LEN
	.comm	_DLT_EN10MB,4,2                 ## @DLT_EN10MB
	.comm	_V_log_if,8,3                   ## @V_log_if
	.comm	_EEXIST,4,2                     ## @EEXIST
	.no_dead_strip	_ipfw_clone_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipfw_clone_create
_ipfw_clone_create:                     ; @ipfw_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_PFLOG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFT_PFLOG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_if_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _ipfwname@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ipfwname@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_if_initname
Lloh6:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IFF_SIMPLEX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_SIMPLEX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _IFF_MULTICAST@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IFF_MULTICAST@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
	mov	w9, #65536
	stp	w8, w9, [x19]
Lloh15:
	adrp	x8, _ipfw_bpf_ioctl@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ipfw_bpf_ioctl@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh18:
	adrp	x8, _ipfw_bpf_output@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ipfw_bpf_output@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x20, _ETHER_HDR_LEN@GOTPAGE
Lloh22:
	ldr	x20, [x20, _ETHER_HDR_LEN@GOTPAGEOFF]
	ldr	w9, [x20]
	stp	w9, w8, [x19, #8]
	mov	x0, x19
	bl	_if_attach
Lloh23:
	adrp	x8, _DLT_EN10MB@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DLT_EN10MB@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_bpfattach
Lloh26:
	adrp	x8, _V_log_if@GOTPAGE
Lloh27:
	ldr	x8, [x8, _V_log_if@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_bpfdetach
	mov	x0, x19
	bl	_if_detach
	mov	x0, x19
	bl	_if_free
Lloh28:
	adrp	x8, _EEXIST@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_3:
Lloh31:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh33:
	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	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.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	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_IFT_PFLOG,4,2                  ; @IFT_PFLOG
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_ipfwname,4,2                   ; @ipfwname
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_IFF_SIMPLEX,4,2                ; @IFF_SIMPLEX
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_ipfw_bpf_ioctl,4,2             ; @ipfw_bpf_ioctl
	.comm	_ipfw_bpf_output,4,2            ; @ipfw_bpf_output
	.comm	_ETHER_HDR_LEN,4,2              ; @ETHER_HDR_LEN
	.comm	_DLT_EN10MB,4,2                 ; @DLT_EN10MB
	.comm	_V_log_if,8,3                   ; @V_log_if
	.comm	_EEXIST,4,2                     ; @EEXIST
	.no_dead_strip	_ipfw_clone_create
.subsections_via_symbols
