	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mca_configure_adapter_status
_mca_configure_adapter_status:          ## @mca_configure_adapter_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MCA_ADAPTER_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rdi)
	movq	8(%rdi), %rax
	movl	4(%rax), %ecx
	shll	$8, %ecx
	addl	(%rax), %ecx
	movl	%ecx, (%rdi)
	je	LBB0_3
## %bb.1:
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	jne	LBB0_13
## %bb.2:
	movq	16(%rdi), %rcx
	movq	_MCA_MAX_SLOT_NR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_7
	jmp	LBB0_14
LBB0_3:
	movq	16(%rdi), %rcx
	movq	_MCA_MAX_SLOT_NR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_5
## %bb.4:
	movq	_MCA_ADAPTER_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_5:
	movq	_MCA_ADAPTER_NORMAL@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, 24(%rdi)
	cmpq	%rdx, %rcx
	jl	LBB0_14
LBB0_7:
	cmpl	$255, 8(%rax)
	jne	LBB0_13
## %bb.8:
	cmpl	$255, 12(%rax)
	jne	LBB0_13
## %bb.9:
	cmpl	$255, 16(%rax)
	jne	LBB0_13
## %bb.10:
	cmpl	$255, 20(%rax)
	jne	LBB0_13
## %bb.11:
	cmpl	$255, 24(%rax)
	jne	LBB0_13
## %bb.12:
	cmpl	$255, 28(%rax)
	je	LBB0_14
LBB0_13:
	movq	_MCA_ADAPTER_NORMAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rdi)
LBB0_14:
	movq	_MCA_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	je	LBB0_15
## %bb.17:
	popq	%rbp
	retq
LBB0_15:
	movq	_MCA_ADAPTER_DISABLED@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rax
	movq	%rax, 24(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCA_ADAPTER_NONE,8,3           ## @MCA_ADAPTER_NONE
	.comm	_MCA_MAX_SLOT_NR,8,3            ## @MCA_MAX_SLOT_NR
	.comm	_MCA_ADAPTER_ERROR,8,3          ## @MCA_ADAPTER_ERROR
	.comm	_MCA_ADAPTER_NORMAL,8,3         ## @MCA_ADAPTER_NORMAL
	.comm	_MCA_ENABLED,4,2                ## @MCA_ENABLED
	.comm	_MCA_ADAPTER_DISABLED,8,3       ## @MCA_ADAPTER_DISABLED
	.no_dead_strip	_mca_configure_adapter_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mca_configure_adapter_status
_mca_configure_adapter_status:          ; @mca_configure_adapter_status
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MCA_ADAPTER_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCA_ADAPTER_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x0, #24]
	ldr	x8, [x0, #8]
	ldp	w9, w10, [x8]
	adds	w9, w9, w10, lsl #8
	str	w9, [x0]
	b.eq	LBB0_3
; %bb.1:
	mov	w10, #65535
	cmp	w9, w10
	b.ne	LBB0_12
; %bb.2:
	ldr	x9, [x0, #16]
Lloh3:
	adrp	x10, _MCA_MAX_SLOT_NR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MCA_MAX_SLOT_NR@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_6
	b	LBB0_13
LBB0_3:
	ldr	x9, [x0, #16]
Lloh6:
	adrp	x10, _MCA_MAX_SLOT_NR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MCA_MAX_SLOT_NR@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _MCA_ADAPTER_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MCA_ADAPTER_ERROR@GOTPAGEOFF]
	b	LBB0_16
LBB0_5:
Lloh11:
	adrp	x11, _MCA_ADAPTER_NORMAL@GOTPAGE
Lloh12:
	ldr	x11, [x11, _MCA_ADAPTER_NORMAL@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	str	x11, [x0, #24]
	cmp	x9, x10
	b.lt	LBB0_13
LBB0_6:
	ldr	w9, [x8, #8]
	cmp	w9, #255
	b.ne	LBB0_12
; %bb.7:
	ldr	w9, [x8, #12]
	cmp	w9, #255
	b.ne	LBB0_12
; %bb.8:
	ldr	w9, [x8, #16]
	cmp	w9, #255
	b.ne	LBB0_12
; %bb.9:
	ldr	w9, [x8, #20]
	cmp	w9, #255
	b.ne	LBB0_12
; %bb.10:
	ldr	w9, [x8, #24]
	cmp	w9, #255
	b.ne	LBB0_12
; %bb.11:
	ldr	w9, [x8, #28]
	cmp	w9, #255
	b.eq	LBB0_13
LBB0_12:
Lloh14:
	adrp	x9, _MCA_ADAPTER_NORMAL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MCA_ADAPTER_NORMAL@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	str	x9, [x0, #24]
LBB0_13:
	ldr	w8, [x8, #8]
Lloh17:
	adrp	x9, _MCA_ENABLED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MCA_ENABLED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	ret
LBB0_15:
Lloh20:
	adrp	x8, _MCA_ADAPTER_DISABLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MCA_ADAPTER_DISABLED@GOTPAGEOFF]
LBB0_16:
	ldr	x8, [x8]
	str	x8, [x0, #24]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MCA_ADAPTER_NONE,8,3           ; @MCA_ADAPTER_NONE
	.comm	_MCA_MAX_SLOT_NR,8,3            ; @MCA_MAX_SLOT_NR
	.comm	_MCA_ADAPTER_ERROR,8,3          ; @MCA_ADAPTER_ERROR
	.comm	_MCA_ADAPTER_NORMAL,8,3         ; @MCA_ADAPTER_NORMAL
	.comm	_MCA_ENABLED,4,2                ; @MCA_ENABLED
	.comm	_MCA_ADAPTER_DISABLED,8,3       ; @MCA_ADAPTER_DISABLED
	.no_dead_strip	_mca_configure_adapter_status
.subsections_via_symbols
