	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmusb_get_family_type
_brcmusb_get_family_type:               ## @brcmusb_get_family_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	_id_to_type_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movl	(%r10), %ecx
	xorl	%r9d, %r9d
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %r8d
	movl	%r8d, %edi
	andl	$-16, %edi
	movl	$-1, %eax
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%edx
	movl	(%r10,%rdx,8), %ecx
	testl	%ecx, %ecx
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, %edi
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %esi
	xorl	%r8d, %esi
	cmpl	$255, %esi
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ecx, %r9d
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r10,%rdx,8), %eax
	movl	%ecx, %r9d
	jmp	LBB0_8
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_9:
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:
	popq	%rbp
	retq
LBB0_10:
	movl	4(%r10,%rdx,8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_id_to_type_table,8,3           ## @id_to_type_table
	.no_dead_strip	_brcmusb_get_family_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmusb_get_family_type
_brcmusb_get_family_type:               ; @brcmusb_get_family_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _id_to_type_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _id_to_type_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w13, [x8]
	cbz	w13, LBB0_8
; %bb.1:
	mov	x9, #0
	mov	w12, #0
	ldr	w10, [x0]
	and	w11, w10, #0xfffffff0
	mov	w0, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	lsl	x13, x9, #3
	ldr	w13, [x8, x13]
	cbz	w13, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, w13
	b.eq	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	eor	w14, w13, w10
	cmp	w14, #255
	b.hi	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w12, w13
	b.ge	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x8, x9, lsl #3
	ldr	w0, [x12, #4]
	mov	x12, x13
	b	LBB0_2
LBB0_8:
	mov	x9, #0
	b	LBB0_11
LBB0_9:
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.10:
	ret
LBB0_11:
	add	x8, x8, x9, lsl #3
	ldr	w0, [x8, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_id_to_type_table,8,3           ; @id_to_type_table
	.no_dead_strip	_brcmusb_get_family_type
.subsections_via_symbols
