	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_hwinfo_lookup              ## -- Begin function nfp_hwinfo_lookup
	.p2align	4, 0x90
_nfp_hwinfo_lookup:                     ## @nfp_hwinfo_lookup
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movl	8(%rdi), %edi
	callq	_le32_to_cpu
	movq	(%rbx), %r12
	xorl	%r14d, %r14d
	cmpb	$0, (%r12)
	je	LBB0_9
## %bb.3:
	cltq
	addq	%rax, %r13
	addq	$-4, %r13
	cmpq	%r13, %r12
	jae	LBB0_9
## %bb.4:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strlen
	cltq
	leaq	(%r12,%rax), %rbx
	incq	%rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	cmpb	$0, 1(%rbx,%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rbx,%rax), %r12
	incq	%r12
	cmpq	%r13, %r12
	jb	LBB0_5
	jmp	LBB0_9
LBB0_6:
	movq	%rbx, %r14
LBB0_9:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_hwinfo_lookup              ; -- Begin function nfp_hwinfo_lookup
	.p2align	2
_nfp_hwinfo_lookup:                     ; @nfp_hwinfo_lookup
	.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, #0
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	x20, [x0]
	ldr	w0, [x0, #8]
	bl	_le32_to_cpu
	add	x8, x20, w0, sxtw
	sub	x22, x8, #4
	ldr	x21, [x21]
	ldrb	w8, [x21]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #0
	ccmp	x21, x22, #2, ne
	b.hs	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_strlen
	add	x8, x21, w0, sxtw
	add	x20, x8, #1
	mov	x0, x21
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_strlen
	add	x21, x20, w0, sxtw
	ldrb	w8, [x21, #1]!
	b	LBB0_3
LBB0_6:
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
