	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwerr_crcbits
_hwerr_crcbits:                         ## @hwerr_crcbits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__IPATH_HTLINK0_CRCBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	__IPATH_HTLINK1_CRCBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %ecx
	orl	%edx, %ecx
	andl	%esi, %ecx
	movl	(%rdi), %esi
	movq	_IPATH_8BIT_IN_HT0@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	movq	_infinipath_hwe_htclnkabyte1crcerr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	notl	%eax
	xorl	%ebx, %ebx
	cmpl	$1, %edi
	movl	$0, %edi
	sbbl	%edi, %edi
	orl	%eax, %edi
	andl	%ecx, %edi
	movq	_IPATH_8BIT_IN_HT1@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_infinipath_hwe_htclnkbbyte1crcerr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	cmpl	$1, %esi
	sbbl	%ebx, %ebx
	orl	%eax, %ebx
	andl	%edi, %ebx
	je	LBB0_11
## %bb.1:
	testl	%edx, %ebx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%rax, %rdx
	testl	%r8d, %ebx
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rdx, %rcx
	movq	__IPATH_HTLANE1_CRCBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	__IPATH_HTLANE0_CRCBITS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %edx
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rsi
	cmoveq	%rdx, %rsi
	testl	%eax, %eax
	leaq	L_.str.4(%rip), %r8
	cmovneq	%rsi, %r8
	movslq	%ebx, %r9
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %r13
	movq	%r13, %rdi
	movl	$64, %esi
	callq	_snprintf
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_strlcat
	movq	16(%r15), %rdi
	movq	24(%r15), %rsi
	addq	$4, %rsi
	leaq	-120(%rbp), %rdx
	callq	_pci_read_config_word
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	16(%r15), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_dev_info
	jmp	LBB0_5
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movslq	%ecx, %rsi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipath_dbg                      ## TAILCALL
LBB0_3:
	movl	-120(%rbp), %esi
	testb	$64, %sil
	jne	LBB0_5
## %bb.4:
	testl	$1792, %esi                     ## imm = 0x700
	leaq	L_.str.10(%rip), %rax
	leaq	L_.str.9(%rip), %rdx
	cmoveq	%rax, %rdx
	testb	$16, %sil
	leaq	L_.str.11(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_ipath_dbg
LBB0_5:
	movq	16(%r15), %rdi
	movq	24(%r15), %rsi
	addq	$8, %rsi
	leaq	-116(%rbp), %rdx
	callq	_pci_read_config_word
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	16(%r15), %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_dev_info
	jmp	LBB0_9
LBB0_7:
	movl	-116(%rbp), %esi
	testb	$64, %sil
	jne	LBB0_9
## %bb.8:
	testl	$1792, %esi                     ## imm = 0x700
	leaq	L_.str.10(%rip), %rax
	leaq	L_.str.9(%rip), %rdx
	cmoveq	%rax, %rdx
	testb	$16, %sil
	leaq	L_.str.11(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_ipath_dbg
LBB0_9:
	notl	%ebx
	andl	4(%r15), %ebx
	movl	%ebx, 4(%r15)
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_ipath_write_kreg
	leaq	L_.str.14(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_ipath_dbg
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.10:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__IPATH_HTLINK0_CRCBITS,4,2     ## @_IPATH_HTLINK0_CRCBITS
	.comm	__IPATH_HTLINK1_CRCBITS,4,2     ## @_IPATH_HTLINK1_CRCBITS
	.comm	_IPATH_8BIT_IN_HT0,4,2          ## @IPATH_8BIT_IN_HT0
	.comm	_infinipath_hwe_htclnkabyte1crcerr,4,2 ## @infinipath_hwe_htclnkabyte1crcerr
	.comm	_IPATH_8BIT_IN_HT1,4,2          ## @IPATH_8BIT_IN_HT1
	.comm	_infinipath_hwe_htclnkbbyte1crcerr,4,2 ## @infinipath_hwe_htclnkbbyte1crcerr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[HT%s lane %s CRC (%llx); powercycle to completely clear]"

L_.str.1:                               ## @.str.1
	.asciz	"0 (A)"

L_.str.2:                               ## @.str.2
	.asciz	"1 (B)"

L_.str.3:                               ## @.str.3
	.asciz	"0+1 (A+B)"

	.comm	__IPATH_HTLANE1_CRCBITS,4,2     ## @_IPATH_HTLANE1_CRCBITS
L_.str.4:                               ## @.str.4
	.asciz	"0"

	.comm	__IPATH_HTLANE0_CRCBITS,4,2     ## @_IPATH_HTLANE0_CRCBITS
L_.str.5:                               ## @.str.5
	.asciz	"1"

L_.str.6:                               ## @.str.6
	.asciz	"0+1"

L_.str.7:                               ## @.str.7
	.asciz	"Couldn't read linkctrl0 of slave/primary config block\n"

L_.str.8:                               ## @.str.8
	.asciz	"HT linkctrl0 0x%x%s%s\n"

L_.str.9:                               ## @.str.9
	.asciz	" CRC"

L_.str.10:                              ## @.str.10
	.space	1

L_.str.11:                              ## @.str.11
	.asciz	"linkfail"

L_.str.12:                              ## @.str.12
	.asciz	"Couldn't read linkctrl1 of slave/primary config block\n"

L_.str.13:                              ## @.str.13
	.asciz	"HT linkctrl1 0x%x%s%s\n"

L_.str.14:                              ## @.str.14
	.asciz	"HT crc errs: %s\n"

L_.str.15:                              ## @.str.15
	.asciz	"ignoring HT crc errors 0x%llx, not in use\n"

	.no_dead_strip	_hwerr_crcbits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwerr_crcbits
_hwerr_crcbits:                         ; @hwerr_crcbits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, __IPATH_HTLINK0_CRCBITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, __IPATH_HTLINK0_CRCBITS@GOTPAGEOFF]
Lloh5:
	adrp	x10, __IPATH_HTLINK1_CRCBITS@GOTPAGE
Lloh6:
	ldr	x10, [x10, __IPATH_HTLINK1_CRCBITS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x8]
Lloh8:
	ldr	w8, [x10]
	orr	w10, w8, w9
	and	w10, w10, w1
Lloh9:
	adrp	x11, _IPATH_8BIT_IN_HT0@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IPATH_8BIT_IN_HT0@GOTPAGEOFF]
	ldr	w12, [x0]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x13, _infinipath_hwe_htclnkabyte1crcerr@GOTPAGE
Lloh13:
	ldr	x13, [x13, _infinipath_hwe_htclnkabyte1crcerr@GOTPAGEOFF]
Lloh14:
	ldr	w13, [x13]
	tst	w11, w12
	mov	w11, #-1
	csinv	w13, w11, w13, eq
	and	w13, w13, w10
Lloh15:
	adrp	x14, _IPATH_8BIT_IN_HT1@GOTPAGE
Lloh16:
	ldr	x14, [x14, _IPATH_8BIT_IN_HT1@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
Lloh18:
	adrp	x15, _infinipath_hwe_htclnkbbyte1crcerr@GOTPAGE
Lloh19:
	ldr	x15, [x15, _infinipath_hwe_htclnkbbyte1crcerr@GOTPAGEOFF]
Lloh20:
	ldr	w15, [x15]
	tst	w14, w12
	csinv	w11, w11, w15, eq
	ands	w22, w13, w11
	b.eq	LBB0_3
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
Lloh21:
	adrp	x10, l_.str.3@PAGE
Lloh22:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh23:
	adrp	x11, l_.str.2@PAGE
Lloh24:
	add	x11, x11, l_.str.2@PAGEOFF
	tst	w22, w9
	csel	x9, x11, x10, eq
Lloh25:
	adrp	x10, l_.str.1@PAGE
Lloh26:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w22, w8
	csel	x3, x10, x9, eq
Lloh27:
	adrp	x8, __IPATH_HTLANE1_CRCBITS@GOTPAGE
Lloh28:
	ldr	x8, [x8, __IPATH_HTLANE1_CRCBITS@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, __IPATH_HTLANE0_CRCBITS@GOTPAGE
Lloh31:
	ldr	x9, [x9, __IPATH_HTLANE0_CRCBITS@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, l_.str.6@PAGE
Lloh34:
	add	x10, x10, l_.str.6@PAGEOFF
Lloh35:
	adrp	x11, l_.str.5@PAGE
Lloh36:
	add	x11, x11, l_.str.5@PAGEOFF
	tst	w9, w22
	csel	x9, x11, x10, eq
Lloh37:
	adrp	x10, l_.str.4@PAGE
Lloh38:
	add	x10, x10, l_.str.4@PAGEOFF
	tst	w8, w22
	csel	x4, x10, x9, eq
	sxtw	x5, w22
Lloh39:
	adrp	x2, l_.str@PAGE
Lloh40:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #40
	mov	w1, #64
	bl	_snprintf
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x21
	bl	_strlcat
	ldp	x0, x8, [x20, #16]
	add	x1, x8, #4
	add	x2, sp, #36
	bl	_pci_read_config_word
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x20, #16]
Lloh41:
	adrp	x1, l_.str.7@PAGE
Lloh42:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_info
	b	LBB0_6
LBB0_3:
	sxtw	x8, w10
	str	x8, [sp]
Lloh43:
	adrp	x0, l_.str.15@PAGE
Lloh44:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_11
LBB0_4:
	ldr	w8, [sp, #36]
	tbnz	w8, #6, LBB0_6
; %bb.5:
Lloh45:
	adrp	x9, l_.str.9@PAGE
Lloh46:
	add	x9, x9, l_.str.9@PAGEOFF
Lloh47:
	adrp	x10, l_.str.10@PAGE
Lloh48:
	add	x10, x10, l_.str.10@PAGEOFF
	tst	w8, #0x700
	csel	x9, x10, x9, eq
Lloh49:
	adrp	x11, l_.str.11@PAGE
Lloh50:
	add	x11, x11, l_.str.11@PAGEOFF
	tst	w8, #0x10
	csel	x10, x10, x11, eq
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh51:
	adrp	x0, l_.str.8@PAGE
Lloh52:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_ipath_dbg
LBB0_6:
	ldp	x0, x8, [x20, #16]
	add	x1, x8, #8
	add	x2, sp, #32
	bl	_pci_read_config_word
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x0, [x20, #16]
Lloh53:
	adrp	x1, l_.str.12@PAGE
Lloh54:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_dev_info
	b	LBB0_10
LBB0_8:
	ldr	w8, [sp, #32]
	tbnz	w8, #6, LBB0_10
; %bb.9:
Lloh55:
	adrp	x9, l_.str.9@PAGE
Lloh56:
	add	x9, x9, l_.str.9@PAGEOFF
Lloh57:
	adrp	x10, l_.str.10@PAGE
Lloh58:
	add	x10, x10, l_.str.10@PAGEOFF
	tst	w8, #0x700
	csel	x9, x10, x9, eq
Lloh59:
	adrp	x11, l_.str.11@PAGE
Lloh60:
	add	x11, x11, l_.str.11@PAGEOFF
	tst	w8, #0x10
	csel	x10, x10, x11, eq
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh61:
	adrp	x0, l_.str.13@PAGE
Lloh62:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_ipath_dbg
LBB0_10:
	ldr	w8, [x20, #4]
	bic	w2, w8, w22
	str	w2, [x20, #4]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ipath_write_kreg
	str	x19, [sp]
Lloh63:
	adrp	x0, l_.str.14@PAGE
Lloh64:
	add	x0, x0, l_.str.14@PAGEOFF
LBB0_11:
	bl	_ipath_dbg
	ldur	x8, [x29, #-40]
Lloh65:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh66:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	__IPATH_HTLINK0_CRCBITS,4,2     ; @_IPATH_HTLINK0_CRCBITS
	.comm	__IPATH_HTLINK1_CRCBITS,4,2     ; @_IPATH_HTLINK1_CRCBITS
	.comm	_IPATH_8BIT_IN_HT0,4,2          ; @IPATH_8BIT_IN_HT0
	.comm	_infinipath_hwe_htclnkabyte1crcerr,4,2 ; @infinipath_hwe_htclnkabyte1crcerr
	.comm	_IPATH_8BIT_IN_HT1,4,2          ; @IPATH_8BIT_IN_HT1
	.comm	_infinipath_hwe_htclnkbbyte1crcerr,4,2 ; @infinipath_hwe_htclnkbbyte1crcerr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[HT%s lane %s CRC (%llx); powercycle to completely clear]"

l_.str.1:                               ; @.str.1
	.asciz	"0 (A)"

l_.str.2:                               ; @.str.2
	.asciz	"1 (B)"

l_.str.3:                               ; @.str.3
	.asciz	"0+1 (A+B)"

	.comm	__IPATH_HTLANE1_CRCBITS,4,2     ; @_IPATH_HTLANE1_CRCBITS
l_.str.4:                               ; @.str.4
	.asciz	"0"

	.comm	__IPATH_HTLANE0_CRCBITS,4,2     ; @_IPATH_HTLANE0_CRCBITS
l_.str.5:                               ; @.str.5
	.asciz	"1"

l_.str.6:                               ; @.str.6
	.asciz	"0+1"

l_.str.7:                               ; @.str.7
	.asciz	"Couldn't read linkctrl0 of slave/primary config block\n"

l_.str.8:                               ; @.str.8
	.asciz	"HT linkctrl0 0x%x%s%s\n"

l_.str.9:                               ; @.str.9
	.asciz	" CRC"

l_.str.10:                              ; @.str.10
	.space	1

l_.str.11:                              ; @.str.11
	.asciz	"linkfail"

l_.str.12:                              ; @.str.12
	.asciz	"Couldn't read linkctrl1 of slave/primary config block\n"

l_.str.13:                              ; @.str.13
	.asciz	"HT linkctrl1 0x%x%s%s\n"

l_.str.14:                              ; @.str.14
	.asciz	"HT crc errs: %s\n"

l_.str.15:                              ; @.str.15
	.asciz	"ignoring HT crc errors 0x%llx, not in use\n"

	.no_dead_strip	_hwerr_crcbits
.subsections_via_symbols
