	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macvtap_newlink
_macvtap_newlink:                       ## @macvtap_newlink
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	4(%rax), %r12
	leaq	24(%rax), %rdi
	callq	_INIT_LIST_HEAD
	movq	_TUN_OFFLOADS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_macvtap_count_tx_dropped@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_macvtap_count_rx_dropped@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_macvtap_update_features@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_tap_handle_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_netdev_rx_handler_register
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_macvlan_common_newlink
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_netdev_rx_handler_unregister
	jmp	LBB0_4
LBB0_3:
	movl	(%rbx), %eax
	movl	%eax, 4(%rbx)
	xorl	%r12d, %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUN_OFFLOADS,4,2               ## @TUN_OFFLOADS
	.comm	_macvtap_count_tx_dropped,4,2   ## @macvtap_count_tx_dropped
	.comm	_macvtap_count_rx_dropped,4,2   ## @macvtap_count_rx_dropped
	.comm	_macvtap_update_features,4,2    ## @macvtap_update_features
	.comm	_tap_handle_frame,4,2           ## @tap_handle_frame
	.no_dead_strip	_macvtap_newlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macvtap_newlink
_macvtap_newlink:                       ; @macvtap_newlink
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x24, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	add	x25, x0, #4
	add	x0, x0, #24
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x8, _TUN_OFFLOADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TUN_OFFLOADS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _macvtap_count_tx_dropped@GOTPAGE
Lloh4:
	ldr	x9, [x9, _macvtap_count_tx_dropped@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
Lloh6:
	adrp	x8, _macvtap_count_rx_dropped@GOTPAGE
Lloh7:
	ldr	x8, [x8, _macvtap_count_rx_dropped@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _macvtap_update_features@GOTPAGE
Lloh10:
	ldr	x9, [x9, _macvtap_update_features@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #8]
Lloh12:
	adrp	x8, _tap_handle_frame@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tap_handle_frame@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x25
	bl	_netdev_rx_handler_register
	mov	x25, x0
	cbnz	w0, LBB0_4
; %bb.1:
	mov	x0, x24
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	bl	_macvlan_common_newlink
	mov	x25, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_netdev_rx_handler_unregister
	b	LBB0_4
LBB0_3:
	ldr	w8, [x21]
	str	w8, [x21, #4]
LBB0_4:
	mov	x0, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TUN_OFFLOADS,4,2               ; @TUN_OFFLOADS
	.comm	_macvtap_count_tx_dropped,4,2   ; @macvtap_count_tx_dropped
	.comm	_macvtap_count_rx_dropped,4,2   ; @macvtap_count_rx_dropped
	.comm	_macvtap_update_features,4,2    ; @macvtap_update_features
	.comm	_tap_handle_frame,4,2           ; @tap_handle_frame
	.no_dead_strip	_macvtap_newlink
.subsections_via_symbols
