	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipath_ht_xgxs_reset
_ipath_ht_xgxs_reset:                   ## @ipath_ht_xgxs_reset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	4(%rax), %esi
	callq	_ipath_read_kreg64
	movq	_INFINIPATH_XGXS_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%r14d, %r15d
	orl	%eax, %r15d
	notl	%r14d
	andl	%eax, %r14d
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	_INFINIPATH_C_LINKENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_ipath_write_kreg
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_ipath_write_kreg
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipath_read_kreg32
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_ipath_write_kreg
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipath_write_kreg               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINIPATH_XGXS_RESET,4,2      ## @INFINIPATH_XGXS_RESET
	.comm	_INFINIPATH_C_LINKENABLE,4,2    ## @INFINIPATH_C_LINKENABLE
	.no_dead_strip	_ipath_ht_xgxs_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipath_ht_xgxs_reset
_ipath_ht_xgxs_reset:                   ; @ipath_ht_xgxs_reset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w1, [x8, #4]
	bl	_ipath_read_kreg64
Lloh0:
	adrp	x8, _INFINIPATH_XGXS_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFINIPATH_XGXS_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w20, w8, w0
	bic	w21, w0, w8
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _INFINIPATH_C_LINKENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INFINIPATH_C_LINKENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bic	w2, w8, w9
	mov	x0, x19
	bl	_ipath_write_kreg
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	mov	x0, x19
	mov	x2, x20
	bl	_ipath_write_kreg
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_ipath_read_kreg32
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	mov	x0, x19
	mov	x2, x21
	bl	_ipath_write_kreg
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ipath_write_kreg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINIPATH_XGXS_RESET,4,2      ; @INFINIPATH_XGXS_RESET
	.comm	_INFINIPATH_C_LINKENABLE,4,2    ; @INFINIPATH_C_LINKENABLE
	.no_dead_strip	_ipath_ht_xgxs_reset
.subsections_via_symbols
