	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcma_device_name
_bcma_device_name:                      ## @bcma_device_name
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	addl	$-128, %eax
	leaq	L_.str(%rip), %r14
	cmpl	$2, %eax
	ja	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	cltq
	leaq	l_switch.table.bcma_device_name(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	8(%r15), %rcx
	movl	%eax, %eax
	shlq	$4, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rbx,%rdx)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	8(%rbx,%rdx), %r14
LBB0_6:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bcma_arm_device_names,8,3      ## @bcma_arm_device_names
	.comm	_bcma_bcm_device_names,8,3      ## @bcma_bcm_device_names
	.comm	_bcma_mips_device_names,8,3     ## @bcma_mips_device_names
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UNKNOWN"

	.no_dead_strip	_bcma_device_name
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.bcma_device_name
l_switch.table.bcma_device_name:
	.quad	_bcma_mips_device_names
	.quad	_bcma_bcm_device_names
	.quad	_bcma_arm_device_names

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcma_device_name
_bcma_device_name:                      ; @bcma_device_name
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, l_switch.table.bcma_device_name@PAGE
Lloh1:
	add	x9, x9, l_switch.table.bcma_device_name@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	mov	w9, w0
	add	x10, x20, #8
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	cmp	x11, x8
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #16
	subs	x9, x9, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	x0, [x10]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_bcma_arm_device_names,8,3      ; @bcma_arm_device_names
	.comm	_bcma_bcm_device_names,8,3      ; @bcma_bcm_device_names
	.comm	_bcma_mips_device_names,8,3     ; @bcma_mips_device_names
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UNKNOWN"

	.no_dead_strip	_bcma_device_name
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bcma_device_name
l_switch.table.bcma_device_name:
	.quad	_bcma_mips_device_names
	.quad	_bcma_bcm_device_names
	.quad	_bcma_arm_device_names

.subsections_via_symbols
