	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poll_catas
_poll_catas:                            ## @poll_catas
	.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	_catas_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r14
	movq	%rax, %rbx
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_mlx4_is_slave
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	16(%r14), %rdi
	callq	_readl
	movq	%rax, %rdi
	callq	_swab32
	movl	%eax, %edi
	callq	_mlx4_comm_internal_err
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	movq	8(%r14), %rdi
	callq	_readl
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_dump_err_buf
	jmp	LBB0_6
LBB0_8:
	movq	(%rbx), %rax
	movq	_MLX4_DEVICE_STATE_INTERNAL_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movq	%rbx, %rdi
	callq	_mlx4_warn
LBB0_6:
	movq	_mlx4_internal_err_reset@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.7:
	movq	(%rbx), %rsi
	movl	8(%rsi), %edi
	addq	$4, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_MLX4_CATAS_POLL_INTERVAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_round_jiffies
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_catas_err,4,2                  ## @catas_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Internal error detected on the communication channel\n"

	.comm	_MLX4_DEVICE_STATE_INTERNAL_ERROR,4,2 ## @MLX4_DEVICE_STATE_INTERNAL_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Internal error mark was detected on device\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MLX4_CATAS_POLL_INTERVAL,8,3   ## @MLX4_CATAS_POLL_INTERVAL
	.comm	_mlx4_internal_err_reset,8,3    ## @mlx4_internal_err_reset
	.comm	_priv,8,3                       ## @priv
	.no_dead_strip	_poll_catas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poll_catas
_poll_catas:                            ; @poll_catas
	.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
Lloh0:
	adrp	x8, _catas_err@GOTPAGE
Lloh1:
	ldr	x8, [x8, _catas_err@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x20, x0
	add	x19, x0, #24
	mov	x0, x19
	bl	_mlx4_is_slave
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x20, #16]
	bl	_readl
	bl	_swab32
	bl	_mlx4_comm_internal_err
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_3:
	ldr	x0, [x20, #8]
	bl	_readl
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_dump_err_buf
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _MLX4_DEVICE_STATE_INTERNAL_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MLX4_DEVICE_STATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.6:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_mlx4_warn
LBB0_8:
Lloh10:
	adrp	x8, _mlx4_internal_err_reset@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mlx4_internal_err_reset@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	add	x1, x8, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_work
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _MLX4_CATAS_POLL_INTERVAL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MLX4_CATAS_POLL_INTERVAL@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_round_jiffies
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_catas_err,4,2                  ; @catas_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Internal error detected on the communication channel\n"

	.comm	_MLX4_DEVICE_STATE_INTERNAL_ERROR,4,2 ; @MLX4_DEVICE_STATE_INTERNAL_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Internal error mark was detected on device\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MLX4_CATAS_POLL_INTERVAL,8,3   ; @MLX4_CATAS_POLL_INTERVAL
	.comm	_mlx4_internal_err_reset,8,3    ; @mlx4_internal_err_reset
	.comm	_priv,8,3                       ; @priv
	.no_dead_strip	_poll_catas
.subsections_via_symbols
