	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cr_failure
_get_cr_failure:                        ## @get_cr_failure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LINK_TRAINING_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LANE_COUNT_ONE@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	ja	LBB0_3
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_2
LBB0_3:
	movq	_LANE_COUNT_TWO@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	ja	LBB0_6
## %bb.4:
	cmpl	$0, 4(%rsi)
	je	LBB0_5
LBB0_6:
	movq	_LANE_COUNT_FOUR@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	ja	LBB0_11
## %bb.7:
	cmpl	$0, 8(%rsi)
	je	LBB0_9
## %bb.8:
	cmpl	$0, 12(%rsi)
	jne	LBB0_11
LBB0_9:
	movq	_LINK_TRAINING_CR_FAIL_LANE23@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_LINK_TRAINING_CR_FAIL_LANE0@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_LINK_TRAINING_CR_FAIL_LANE1@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINK_TRAINING_SUCCESS,4,2      ## @LINK_TRAINING_SUCCESS
	.comm	_LANE_COUNT_ONE,4,2             ## @LANE_COUNT_ONE
	.comm	_LINK_TRAINING_CR_FAIL_LANE0,4,2 ## @LINK_TRAINING_CR_FAIL_LANE0
	.comm	_LANE_COUNT_TWO,4,2             ## @LANE_COUNT_TWO
	.comm	_LINK_TRAINING_CR_FAIL_LANE1,4,2 ## @LINK_TRAINING_CR_FAIL_LANE1
	.comm	_LANE_COUNT_FOUR,4,2            ## @LANE_COUNT_FOUR
	.comm	_LINK_TRAINING_CR_FAIL_LANE23,4,2 ## @LINK_TRAINING_CR_FAIL_LANE23
	.no_dead_strip	_get_cr_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cr_failure
_get_cr_failure:                        ; @get_cr_failure
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _LINK_TRAINING_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LINK_TRAINING_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _LANE_COUNT_ONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LANE_COUNT_ONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w8
	b.hi	LBB0_2
; %bb.1:
	ldr	w9, [x1]
	cbz	w9, LBB0_8
LBB0_2:
Lloh6:
	adrp	x9, _LANE_COUNT_TWO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LANE_COUNT_TWO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, w8
	b.hi	LBB0_4
; %bb.3:
	ldr	w9, [x1, #4]
	cbz	w9, LBB0_9
LBB0_4:
Lloh9:
	adrp	x9, _LANE_COUNT_FOUR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LANE_COUNT_FOUR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w9, w8
	b.hi	LBB0_7
; %bb.5:
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_10
; %bb.6:
	ldr	w8, [x1, #12]
Lloh12:
	adrp	x9, _LINK_TRAINING_CR_FAIL_LANE23@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LINK_TRAINING_CR_FAIL_LANE23@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, w0, eq
LBB0_7:
	ret
LBB0_8:
Lloh15:
	adrp	x8, _LINK_TRAINING_CR_FAIL_LANE0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LINK_TRAINING_CR_FAIL_LANE0@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_9:
Lloh18:
	adrp	x8, _LINK_TRAINING_CR_FAIL_LANE1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LINK_TRAINING_CR_FAIL_LANE1@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh21:
	adrp	x8, _LINK_TRAINING_CR_FAIL_LANE23@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LINK_TRAINING_CR_FAIL_LANE23@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LINK_TRAINING_SUCCESS,4,2      ; @LINK_TRAINING_SUCCESS
	.comm	_LANE_COUNT_ONE,4,2             ; @LANE_COUNT_ONE
	.comm	_LINK_TRAINING_CR_FAIL_LANE0,4,2 ; @LINK_TRAINING_CR_FAIL_LANE0
	.comm	_LANE_COUNT_TWO,4,2             ; @LANE_COUNT_TWO
	.comm	_LINK_TRAINING_CR_FAIL_LANE1,4,2 ; @LINK_TRAINING_CR_FAIL_LANE1
	.comm	_LANE_COUNT_FOUR,4,2            ; @LANE_COUNT_FOUR
	.comm	_LINK_TRAINING_CR_FAIL_LANE23,4,2 ; @LINK_TRAINING_CR_FAIL_LANE23
	.no_dead_strip	_get_cr_failure
.subsections_via_symbols
