	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcma_core_mips_bcm5357b0_quirk
_bcma_core_mips_bcm5357b0_quirk:        ## @bcma_core_mips_bcm5357b0_quirk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movq	(%rcx), %rdx
	movq	_BCMA_CHIP_ID_BCM5357@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	je	LBB0_2
## %bb.1:
	movq	_BCMA_CHIP_ID_BCM4749@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_2
LBB0_4:
	popq	%rbp
	retq
LBB0_2:
	cmpl	$11, 8(%rcx)
	jne	LBB0_4
## %bb.3:
	movq	(%rdi), %rcx
	movq	_BCMA_CORE_USB20_HOST@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCMA_CHIP_ID_BCM5357,8,3       ## @BCMA_CHIP_ID_BCM5357
	.comm	_BCMA_CHIP_ID_BCM4749,8,3       ## @BCMA_CHIP_ID_BCM4749
	.comm	_BCMA_CORE_USB20_HOST,8,3       ## @BCMA_CORE_USB20_HOST
	.no_dead_strip	_bcma_core_mips_bcm5357b0_quirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcma_core_mips_bcm5357b0_quirk
_bcma_core_mips_bcm5357b0_quirk:        ; @bcma_core_mips_bcm5357b0_quirk
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _BCMA_CHIP_ID_BCM5357@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BCMA_CHIP_ID_BCM5357@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _BCMA_CHIP_ID_BCM4749@GOTPAGE
Lloh4:
	ldr	x11, [x11, _BCMA_CHIP_ID_BCM4749@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x8, #8]
	cmp	w8, #11
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _BCMA_CORE_USB20_HOST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BCMA_CORE_USB20_HOST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BCMA_CHIP_ID_BCM5357,8,3       ; @BCMA_CHIP_ID_BCM5357
	.comm	_BCMA_CHIP_ID_BCM4749,8,3       ; @BCMA_CHIP_ID_BCM4749
	.comm	_BCMA_CORE_USB20_HOST,8,3       ; @BCMA_CORE_USB20_HOST
	.no_dead_strip	_bcma_core_mips_bcm5357b0_quirk
.subsections_via_symbols
