	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_handoff                     ## -- Begin function if_handoff
	.p2align	4, 0x90
_if_handoff:                            ## @if_handoff
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_IF_LOCK
	movq	%rbx, %rdi
	callq	__IF_QFULL
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_IF_UNLOCK
	movq	_IFCOUNTER_OQDROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_if_inc_counter
	movq	%r14, %rdi
	callq	_m_freem
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testq	%r15, %r15
	je	LBB0_7
## %bb.3:
	movq	_IFCOUNTER_OBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	4(%r14), %r12d
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_if_inc_counter
	movq	_M_BCAST@GOTPCREL(%rip), %rax
	movq	_M_MCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r14)
	je	LBB0_5
## %bb.4:
	movq	_IFCOUNTER_OMCASTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_if_inc_counter
LBB0_5:
	movq	_IFF_DRV_OACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	(%r15), %r12d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	__IF_ENQUEUE
	movq	%rbx, %rdi
	callq	_IF_UNLOCK
	movl	$1, %ebx
	testl	%r12d, %r12d
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	*8(%r15)
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	__IF_ENQUEUE
	movq	%rbx, %rdi
	callq	_IF_UNLOCK
	movl	$1, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_IFCOUNTER_OQDROPS,4,2          ## @IFCOUNTER_OQDROPS
	.comm	_IFCOUNTER_OBYTES,4,2           ## @IFCOUNTER_OBYTES
	.comm	_M_BCAST,4,2                    ## @M_BCAST
	.comm	_M_MCAST,4,2                    ## @M_MCAST
	.comm	_IFCOUNTER_OMCASTS,4,2          ## @IFCOUNTER_OMCASTS
	.comm	_IFF_DRV_OACTIVE,4,2            ## @IFF_DRV_OACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_handoff                     ; -- Begin function if_handoff
	.p2align	2
_if_handoff:                            ; @if_handoff
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_IF_LOCK
	mov	x0, x21
	bl	__IF_QFULL
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_IF_UNLOCK
Lloh0:
	adrp	x8, _IFCOUNTER_OQDROPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFCOUNTER_OQDROPS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_if_inc_counter
	mov	x0, x20
	bl	_m_freem
	mov	w0, #0
	b	LBB0_9
LBB0_2:
	cbz	x19, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _IFCOUNTER_OBYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFCOUNTER_OBYTES@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w8, [x20, #4]
	add	w2, w8, w22
	mov	x0, x19
	bl	_if_inc_counter
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _M_BCAST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_BCAST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _M_MCAST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _M_MCAST@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _IFCOUNTER_OMCASTS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IFCOUNTER_OMCASTS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_if_inc_counter
LBB0_5:
	ldr	w8, [x19]
Lloh15:
	adrp	x9, _IFF_DRV_OACTIVE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IFF_DRV_OACTIVE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w22, w9, w8
	mov	x0, x21
	mov	x1, x20
	bl	__IF_ENQUEUE
	mov	x0, x21
	bl	_IF_UNLOCK
	cbnz	w22, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	b	LBB0_8
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	bl	__IF_ENQUEUE
	mov	x0, x21
	bl	_IF_UNLOCK
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IFCOUNTER_OQDROPS,4,2          ; @IFCOUNTER_OQDROPS
	.comm	_IFCOUNTER_OBYTES,4,2           ; @IFCOUNTER_OBYTES
	.comm	_M_BCAST,4,2                    ; @M_BCAST
	.comm	_M_MCAST,4,2                    ; @M_MCAST
	.comm	_IFCOUNTER_OMCASTS,4,2          ; @IFCOUNTER_OMCASTS
	.comm	_IFF_DRV_OACTIVE,4,2            ; @IFF_DRV_OACTIVE
.subsections_via_symbols
