	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_start_catas_poll          ## -- Begin function mlx4_start_catas_poll
	.p2align	4, 0x90
_mlx4_start_catas_poll:                 ## @mlx4_start_catas_poll
	.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, %r14
	callq	_mlx4_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_mlx4_is_mfunc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_internal_err_reset@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_2:
	movq	%rbx, %rdi
	addq	$24, %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	callq	_init_timer
	movq	$0, 16(%rbx)
	movl	(%r14), %edi
	movl	48(%rbx), %esi
	callq	_pci_resource_start
	movq	%rax, %r15
	addq	40(%rbx), %r15
	movl	32(%rbx), %esi
	shll	$2, %esi
	movq	%r15, %rdi
	callq	_ioremap
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, (%rbx)
	movq	_poll_catas@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_MLX4_CATAS_POLL_INTERVAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_round_jiffies
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx4_warn                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_internal_err_reset,8,3         ## @internal_err_reset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to map internal error buffer at 0x%llx\n"

	.comm	_poll_catas,4,2                 ## @poll_catas
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MLX4_CATAS_POLL_INTERVAL,8,3   ## @MLX4_CATAS_POLL_INTERVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_start_catas_poll          ; -- Begin function mlx4_start_catas_poll
	.p2align	2
_mlx4_start_catas_poll:                 ; @mlx4_start_catas_poll
	.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	x20, x0
	bl	_mlx4_priv
	mov	x19, x0
	mov	x0, x20
	bl	_mlx4_is_mfunc
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _internal_err_reset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _internal_err_reset@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
LBB0_2:
	add	x0, x19, #24
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_init_timer
	str	xzr, [x19, #16]
	ldr	w0, [x20]
	ldr	w1, [x19, #48]
	bl	_pci_resource_start
	ldr	x8, [x19, #40]
	add	x21, x8, x0
	ldr	w8, [x19, #32]
	lsl	w1, w8, #2
	mov	x0, x21
	bl	_ioremap
	str	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.3:
	str	x20, [x19]
Lloh3:
	adrp	x8, _poll_catas@GOTPAGE
Lloh4:
	ldr	x8, [x8, _poll_catas@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _jiffies@GOTPAGE
Lloh7:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
	str	w8, [x19, #12]
Lloh8:
	ldr	x8, [x9]
Lloh9:
	adrp	x9, _MLX4_CATAS_POLL_INTERVAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MLX4_CATAS_POLL_INTERVAL@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_round_jiffies
	str	w0, [x19, #8]
	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	_add_timer
LBB0_4:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	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	_mlx4_warn
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_internal_err_reset,8,3         ; @internal_err_reset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to map internal error buffer at 0x%llx\n"

	.comm	_poll_catas,4,2                 ; @poll_catas
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MLX4_CATAS_POLL_INTERVAL,8,3   ; @MLX4_CATAS_POLL_INTERVAL
.subsections_via_symbols
