	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcma_erom_get_mst_port
_bcma_erom_get_mst_port:                ## @bcma_erom_get_mst_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_bcma_erom_get_ent
	movq	_SCAN_ER_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_SCAN_ER_TAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_SCAN_ER_TAG_MP@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_3
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCAN_ER_VALID,4,2              ## @SCAN_ER_VALID
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_SCAN_ER_TAG,4,2                ## @SCAN_ER_TAG
	.comm	_SCAN_ER_TAG_MP,4,2             ## @SCAN_ER_TAG_MP
	.no_dead_strip	_bcma_erom_get_mst_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcma_erom_get_mst_port
_bcma_erom_get_mst_port:                ; @bcma_erom_get_mst_port
	.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
	bl	_bcma_erom_get_ent
Lloh0:
	adrp	x8, _SCAN_ER_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCAN_ER_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SCAN_ER_TAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCAN_ER_TAG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _SCAN_ER_TAG_MP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SCAN_ER_TAG_MP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _ENOENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SCAN_ER_VALID,4,2              ; @SCAN_ER_VALID
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_SCAN_ER_TAG,4,2                ; @SCAN_ER_TAG
	.comm	_SCAN_ER_TAG_MP,4,2             ; @SCAN_ER_TAG_MP
	.no_dead_strip	_bcma_erom_get_mst_port
.subsections_via_symbols
