	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lagg_input
_lagg_input:                            ## @lagg_input
	.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
	movq	%rsi, %r14
	movq	8(%rdi), %rbx
	movq	8(%rbx), %r15
	movq	8(%r15), %r12
	xorl	%eax, %eax
	callq	_LAGG_RLOCK
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rax
	movq	_LAGG_PROTO_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_LAGG_RUNLOCK
	movq	%r14, %rdi
	callq	_m_freem
LBB0_9:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_ETHER_BPF_MTAP
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_lagg_proto_input
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r15
	movq	_IFF_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_m_freem
LBB0_7:
	xorl	%r15d, %r15d
LBB0_8:
	xorl	%eax, %eax
	callq	_LAGG_RUNLOCK
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_LAGG_PROTO_NONE,8,3            ## @LAGG_PROTO_NONE
	.comm	_IFF_MONITOR,4,2                ## @IFF_MONITOR
	.no_dead_strip	_lagg_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lagg_input
_lagg_input:                            ; @lagg_input
	.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	x19, x1
	ldr	x21, [x0, #8]
	ldr	x22, [x21, #8]
	ldr	x20, [x22, #8]
	bl	_LAGG_RLOCK
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_DRV_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x21]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _LAGG_PROTO_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LAGG_PROTO_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_3:
	bl	_LAGG_RUNLOCK
	mov	x0, x19
	bl	_m_freem
	mov	x19, #0
LBB0_4:
	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
	ret
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_ETHER_BPF_MTAP
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_lagg_proto_input
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w8, [x20, #4]
Lloh6:
	adrp	x9, _IFF_MONITOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_MONITOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_m_freem
	mov	x19, #0
LBB0_8:
	bl	_LAGG_RUNLOCK
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_LAGG_PROTO_NONE,8,3            ; @LAGG_PROTO_NONE
	.comm	_IFF_MONITOR,4,2                ; @IFF_MONITOR
	.no_dead_strip	_lagg_input
.subsections_via_symbols
