	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_brd_name_by_type
_get_brd_name_by_type:                  ## @get_brd_name_by_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUM_SUPPORTED_BOARDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	_netxen_boards@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rcx,%rdx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_2
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	movl	8(%rcx,%rdx), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_SUPPORTED_BOARDS,4,2       ## @NUM_SUPPORTED_BOARDS
	.comm	_netxen_boards,8,3              ## @netxen_boards
	.no_dead_strip	_get_brd_name_by_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_brd_name_by_type
_get_brd_name_by_type:                  ; @get_brd_name_by_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_SUPPORTED_BOARDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_SUPPORTED_BOARDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _netxen_boards@GOTPAGE
Lloh4:
	ldr	x9, [x9, _netxen_boards@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-8]
	cmp	x10, x0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
	ldr	w8, [x9]
	mov	x0, x1
	mov	x1, x8
	b	_strcpy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_SUPPORTED_BOARDS,4,2       ; @NUM_SUPPORTED_BOARDS
	.comm	_netxen_boards,8,3              ; @netxen_boards
	.no_dead_strip	_get_brd_name_by_type
.subsections_via_symbols
