	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_update_clock_info_page
_mlx5_update_clock_info_page:           ## @mlx5_update_clock_info_page
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	%rbx, %rdi
	callq	_smp_load_acquire
	movl	%eax, %r15d
	movl	(%rbx), %edi
	movq	_MLX5_IB_CLOCK_INFO_KERNEL_UPDATING@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	orl	%eax, %esi
	callq	_smp_store_mb
	movdqu	(%r14), %xmm0
	pshufd	$180, %xmm0, %xmm0              ## xmm0 = xmm0[0,1,3,2]
	movdqu	%xmm0, 4(%rbx)
	movl	(%r12), %eax
	leal	(%r15,%rax,2), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smp_store_release              ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_IB_CLOCK_INFO_KERNEL_UPDATING,4,2 ## @MLX5_IB_CLOCK_INFO_KERNEL_UPDATING
	.no_dead_strip	_mlx5_update_clock_info_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_update_clock_info_page
_mlx5_update_clock_info_page:           ; @mlx5_update_clock_info_page
	.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
	ldr	x19, [x0, #16]
	cbz	x19, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_smp_load_acquire
	mov	x21, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x22, _MLX5_IB_CLOCK_INFO_KERNEL_UPDATING@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MLX5_IB_CLOCK_INFO_KERNEL_UPDATING@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w1, w8, w21
	bl	_smp_store_mb
	ldr	q0, [x20]
	mov.16b	v1, v0
	mov.s	v1[2], v0[3]
	mov.s	v1[3], v0[2]
	stur	q1, [x19, #4]
	ldr	w8, [x22]
	add	w1, w21, w8, lsl #1
	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	_smp_store_release
LBB0_2:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_IB_CLOCK_INFO_KERNEL_UPDATING,4,2 ; @MLX5_IB_CLOCK_INFO_KERNEL_UPDATING
	.no_dead_strip	_mlx5_update_clock_info_page
.subsections_via_symbols
