	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipvlan_port_destroy
_ipvlan_port_destroy:                   ## @ipvlan_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	_ipvlan_port_get_rtnl
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_IPVLAN_MODE_L3S@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_ipvlan_l3s_unregister
LBB0_2:
	movq	%rbx, %rdi
	callq	_netdev_rx_handler_unregister
	leaq	16(%r14), %rdi
	callq	_cancel_work_sync
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r15, %rdi
	callq	___skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_dev_put
	jmp	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_ida_destroy
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPVLAN_MODE_L3S,8,3            ## @IPVLAN_MODE_L3S
	.no_dead_strip	_ipvlan_port_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipvlan_port_destroy
_ipvlan_port_destroy:                   ; @ipvlan_port_destroy
	.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, x0
	bl	_ipvlan_port_get_rtnl
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IPVLAN_MODE_L3S@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPVLAN_MODE_L3S@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ipvlan_l3s_unregister
LBB0_2:
	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_7
; %bb.3:
	mov	x21, x0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_kfree_skb
	mov	x0, x20
	bl	___skb_dequeue
	mov	x21, x0
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_dev_put
	b	LBB0_4
LBB0_7:
	add	x0, x19, #8
	bl	_ida_destroy
	mov	x0, x19
	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
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPVLAN_MODE_L3S,8,3            ; @IPVLAN_MODE_L3S
	.no_dead_strip	_ipvlan_port_destroy
.subsections_via_symbols
