	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_ule_extensions
_handle_ule_extensions:                 ## @handle_ule_extensions
	.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	%rdi, %r14
	movq	16(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	movq	_ETH_P_802_3_MIN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_handle_one_ule_extension
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	%eax, %ebx
	movl	(%r14), %edx
	movl	8(%r14), %esi
	movq	%r15, %rdi
	movl	%eax, %ecx
	movl	%ebx, %r8d
	callq	_pr_debug
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	jl	LBB0_1
	jmp	LBB0_4
LBB0_2:
	movl	%eax, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ule_next_hdr=%p, ule_sndu_type=%i, l=%i, total_ext_len=%i\n"

	.comm	_ETH_P_802_3_MIN,8,3            ## @ETH_P_802_3_MIN
	.no_dead_strip	_handle_ule_extensions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_ule_extensions
_handle_ule_extensions:                 ; @handle_ule_extensions
	.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
	mov	w19, #0
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	str	w8, [x0, #8]
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, _ETH_P_802_3_MIN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ETH_P_802_3_MIN@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_handle_one_ule_extension
	mov	x3, x0
	tbnz	w0, #31, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w19, w3, w19
	ldr	w1, [x20, #8]
	ldr	w2, [x20]
	mov	x0, x21
	mov	x4, x19
	bl	_pr_debug
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x19, x3
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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ule_next_hdr=%p, ule_sndu_type=%i, l=%i, total_ext_len=%i\n"

	.comm	_ETH_P_802_3_MIN,8,3            ; @ETH_P_802_3_MIN
	.no_dead_strip	_handle_ule_extensions
.subsections_via_symbols
