	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_chipmatch_soc
_brcms_c_chipmatch_soc:                 ## @brcms_c_chipmatch_soc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	movq	_BCMA_CHIP_ID_BCM4716@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rsi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	xorl	%eax, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CHIP_ID_BCM4716,8,3       ## @BCMA_CHIP_ID_BCM4716
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown chip id %04x\n"

	.no_dead_strip	_brcms_c_chipmatch_soc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_chipmatch_soc
_brcms_c_chipmatch_soc:                 ; @brcms_c_chipmatch_soc
	.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	x8, [x0]
	ldr	x1, [x8]
Lloh0:
	adrp	x8, _BCMA_CHIP_ID_BCM4716@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCMA_CHIP_ID_BCM4716@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CHIP_ID_BCM4716,8,3       ; @BCMA_CHIP_ID_BCM4716
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown chip id %04x\n"

	.no_dead_strip	_brcms_c_chipmatch_soc
.subsections_via_symbols
