	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mca_bus_match
_mca_bus_match:                         ## @mca_bus_match
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_to_mca_device
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_to_mca_driver
	movq	%rax, %rcx
	movq	(%rax), %rsi
	xorl	%eax, %eax
	movl	$0, %edx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movzwl	(%rsi), %edi
	movl	$0, %edx
	testw	%di, %di
	je	LBB0_5
## %bb.2:
	movzwl	(%r14), %ebx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpw	%bx, %di
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzwl	2(%rsi,%rdx,2), %edi
	incq	%rdx
	testw	%di, %di
	jne	LBB0_3
LBB0_5:
	movzwl	8(%rcx), %ecx
	testw	%cx, %cx
	je	LBB0_8
## %bb.6:
	cmpw	%cx, (%r14)
	jne	LBB0_8
LBB0_7:
	movl	%edx, 4(%r14)
	movl	$1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mca_bus_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mca_bus_match
_mca_bus_match:                         ; @mca_bus_match
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_to_mca_device
	mov	x19, x0
	mov	x0, x20
	bl	_to_mca_driver
	ldr	x10, [x0]
	cbz	x10, LBB0_6
; %bb.1:
	ldrh	w11, [x10]
	cbz	w11, LBB0_6
; %bb.2:
	mov	x8, #0
	ldrh	w9, [x19]
	add	x10, x10, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, w9
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x12, x8, #1
	ldrh	w11, [x10, x8, lsl #1]
	mov	x8, x12
	cbnz	w11, LBB0_3
; %bb.5:
	mov	x8, x12
	ldrh	w9, [x0, #8]
	cbnz	w9, LBB0_7
	b	LBB0_9
LBB0_6:
	mov	w8, #0
	ldrh	w9, [x0, #8]
	cbz	w9, LBB0_9
LBB0_7:
	ldrh	w10, [x19]
	cmp	w10, w9
	b.ne	LBB0_9
LBB0_8:
	str	w8, [x19, #4]
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mca_bus_match
.subsections_via_symbols
