	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm5974_get_config
_bcm5974_get_config:                    ## @bcm5974_get_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	callq	_le16_to_cpu
	movq	%rax, %rcx
	movq	_bcm5974_config_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rsi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, 8(%rdx)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, 16(%rdx)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rdx), %rsi
	addq	$24, %rdx
	testq	%rsi, %rsi
	jne	LBB0_2
LBB0_6:
	popq	%rbp
	retq
LBB0_7:
	movq	%rdx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bcm5974_config_table,8,3       ## @bcm5974_config_table
	.no_dead_strip	_bcm5974_get_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm5974_get_config
_bcm5974_get_config:                    ; @bcm5974_get_config
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
	bl	_le16_to_cpu
	mov	x8, x0
Lloh0:
	adrp	x9, _bcm5974_config_table@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bcm5974_config_table@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	ldr	x10, [x0]
	cbz	x10, LBB0_6
; %bb.1:
	mov	x9, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x8
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, #8]
	cmp	x10, x8
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, #16]
	cmp	x10, x8
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, #24]!
	cbnz	x10, LBB0_2
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bcm5974_config_table,8,3       ; @bcm5974_config_table
	.no_dead_strip	_bcm5974_get_config
.subsections_via_symbols
