	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2_packet_callback
_l2_packet_callback:                    ## @l2_packet_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpq	$0, 16(%rbx)
	setne	%cl
	movslq	(%rbx), %rdx
	cmpq	$8, %rdx
	setb	%al
	orb	%cl, %al
	leaq	-8(%rdx), %rcx
	testb	%al, %al
	cmovneq	%rdx, %rcx
	xorb	$1, %al
	movzbl	%al, %eax
	leaq	(%r14,%rax,8), %rdx
	movq	(%r14), %rsi
	movl	4(%rbx), %edi
	callq	*8(%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_l2_ndisuio_start_read          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"L2(NDISUIO): Read %d bytes"

	.no_dead_strip	_l2_packet_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2_packet_callback
_l2_packet_callback:                    ; @l2_packet_callback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldp	x9, x8, [x19, #8]
	cmp	x8, #0
	ldp	w8, w0, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	ccmp	x8, #8, #0, eq
	cset	w10, lo
	sub	x11, x8, #8
	cmp	w10, #0
	csel	x3, x8, x11, ne
	eor	w8, w10, #0x1
	add	x2, x20, w8, uxtw #3
	ldr	x1, [x20]
	blr	x9
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_l2_ndisuio_start_read
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"L2(NDISUIO): Read %d bytes"

	.no_dead_strip	_l2_packet_callback
.subsections_via_symbols
