	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_record_adjust_head
_nfp_record_adjust_head:                ## @nfp_record_adjust_head
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %r15
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%rcx), %rax
	movq	_SCALAR_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r12
	movl	8(%rbx), %edi
	callq	_tnum_is_const
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movl	8(%rbx), %eax
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ETH_HLEN@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	cmpl	%ecx, %eax
	jg	LBB0_10
## %bb.3:
	cmpl	8(%r12), %eax
	jg	LBB0_10
## %bb.4:
	xorl	%ecx, %ecx
	subl	(%r12), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_10
## %bb.5:
	movl	(%r15), %ecx
	movl	(%r14), %edx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.7:
	cmpl	%edx, %ecx
	jne	LBB0_10
## %bb.8:
	cmpl	%eax, 4(%r14)
	je	LBB0_9
	jmp	LBB0_10
LBB0_6:
	movl	%edx, %ecx
LBB0_9:
	movl	%ecx, %r13d
LBB0_10:
	movl	%r13d, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_SCALAR_VALUE,8,3               ## @SCALAR_VALUE
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.no_dead_strip	_nfp_record_adjust_head
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_record_adjust_head
_nfp_record_adjust_head:                ; @nfp_record_adjust_head
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
Lloh0:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	x8, [x3]
Lloh3:
	adrp	x9, _SCALAR_VALUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCALAR_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x22, x3
	mov	x20, x2
	mov	x21, x0
	ldr	w0, [x3, #8]
	bl	_tnum_is_const
	cbz	w0, LBB0_10
; %bb.2:
	ldr	w8, [x22, #8]
Lloh6:
	adrp	x9, _ETH_ZLEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_ZLEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _ETH_HLEN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ETH_HLEN@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	sub	w9, w9, w10
	cmp	w8, w9
	b.gt	LBB0_10
; %bb.3:
	ldr	w9, [x21, #8]
	cmp	w8, w9
	b.gt	LBB0_10
; %bb.4:
	ldr	w9, [x21]
	neg	w9, w9
	cmp	w8, w9
	b.lt	LBB0_10
; %bb.5:
	ldr	w9, [x19]
	ldr	w10, [x20]
	cbz	w9, LBB0_8
; %bb.6:
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.7:
	ldr	w10, [x20, #4]
	cmp	w10, w8
	b.eq	LBB0_9
	b	LBB0_10
LBB0_8:
	mov	x9, x10
LBB0_9:
	mov	x23, x9
LBB0_10:
	str	w23, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_SCALAR_VALUE,8,3               ; @SCALAR_VALUE
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.no_dead_strip	_nfp_record_adjust_head
.subsections_via_symbols
