	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_chipmatch_pci
_brcms_c_chipmatch_pci:                 ## @brcms_c_chipmatch_pci
	.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), %rax
	movq	(%rax), %rsi
	movq	_PCI_VENDOR_ID_BROADCOM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_1
## %bb.2:
	movq	8(%rax), %rsi
	movq	_BCM43224_D11N_ID_VEN1@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.3:
	movq	_BCM43224_CHIP_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.4:
	movq	_BCM43224_D11N_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.5:
	movq	_BCM43225_D11N2G_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.6:
	movq	_BCM4313_D11N2G_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.7:
	movq	_BCM4313_CHIP_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.8:
	movq	_BCM43236_D11N_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.9:
	movq	_BCM43236_D11N2G_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_12
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_11:
	callq	_pr_err
	xorl	%eax, %eax
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_BROADCOM,8,3     ## @PCI_VENDOR_ID_BROADCOM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown vendor id %04x\n"

	.comm	_BCM43224_D11N_ID_VEN1,8,3      ## @BCM43224_D11N_ID_VEN1
	.comm	_BCM43224_CHIP_ID,8,3           ## @BCM43224_CHIP_ID
	.comm	_BCM43224_D11N_ID,8,3           ## @BCM43224_D11N_ID
	.comm	_BCM43225_D11N2G_ID,8,3         ## @BCM43225_D11N2G_ID
	.comm	_BCM4313_D11N2G_ID,8,3          ## @BCM4313_D11N2G_ID
	.comm	_BCM4313_CHIP_ID,8,3            ## @BCM4313_CHIP_ID
	.comm	_BCM43236_D11N_ID,8,3           ## @BCM43236_D11N_ID
	.comm	_BCM43236_D11N2G_ID,8,3         ## @BCM43236_D11N2G_ID
L_.str.1:                               ## @.str.1
	.asciz	"unknown device id %04x\n"

	.no_dead_strip	_brcms_c_chipmatch_pci
.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_pci
_brcms_c_chipmatch_pci:                 ; @brcms_c_chipmatch_pci
	.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	x8, [x8]
	ldr	x1, [x8]
Lloh0:
	adrp	x9, _PCI_VENDOR_ID_BROADCOM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_VENDOR_ID_BROADCOM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x1, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	x1, [x8, #8]
Lloh3:
	adrp	x8, _BCM43224_D11N_ID_VEN1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCM43224_D11N_ID_VEN1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _BCM43224_CHIP_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BCM43224_CHIP_ID@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x1, x8
	ccmp	x1, x9, #4, ne
	b.eq	LBB0_5
; %bb.2:
Lloh9:
	adrp	x8, _BCM43224_D11N_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BCM43224_D11N_ID@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _BCM43225_D11N2G_ID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BCM43225_D11N2G_ID@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x1, x8
	ccmp	x1, x9, #4, ne
	b.eq	LBB0_5
; %bb.3:
Lloh15:
	adrp	x8, _BCM4313_D11N2G_ID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BCM4313_D11N2G_ID@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _BCM4313_CHIP_ID@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BCM4313_CHIP_ID@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x1, x8
	ccmp	x1, x9, #4, ne
	b.eq	LBB0_5
; %bb.4:
Lloh21:
	adrp	x8, _BCM43236_D11N_ID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BCM43236_D11N_ID@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _BCM43236_D11N2G_ID@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BCM43236_D11N2G_ID@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x1, x8
	ccmp	x1, x9, #4, ne
	b.ne	LBB0_8
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_pr_err
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_BROADCOM,8,3     ; @PCI_VENDOR_ID_BROADCOM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown vendor id %04x\n"

	.comm	_BCM43224_D11N_ID_VEN1,8,3      ; @BCM43224_D11N_ID_VEN1
	.comm	_BCM43224_CHIP_ID,8,3           ; @BCM43224_CHIP_ID
	.comm	_BCM43224_D11N_ID,8,3           ; @BCM43224_D11N_ID
	.comm	_BCM43225_D11N2G_ID,8,3         ; @BCM43225_D11N2G_ID
	.comm	_BCM4313_D11N2G_ID,8,3          ; @BCM4313_D11N2G_ID
	.comm	_BCM4313_CHIP_ID,8,3            ; @BCM4313_CHIP_ID
	.comm	_BCM43236_D11N_ID,8,3           ; @BCM43236_D11N_ID
	.comm	_BCM43236_D11N2G_ID,8,3         ; @BCM43236_D11N2G_ID
l_.str.1:                               ; @.str.1
	.asciz	"unknown device id %04x\n"

	.no_dead_strip	_brcms_c_chipmatch_pci
.subsections_via_symbols
