	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macvlan_port_destroy
_macvlan_port_destroy:                  ## @macvlan_port_destroy
	.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
	movq	%rdi, %rbx
	callq	_macvlan_port_get_rtnl
	movq	%rax, %r14
	movq	_IFF_MACVLAN_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_netdev_rx_handler_unregister
	leaq	16(%r14), %rdi
	callq	_cancel_work_sync
	movq	%r14, %r15
	addq	$12, %r15
	movq	%r15, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r15, %rdi
	callq	___skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_MACVLAN_SKB_CB
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %edi
	callq	_dev_put
	jmp	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	callq	_macvlan_passthru
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%r14), %rax
	movl	8(%rax), %edi
	movl	8(%r14), %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -28(%rbp)
	movl	8(%r14), %esi
	movl	(%rax), %edx
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_dev_set_mac_address
LBB0_8:
	movq	%r14, %rdi
	callq	_kfree
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_MACVLAN_PORT,4,2           ## @IFF_MACVLAN_PORT
	.no_dead_strip	_macvlan_port_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macvlan_port_destroy
_macvlan_port_destroy:                  ; @macvlan_port_destroy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	bl	_macvlan_port_get_rtnl
	mov	x19, x0
Lloh0:
	adrp	x8, _IFF_MACVLAN_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_MACVLAN_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	bl	_netdev_rx_handler_unregister
	add	x0, x19, #16
	bl	_cancel_work_sync
	add	x20, x19, #12
	mov	x0, x20
	bl	___skb_dequeue
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_kfree_skb
	mov	x0, x20
	bl	___skb_dequeue
	mov	x21, x0
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_MACVLAN_SKB_CB
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8]
	bl	_dev_put
	b	LBB0_2
LBB0_5:
	mov	x0, x19
	bl	_macvlan_passthru
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	ldr	w1, [x19, #8]
	bl	_ether_addr_equal
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x8, [x19]
	ldp	w2, w9, [x8]
	str	w9, [sp, #12]
	ldr	w1, [x19, #8]
	add	x0, sp, #8
	bl	_memcpy
	ldr	x0, [x19]
	add	x1, sp, #8
	mov	x2, #0
	bl	_dev_set_mac_address
LBB0_8:
	mov	x0, x19
	bl	_kfree
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_MACVLAN_PORT,4,2           ; @IFF_MACVLAN_PORT
	.no_dead_strip	_macvlan_port_destroy
.subsections_via_symbols
